Commit Graph

121 Commits

Author SHA1 Message Date
Spoike 873f0a8134 Fix various warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4353 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-11 05:03:07 +00:00
Spoike ec6a6dcd8b Attempt to determine where we're being run from on linux as we do in windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4327 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-05-04 04:02:25 +00:00
Spoike 53f8676f83 needed for macos, apparently. there's still a bug elsewhere.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4307 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-04-09 00:19:13 +00:00
Spoike 993d25620e git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4277 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-03-31 05:00:53 +00:00
Spoike 7c607a9092 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4274 fc73d0e0-1445-4013-8a0c-d673dee63da5 2013-03-31 04:30:56 +00:00
Spoike e484b80d26 ------------------------------------------------------------------------
r4220 | acceptthis | 2013-02-21 08:58:36 +0000 (Thu, 21 Feb 2013) | 1 line

Link against libX11 dynamically.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4217 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:04:11 +00:00
Spoike 6567fe92dd ------------------------------------------------------------------------
r4219 | acceptthis | 2013-02-21 04:54:35 +0000 (Thu, 21 Feb 2013) | 1 line

npapi support on linux too.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4216 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 23:03:46 +00:00
Spoike 0ecf71adaf ------------------------------------------------------------------------
r4189 | acceptthis | 2013-02-05 12:54:29 +0000 (Tue, 05 Feb 2013) | 1 line

