Commit Graph

2736 Commits

Author SHA1 Message Date
Spoike 1b1f67bbfb Revamped FTE's skeletal animation system to support basebone/baseframe/baseframe2/etc on hierarchical skeletal models (eg: zym/dpm/md5anim).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3079 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:09:02 +00:00
Spoike bab14ec1af Fixed ftesv's PEXT_MODELDBL support. It'll work in ezquake again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3078 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:05:14 +00:00
Spoike bf63418315 Fixed a potential crash on SV_Error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3077 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 23:04:15 +00:00
Spoike 1456ed1ac7 Actually close sockets. It helps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3076 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-02 21:54:10 +00:00
Spoike 41da9e4655 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3075 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:56:32 +00:00
Mark Olsen b14d99fd6a Attempt to unbreak systems without IPv6.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3074 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-12-01 02:10:35 +00:00
Spoike e4c9d744a8 Why do I still have commit access?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3073 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-30 05:31:16 +00:00
Spoike bf53bd5577 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3072 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-29 16:15:04 +00:00
Spoike 6fb100e8b5 more stuff broken
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3071 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-28 20:34:51 +00:00
Lance c020463677 Fixed the MingW32 crosscompile to use i586-mingw32msvc-strip instead of
the native strip program


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3070 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-18 03:20:10 +00:00
Mark Olsen 178b178f36 s/strupr/strtoupper/g s/strlwr/strtolower/g
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3069 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-18 03:10:48 +00:00
Mark Olsen 311a71ecf8 Also build pr_bgcmd.o
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3068 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-15 02:12:55 +00:00
Mark Olsen 6c17a4a7f0 Implemented two Microsoft-functions.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3067 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:36:46 +00:00
Mark Olsen 71ade84614 Empty enums are boring.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3066 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 20:32:28 +00:00
Mark Olsen 7c4d2a2309 Added #error for invalid C code that SMVC happily compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3065 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:50:45 +00:00
Mark Olsen b7a5f90f8a Subtracting pointers of different types isn't valid C. Boo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3064 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:49:26 +00:00
Mark Olsen dee0c9d6cf Protect against multiple inclusion.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3063 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:48:23 +00:00
Mark Olsen eda9cfded4 Added #error for invalid C code that SMVC happily compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3062 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:46:30 +00:00
Mark Olsen fc60c486e8 Marked CL_CheckModelResources() as static. Prototyped the function to make compilation of broken code fail on SMVC too.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3061 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-14 16:43:28 +00:00
Spoike 1a8690e104 IPX only if ipx is supported by the system.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3060 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 08:55:41 +00:00
Mark Olsen a6e7171f30 A bit closer to actually compiling.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3059 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-13 05:39:50 +00:00
Lance 41a92be8b2 Defined GL_BGRA_EXT so morphos and macosx crosscompilers can do the OpenGL targets again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3058 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 12:05:29 +00:00
Spoike c41148705c nexuiz support: menu cvar_defstring = #89
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3057 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 04:23:13 +00:00
Spoike 498173e878 It has come to light that I suck. This incorporates the fixes already made to sys_linux since my huge commit. Again, these have not been tested. But they are more likely to work properly... As in the syntax errors are fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3056 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-11-12 04:19:22 +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
Spoike bf8eed727e Reject double dots in macro names (fred.4 is allowed but fred..4 is not). This allows Hexen2 code to compile again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3050 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-30 11:10:58 +00:00
Spoike 98ce1d689d Fixed fullspawndata.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3049 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-23 20:56:15 +00:00
Spoike 819d541362 local float blob = someformula; works now.
added support for -TDP (and #pragma TARGET DP). It is identical to -TFTE except for the instructions used. To be used with Blub's patch when he commits it for DP. It should allow more, this is a first-version.
#if defined(A) && defined(B) will also work as expected. Careful with nesting however, as complex formulas will not. Please use only a single operator.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3047 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-16 23:04:36 +00:00
Spoike 99c6152b4e Support for DP_SV_SPAWNFUNC_PREFIX in the .ent/bspent loader thingie. I'll add the extension name when I get around to fixing up and committing that chunk of code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3044 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-13 09:25:51 +00:00
Spoike 0629d013b5 Fixed bug causing parameter conflict in statements like func(array[idx], func2(blah))
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3043 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-13 09:17:47 +00:00
Spoike 600f27876c Fixed Z_FreeTags. Yes. Really.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3042 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-08 19:18:12 +00:00
Spoike 9f5fb267c3 Makes nexuiz's csqc work ever so slightly better (pics with size 0*0 now mean to draw at the natural size, instead of 64*64...).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3039 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:58:22 +00:00
Spoike a44068f9b4 Slightly better handling of .qtv files.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3038 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:56:11 +00:00
Spoike 0a4c047eec Greater internal control over which variables are saved. Fixed a bug regarding temps and array references, which a couple of the nexuiz people found but didn't report (personally I found it was needed to be able to fire, but whatever).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3037 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:55:01 +00:00
Spoike 880a70837c DP_SV_SPAWNFUNC_PREFIX support
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3036 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-10-05 02:51:41 +00:00
Mark Olsen b7fd77c403 Blind, untested fix of Z_FreeTags().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3035 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-18 18:25:39 +00:00
Molgrum c932cfbfab Add include paths and symbols to fix syntax error in Eclipse.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3034 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-12 00:22:22 +00:00
Mark Olsen 2540c0bf74 Fixed Z_TagMalloc() to correctly link the double-linked list. Fixed Z_TagFree() to correctly unlink entries from the tree. Fixes various crashes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3033 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-12 00:17:32 +00:00
TimeServ fcbfb0e22c change registry entry for win32 dedicated for future use
misc sound fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3032 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-11 03:39:34 +00:00
Mark Olsen 704fb438c9 Another SNAFU fixed. This should be the end of superbloated entity updates.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3031 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 13:11:46 +00:00
Mark Olsen 0159d7a211 Spike, you suck. Always diff before commit :/. Delta updates are there for a reason.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3030 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-09-10 08:56:03 +00:00
Mark Olsen 24e178bc37 Buffer overflows are bad for you, m'kay?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3029 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-23 19:17:19 +00:00
TimeServ 828b3e99ab fix a few casting issues allowing maps such as warpa, etc. to load (probably not done here)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3028 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-08-06 12:11:27 +00:00
Spoike 8af647d7d4 Blub\0's latest patch. This one fixes up for arguments.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3027 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-27 02:48:59 +00:00
Spoike 7c6f37c4ae Yes Blub, I suck.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3026 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-17 07:41:59 +00:00
Spoike c29cf3db99 Framerate will be more stable when picking up items/getting shot/etc.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3025 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-16 00:19:33 +00:00
Spoike 887a278bce patch from Blub\0 to fix issues with compiling:
b = min(a, b);
with -TFTE active.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3024 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-10 20:38:17 +00:00
Molgrum 603e2677f5 Well why not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3022 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-08 18:55:48 +00:00
Spoike 9741aacb98 Fix a crash which qqshka reported, and fixed up some C style.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3021 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-07-07 20:39:21 +00:00
Molgrum 8278f53e15 Patch from Spike, change droptofloor() to take entity number as argument instead to comply with QVM mods.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3020 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-29 11:17:46 +00:00
Molgrum eec8fcb78b Add G_MOVETOGOAL builtin for KTX.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3019 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-27 20:26:33 +00:00
TimeServ d1a489d83f don't do cl_netfps stuff twice in sendcmd
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3014 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-22 11:30:16 +00:00
Molgrum b115f8998b Don't change the viewheight when the player is dead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3013 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-20 21:44:10 +00:00
TimeServ e33bd0bff1 dynamically load CheckTokenMembership
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3012 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 07:24:11 +00:00
TimeServ 51989fe5f6 added better home dir detect with windows, use home dir by default on unix and Vista+, with 2000/XP/2003 use home dir by default when on a network or not an administrator
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3011 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 05:03:54 +00:00
TimeServ 5ddfd68b11 q2 workaround
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3010 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-13 02:26:08 +00:00
TimeServ 0adc1e1054 clear colorshifts on disconnect, don't decrease cshifts on gamma change, fix warning
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3009 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 23:19:47 +00:00
TimeServ 01d05dc3b6 forgot #ifdef Q2CLIENT around q2 stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3008 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 20:49:42 +00:00
TimeServ 3a7d339c38 new cvar cl_sparemsec (you shouldn't have to mess with this really), modified the sendcmd logic so cl_netfps works better and remote connections are a bit more efficient
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3007 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-12 20:47:13 +00:00
TimeServ 9cf2db123c added persistant queries (UNTESTED), changed sqlopenquery call, added sqlreadfloat, fixed deallocs, self/other is stored on openquery call and is checked against a spawnid on callback call (reset to world when check fails), preliminary add FTE_ENT_UNIQUESPAWNID
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3006 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-11 16:04:14 +00:00
Molgrum d73b9c0735 Minimal client compiles.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3005 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:46:58 +00:00
Molgrum 62657c2494 Reset the buffers before strlen is used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3004 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:41:22 +00:00
Molgrum 6602ffed84 Attempt to make use of 'len' in NET_AdrToString.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3003 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 20:20:11 +00:00
Molgrum 33140dbf24 Ruleset expanded with ruleset_allow_localvolume. Set to 0 in 'nqr' and 'strict'. Made NET_AdrToString return a non-static pointer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3002 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-08 14:37:57 +00:00
Mark Olsen f15fc6fefd Build... Even if you don't have SQL defined.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3001 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-06 21:27:04 +00:00
Spoike 751e3df851 Added colourise command. 'colourise playername top.bot skin' where top/bot can be xf00 for red, xf00000 for slightly less red, off to disable forcing (for that part, eg: x0f0.off to force only top), or a regular number between 0 and 14 for regular skin colour ranges. Will not persist through configs. If .bot is not present, top is used for bot. Only works on team members.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3000 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-05 07:45:34 +00:00
TimeServ f0b6bf19d3 commands sqlstatus, sqlkill, sqlkillall added; cvars sql_driver, sql_host, sql_username, sql_password, sql_defaultdb added; sqlconnect params changed to (string host, string user, string pass, string db, string driver) with all params optional; code works with these cvars when params omitted or "" but we only have one driver (mysql)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2998 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-04 20:48:28 +00:00
Molgrum 6e1e9a6438 Typo.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2997 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-04 19:02:54 +00:00
Spoike 5b1679ad85 Molgrum doesn't like bgr, even though x86 display hardware uses it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2996 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-03 22:16:39 +00:00
TimeServ 8761bb1485 fix sql init/deinit, add broadcast to force sql thread termination
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2995 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-02 23:13:03 +00:00
Molgrum afb7e76967 It comiples in Linux, thanks to Spike for the break&fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2994 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-02 18:36:52 +00:00
TimeServ 5c65851fb7 fix merged build (d3d color references, renderinfo fixes)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2993 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 22:34:19 +00:00
Spoike 519983dee2 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2992 fc73d0e0-1445-4013-8a0c-d673dee63da5 2008-06-01 22:06:22 +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
Molgrum 5d64f13a18 Double precision for gameclock.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2990 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-06-01 02:42:18 +00:00
Spoike 94d108c522 Fixed up qc stat field submission.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2989 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-31 10:35:38 +00:00
Spoike f63468f1d7 Stat strings will actually be received properly now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2988 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-31 10:33:03 +00:00
Spoike eafb021179 Fix up scoreboard entry times.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2987 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-31 10:31:47 +00:00
Molgrum 69a32e88de Stop RealIP-checks when realip_status has reached sv_getrealip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2986 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-30 21:38:02 +00:00
Spoike 0e754dea0f k, next time I might test it.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2985 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-27 20:08:21 +00:00
Spoike 89a4f03160 Tweeked the realip stuff to tolerate ezquake. Added new cvar, sv_realip_kick. should be set to no greater than sv_getrealip. sv_getrealip 1 is mvdsv-level security, 2 ensures that there is a quakeworld client at that ip, while 3 ensures that its the actual client that its meant to be. Note that only FTE supports 3 and ezquake/fuhquake don't even support 2 (while mqwcl does). The higher the value, the higher the certainty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2984 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-27 18:59:07 +00:00
Spoike 0479526cfe okay, guaranteed no collisions on realip challenges.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2983 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 21:58:26 +00:00
Spoike 4afc4aa4e6 Randomized the realip challenge.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2982 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 21:51:19 +00:00
Spoike 594c81c3b5 Fixed voting to not crash the server when votes time out. Whoops.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2981 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 21:50:11 +00:00
Spoike 9b33803764 Fixed challenged acks.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2980 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 21:04:42 +00:00
Molgrum 250d6ffeb8 Enable logging of realip.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2979 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 20:22:47 +00:00
Spoike af47e57535 Fixed a typo, sv_realiphostname_ipv6 should now exist.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2978 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-26 19:34:03 +00:00
Spoike 654eabc4c2 Reworked stats for csqc to match LH's suggestion. CSQC can read the 'delta' entities (experimental). Fixed up sv_getrealip, made banning work based on realip too. Added a ban command to easily ban a single client. Renamed some svcs for clarification. Added pvsflags to ssqc for greater control over how ents are sent to csqc. Broke some stuff.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2977 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:23:43 +00:00
Spoike 40952dabf4 Let q2bsps work again when they're lacking textures.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2976 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 22:08:29 +00:00
Spoike 3bf676b1bb Improvements for using FTE as a Q2 client. Helps connecting to r1q2 servers (tastyspleen being an example).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2969 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:17:16 +00:00
Spoike 548256dbc5 Was gonna try fixing the 64-bit stuff myself, but mneh. Small coding style improvement (well, more consistent with the rest of the engine anyway).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2968 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:15:49 +00:00
Spoike 413ef694cd Fixed a typo or something in the download menu.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2967 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:14:17 +00:00
Spoike 1678c4feb6 Adds support for ipv6 on windows platforms that support it, even if the compiler (msvc6) does not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2966 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:11:20 +00:00
Spoike 3c31702ffe Not sure why I did this, but it looks pretty at least.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2965 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:08:54 +00:00
Spoike f6d3e4ed94 Fixed up ipv6 support a little. Addresses are more readable. Allows clients to connect. :P
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2964 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:07:53 +00:00
Spoike 073a9b9056 fs_cache works properly again now.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2963 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-25 01:06:37 +00:00
Molgrum 3ddb5e5dc5 Make it compile on Windows.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2962 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-24 20:04:38 +00:00
Molgrum 43e55824ba Fix for LG beams end position not being stored when spectating with cl_truelightning.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2961 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-17 16:11:42 +00:00
Molgrum 61ee26d0ff Fix an uninitialised value.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2960 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-16 23:28:47 +00:00
TimeServ a61d819f68 fix hash table inits, fix shader inits
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2959 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 18:06:58 +00:00
TimeServ 73f580157f fix malloc call, fix memset typo in qclib
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2958 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 17:27:57 +00:00
Molgrum 35e951976f Fix for TimeServ's recent codebreak, I have no idea if he meant this but it works for me.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2957 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 14:55:25 +00:00
Molgrum 533b470bc0 This has been tested enough by now to get uncommented.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2956 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-14 14:46:58 +00:00
Molgrum c4b17eb23a Enable DGA support by default (override with -nodga or -nomdga)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2955 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-13 12:03:52 +00:00
Molgrum 55071c68e4 Implemented DGA-code similar to Fuhquake, works much better.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2954 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-13 11:16:20 +00:00
TimeServ 0a03e2bc3b ogg vorbis streams resample change (they don't crash, although 22100->48000 sounds horrible due to problems)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2953 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-11 14:38:19 +00:00
TimeServ 0739c739a6 BZ_* no longer clears, qclib no longer assumes memalloc clears
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2952 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-11 12:55:53 +00:00
TimeServ ce5cb75832 this commit will most likely break things: main Z_*/BZ_* calls no longer have zone logic, tagged allocs redone and now partially thread safe (still Sys_Error), code using reallocs should no longer assume new memory is zeroed, minor mysql fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2951 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-09 14:22:37 +00:00
Mark Olsen 74c6f76f50 More bounds checking.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2950 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-01 12:24:20 +00:00
Molgrum 9bda9e9fc1 Don't crash on invalid input in the Microsoft Wave reader. /bigfoot
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2949 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-05-01 11:59:22 +00:00
Molgrum 5852614cf5 Messed up previous commit...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2948 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-29 22:14:16 +00:00
Molgrum dfb02eebbf Scan for alternative libasound filenames. http://www.quakeworld.nu/forum/viewtopic.php?pid=37690#p37690
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2947 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-29 22:11:17 +00:00
Molgrum 7235d9f9fc Patch by Bigfoot: spike sucks donkey balls
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2946 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-28 16:14:02 +00:00
Molgrum 3b1faa4f67 testing, never mind this
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2945 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-27 10:23:37 +00:00
Molgrum 7f5d70c089 does it work?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2944 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-27 10:22:40 +00:00
TimeServ cd0171d73e fix sqlescape, sqlopenquery changed so parameters 3+ can be concatenated for final query string
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2943 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-17 19:16:21 +00:00
TimeServ 9e7a43c96c SQL: sqlreadfield with a negative row returns field name, server request/result stacks changed to queues, query references numbers limited to +/-50000, proper library init/end calls, sqlversion call
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2942 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-15 00:29:17 +00:00
TimeServ 7f73771ba2 mysql includes and libmysql.dll loader code for win32
added preliminary FTE_SQL code (not in a usable state), current problems: 
WINDOWS ONLY, database connect is hardcoded to a local server, conditional wait needed for worker thread (currently consumes 100% cpu), query requests and results should be a queue not a stack, sql init and deinit is in the wrong place, project and defines need updating, tons more things

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2941 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-14 07:47:30 +00:00
TimeServ 1673ca7a7a PROTOCOL_VERSION to PROTOCOL_VERSION_QW to resolve a future header conflict
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2940 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-04-12 23:24:19 +00:00
Molgrum ece33d0b2a Debug printout.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2939 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-29 07:10:21 +00:00
Spoike 3fa986dd55 Requote strings that must have been quoted originally.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2938 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-14 11:52:09 +00:00
Spoike f82d20e078 Implemented fromwad in precache_pic as per csqc specification.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2937 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-11 13:36:18 +00:00
Molgrum 85c12e3a9c Bugfix, found by qqshka.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2936 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-10 15:24:25 +00:00
Spoike 9a59674c19 helps if we clear the right buffer. This is clearly pointless as it took so long to be noticed, but lets do it anyway.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2935 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-03-02 10:20:25 +00:00
Molgrum c1f86620db Backpacks are visible again, now let's throw lots of eggs at Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2934 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-24 19:20:51 +00:00
Molgrum caf84feda8 Fix to the previous commit: Also toggle the console if it's down
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2933 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-23 09:52:55 +00:00
Molgrum f312748879 Close the menu when a demo is selected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2932 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-22 22:57:28 +00:00
Molgrum a066b43bf9 show_*_* < 0 now works.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2931 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-22 22:43:34 +00:00
Spoike b134fd9e65 Cleaned up the bloom code a little, fixed bloom so view2/splitscreen doesn't cause the main view to get a double dose, by pulling the pixel offsets from outside rather than recalculating them (thus no longer wrongly assuming a full screen). Made the code slightly more readable - no more ugly braces!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2930 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-21 03:19:46 +00:00
Spoike 9060465c0e Fixed r_shadows 1 on nvidia hardware, and a little paranoia.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2929 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-21 03:13:59 +00:00
Lance 0ab09daa6e Fix to plugin system and image loading, Space Invaders plugin works
again.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2928 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-19 12:36:51 +00:00
Spoike 7b8e20d0ae Fixes the black lines bug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2927 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-16 15:57:46 +00:00
Spoike 794ac6d3d3 Don't leave the mouse grabbed if the video mode failed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2926 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-16 03:41:15 +00:00
Spoike 333339782b The renderer code actually listens to the video code failing again.
Also added an extra attempt to try 640*480 before giving up and reverting to console.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2925 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-16 03:40:32 +00:00
Mark Olsen e136f38f63 Newline after that error message, please.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2923 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-14 12:46:11 +00:00
Mark Olsen c343bc3b6a printf()s, be gone.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2922 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-14 12:45:08 +00:00
Lance fe4d6a80da Fix for ZIP code in engine, incorrectly reporting Zip Error for .PK3's
which were fine.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2921 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-13 14:09:02 +00:00
Lance 4f755cf39e Changed the downloadables.txt source from the old sf.net site, to the
fteqw.com domain.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2920 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-13 07:57:42 +00:00
Spoike 406a7645a5 Okay, that ruleset cvar actually works now, correctly locking out modified textures on backpack.mdl
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2911 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-08 23:26:25 +00:00
Spoike 04bdd8d827 Fixed a minor bug that has never occurred.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2910 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 02:44:01 +00:00
Spoike 8c6bf11a10 That's meant to be a temporary error.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2909 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 02:41:46 +00:00
Spoike 10f49b7705 Support for x11 mwheel conventions instead of traditional support, and hopefully fixed gamma on task switches in the glx renderer.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2908 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 00:38:41 +00:00
Molgrum 00cd20b9a6 Use MAX_QPATH instead.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2907 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 00:31:34 +00:00
Spoike 20cc7dc9f5 Updated the menu_demo code. The list is now sorted. Miscellaneous paths from pk3 files are not shown any more either.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2906 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-05 00:19:57 +00:00
Spoike 28351eb001 Don't flood the client with packets if its not really ready to receive them yet.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2905 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-04 23:41:04 +00:00
Lance 12d0492566 Silly mistake, made the directx9 option select the d3d7 renderer by
mistake.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2903 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:52:14 +00:00
Lance 4ffbf6fe06 Fix to r2901 hopefully, if it isn't, revert back to r2900
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2902 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:46:14 +00:00
Lance 5cbcec8283 DirectX7 menu option fixed to select the d3d7 renderer, and DirectX9
menu option to select the d3d9 renderer.


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2901 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 15:16:16 +00:00