clipboard, icon, fullscreen support for glx. Numerous fixes for compile-time warnings.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4187 fc73d0e0-1445-4013-8a0c-d673dee63da5
2013-03-12 22:47:42 +00:00
Spoike d248ce223f added support for persistent particle effects in hexen2.
tweaked shutdown of sql to not make sql unusable after 'disconnect' on a listen server, fixed a couple of mem leaks.
audio no longer starts up twice in windows.
removed specular permutation. its either globally active or globally inactive.
Use oblique near-plane clipping instead of a clipplane, fixing our rtlighting+water warping.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-11-29 13:37:48 +00:00
Spoike 670dadcecf don't show link gibberish on stdout
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4127 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-14 10:53:50 +00:00
Spoike 118587329c Burkelium 64bit fixes, and related linux workarounds.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4118 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 05:10:14 +00:00
Spoike e70af9bb9e Make shared object errors more debuggable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4114 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-10-08 01:30:41 +00:00
Spoike 2c7220af2e bizzare...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-07-14 16:36:19 +00:00
Spoike 25ef3f02db Couple of bugs fixed - other-player prediction, net_preparse crashes, q2 gamecode no longer crashes.
Throttle getstatus requests (so we don't end up being used for udp escilation (d)dos attacks so usefully/expensively).
Added cl_predict_players_frac. vanilla QW effectively had a hardcoded value of 0.5.
Added simple fps preset menu, which keeps on appearing until they actually pick one. mwahaha.
Quit menu offers to save settings if some CVAR_ARCHIVE cvar was changed.
alias models do vertex blending on the gpu.
GL renderer now uses vao when available.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-04-24 07:59:11 +00:00
Spoike 770948a320 d3d compiles again (yes, your poking does work Moodles).
Fixed particle beam/torch weirdness (rjlan poked me for this one!).
tiny optimisation in the gl renderer.
offsetmapping info is loaded even with bumpmapping disabled.
Fixed some hexen2 annoyances.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2012-01-21 07:53:49 +00:00
Spoike 5118de8bdd committing for fixes for OMC
some minor changes. Mostly bug fixes and internal reorganisation.
Added code to provide an activex control as part of the npfte.dll plugin. If the dll is registered the regsvr32 way, the plugin can be used with IE as well.
fisheye/panoramic view enable is now controlled by rulesets instead of serverinfo.
server will list all pak files it has loaded. client will probably do the wrong thing and still needs fixing properly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-10-27 15:46:36 +00:00
Spoike 604576ae18 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3891 fc73d0e0-1445-4013-8a0c-d673dee63da5 2011-07-31 11:18:49 +00:00
TimeServ 7f1db63765 remove defunct splash screen code, add cl_idlefps to reduce cpu usage in "idle" situations
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3845 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-06 01:01:13 +00:00
TimeServ 4a59ea5993 make threaded physics/input/whatever use generic mutex calls, fix up multithread calls and add sleep func
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3844 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-03 16:24:53 +00:00
Lance f870305702 Removed -rdynamic from MinGW targets, others are compile fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3842 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-07-01 07:27:38 +00:00
Spoike 61e4aa96b3 removed separate trigger/solid links.
some q3 fixes.
q2 will autosave on map changes, like q2 normally does.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3839 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-29 18:39:11 +00:00
Lance 21860bd9dc Fixed more GCC warnings, alot of 64bit portability things mostly. Minor PNG header fix. Changed instances of errno to strerror(errno).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3805 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-06-01 13:21:54 +00:00
TimeServ 8464020053 remove gl_lightmap_shift, fix shader to match gl_overbright, es2/egl fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3804 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-30 21:48:32 +00:00
Lance 4b93855ff8 Handling of return values of filesystem functions (fread, write etc) by printing to console when the return value isn't equal to size of the data being read/written
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3801 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-30 04:32:04 +00:00
Lance 0e078381b3 Fixed incorrect pointer types, and some other warning types for GCC and MinGW
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3788 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-19 13:34:07 +00:00
Lance f6741d8dde My attempt at handling GCC warnings, everything but incorrect pointer types, #pragma warnings, " is deprecated etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3787 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-05-15 13:23:13 +00:00
Spoike 93aba48cdc TA couple of fixes.
Meshes now have the right lighting if they were cached before rendering.
npFTE startup/shutdown/restartup is more robust and is less likely to crash browsers.
Re-added the r_shadows cvar. It now provides blob shadows.
Hopefully fixes mingw voip crash, may need mingw upgrade, sorry in advance moodles.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3784 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-04-30 17:21:10 +00:00
TimeServ 85fc11e682 trash assembly, old d3d renderers (d3d7/d3d9/fakegl), projects and makefile broken in this commit
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3742 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-03-03 12:57:34 +00:00
Spoike 4fb854e261 Fix a couple of things I noticed while playing in linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3727 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-29 19:53:38 +00:00
TimeServ f21c352fb4 code cleanup
fix no dga on linux

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2011-01-27 01:34:08 +00:00
Spoike 609dbda629 err, forgot to save those.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3683 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-12-05 02:52:41 +00:00
Spoike e7ec40d0c8 Trying to fix some leaks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3547 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-12 22:46:37 +00:00
Spoike 0b1e3020d3 Trying to kill a few warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3542 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 10:53:13 +00:00
Spoike 1e1084bed7 Changes merged from trunk. Also additional extensive changes. Q3 portals work.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3541 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-07-11 02:22:39 +00:00
Spoike e6f90bea14 Tweeks to the d3d renderer. Supports various shader features now. Other changes/fixes/breakages also.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3531 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-05-01 22:47:47 +00:00
Mark Olsen 8901f51133 Fixed Sys_EnumerateFiles(): Doesn't treat directories as files anymore and actually manages to figure out file sizes now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3494 fc73d0e0-1445-4013-8a0c-d673dee63da5
2010-01-11 18:15:42 +00:00
Spoike 4c37c34c13 Fixed some stuff. Cygwin stuff compiles now, so maybe linux will too. I've not tested it though cos cygwin uses software gl rendering, and I'm impatient. Also boosted NUM_SPAWN_PARMS a little, so saved games will break.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3408 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-11-05 03:07:52 +00:00
Spoike 0eb7e83965 Stuff should compile a little better with GCC now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3150 fc73d0e0-1445-4013-8a0c-d673dee63da5
2009-04-02 22:25:54 +00:00
Mark Olsen 308962afa9 Since this code doesn't even compile, I guess it is fair to assume that it hasn't been tested o:)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3055 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-11 12:20:46 +00:00
Spoike e8c6d25fe1 Should compile now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3054 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-11 10:09:41 +00:00
Spoike dce284811e Minor update...
Q3 clients can connect to q1 gamecode (sv_listen_q3).
hacked support for SendFlags. It'll work compatibly, just not efficiently.
Unified shared qc builtins.
fteqcc supports int |= float, more params in macros, &~= operator.
Additional recent DP QC extensions.
Particle system abstraction. 'r_particlesystem classic' (vs null or script) will revert to truly classic particles.
Nexuiz might run again.
Network address revamp (sv_port and sv_port_ipv6 can both be used to specify an ipv4 address:port and both corrently accept clients). localhost now properly favours ipv4 (use ::1 for ipv6 localhost).
Download system revamp.
Numerous other changes.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3051 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-09 22:29:28 +00:00
TimeServ a631205fe7 added conditional variables for win/linux/sdl, switched sql thread worker to conditional to avoid busy looping, corrected a spikeism
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2991 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 05:42:23 +00:00
TimeServ 16caf0e1da added another thread call and fixed up some thread creation logic
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2834 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 20:05:49 +00:00
TimeServ a6617581c8 thread creation/mutex stubs, code is probably wrong but everything is surronded by #define MULTITHREAD so shouldn't break anything
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2831 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 00:09:34 +00:00
Molgrum 47c305e852 Stripped the X11 header out from the Mac OS X target.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2750 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-19 18:31:23 +00:00
Spoike e59d02ed52 We now have a really crappy gl renderer for macosx.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2689 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 22:00:19 +00:00
Spoike 0a682a76d6 Resolved conflicts with macosx header files
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2671 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-22 19:28:27 +00:00
Spoike dcec305bd9 Fixed Ogg support a bit. Enhanced DarkPlaces/Nuxuiz compatability. Fixed a couple other minor bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2519 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-06-20 00:02:54 +00:00
Mark Olsen 90767354c4 Can now load Quake 2 game files from an absolute path.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2467 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-01-18 23:17:31 +00:00
TimeServ d2584c26b9 fix buffer overruns in file enumeration
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2290 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-19 19:15:52 +00:00
Mark Olsen d593604177 Typo, I swear\!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2238 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 06:13:11 +00:00
TimeServ c18c51b7f6 attempting to fix SysGameAPI
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2237 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 03:30:21 +00:00
Mark Olsen 047500f9ad Quake 2 game code support for Linux.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2236 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-05-02 00:56:30 +00:00
TimeServ 571ea11411 fix Linux build
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2209 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:44:10 +00:00
TimeServ ceafd30644 vid_width/vid_height/vid_bpp 0 will use default desktop settings, added vid_desktopsettings which uses default width/height/bpp/refresh rate, command line -current maps to vid_desktopsettings 1
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2208 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-04-15 03:31:23 +00:00
Spoike 6551885f92 Attempting to fix daemon issues.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2126 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-17 22:44:17 +00:00
Spoike aeea639fc2 Filename security paranoia. Added a glsl extension to the shader system. using serverinfo, you can enable shaders without cheats now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-03-11 03:12:10 +00:00
Mark Olsen e360dc0fa6 Blind fix. but it couldn't have worked before anyway. Sys_Milliseconds should now return something reasonable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-12 23:55:40 +00:00
Spoike 1730d4dc81 This is fun.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2006-02-01 22:36:12 +00:00
TimeServ 87d4c83abe logging now shuts off after a bad write
colormapping made more generic (more with that later)
small stat fix


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1663 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-12-05 16:47:29 +00:00
Spoike 9355c7dda5 makeconfig.sh - the shell script that generates config.h either automagically or through prompts, use it through make
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1586 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-26 03:02:55 +00:00
Spoike f0e4a06704 Tweeked a warning message to be more helpful (and less concerning to the user).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1557 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-11-03 23:49:00 +00:00
Mark Olsen 9350d79073 Fix for client only build.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1234 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-19 14:05:33 +00:00
Mark Olsen 5e3d74c8f9 Removed unused cachedir variable.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1193 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-03 21:48:18 +00:00
Mark Olsen 84c13a9a5b And another dead function removed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1186 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 15:17:10 +00:00
Mark Olsen 7bdacbbaa3 Cleanup, removal of dead code, cosmetics, etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1185 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-08-01 15:08:05 +00:00
Spoike d1d52a49ac sw client builds and runs now
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-04-18 03:21:16 +00:00
Spoike 7e1ab9e29b *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2005-03-20 02:57:11 +00:00
Spoike 4b0395e079 Lots of stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@684 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-12-24 08:45:56 +00:00
Spoike ef7540eb41 fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@168 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 19:07:37 +00:00
Spoike 8b9eb9f5f8 Files needed for linux to compile properly.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@156 fc73d0e0-1445-4013-8a0c-d673dee63da5
2004-09-07 18:18:02 +00:00