Commit graph

521 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Molgrum
1e64dfd76d Patch from Spike. Two new ruleset cvars, one that prevents custom eyes models, one that prevents custom skins on packs/eyes (this doesn't work yet, needs fix).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2898 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 15:21:14 +00:00
Molgrum
c05ae3fd5f work around for ktx not supporting fte's alias arguments, added limited compatibility with darkplaces' alias arguments too (where possible without breaking prior features). /Spike
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2885 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-29 23:18:06 +00:00
Mark Olsen
83d23423ab characture -> character
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2882 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-28 13:27:30 +00:00
Molgrum
3d44f91d3a Include plugin-support in mingl as well, editing the HUD is too useful to be discarded right? :)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2878 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-24 02:06:15 +00:00
Spoike
54590f015f Is molgrum never happy? Smile! I dare ya!
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2865 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 14:10:18 +00:00
Spoike
cc14795cba Model clamping finally implemented. Please test :)
Moved the call to PreNewMap to a bit earlier.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2864 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-19 05:59:00 +00:00
Molgrum
6b32d0558c Fixed point-algorithm by Spike.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2855 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-12 03:33:59 +00:00
Spoike
e00f927c48 Report EOF only on eof, rather than if the user requested to fill a buffer that was already empty.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2849 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:33:06 +00:00
Spoike
bda148a084 Fixing up my paranoia. Only fill in some of these fields if the entry is actually going to be fully used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2848 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-09 00:31:18 +00:00
Spoike
216ca421af Added a 'newalias' command. Exactly like alias but does nothing if it already exists.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2840 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-01-05 09:58:55 +00:00
Molgrum
69ca88da5c Basic ezQuake color code stripping.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2832 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-30 19:00:48 +00:00
Mark Olsen
fa9ffe86b4 thier -> their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2818 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-23 20:28:40 +00:00
Spoike
7c312dc581 Small code clean up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2816 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-15 18:51:34 +00:00
Spoike
81b91a422d Fixed a couple of qtvplay bugs
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2811 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-12 11:04:04 +00:00
Mark Olsen
ea76477982 Don't use Host_Error() here. Use VFSTCP_Error().
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2800 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-03 11:08:56 +00:00
Spoike
c77d0a981a Fixed qtvplay, added a workaround for eztv proxies.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2799 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-12-01 05:55:44 +00:00
Molgrum
3b1ac20640 s/componants/components + missing newline.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2767 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-29 06:06:20 +00:00
Lance
b211170f9c mingw32 crosscompiling: libjpeg, libpng and zlib support added.
Speedburst/Speedhack/Z-Fighting/libjpeg/conback etc problems resolved within 
mingwcross compiled binaries with removal of -O6 and -funroll-loops optimizations. 
Added static libraries and headers to their own directory: 
libjpeg, libpng, zlib and libogg (ogg support not ready)


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2740 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-12 10:27:51 +00:00
Molgrum
fdb0479292 Fixed the non-null warnings.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2738 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-11 15:40:28 +00:00
Molgrum
2dab3902f7 Cleanup. More warnings fixed in D3D.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2723 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-06 14:38:52 +00:00
Molgrum
0d321239ba Corrected.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2721 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-06 13:19:10 +00:00
Molgrum
e09faab306 Shut MSVS up. This is the last warning in GLRelease.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2720 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 19:26:05 +00:00
Molgrum
82fcde59e1 Cleanup. Fixed the last warnings in GLDebug.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2719 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 19:10:43 +00:00
Molgrum
b38ba2f1f1 Fixed so that D3D/Merged builds again.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2718 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:50:10 +00:00
Molgrum
0f02f12b8b s/compatable/compatible (take notice that sv_compatablehulls will have a changed name too)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2717 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 18:08:47 +00:00
Molgrum
379efc8376 s/thier/their
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2716 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:43:26 +00:00
Molgrum
37e0b298b3 Fixed so cfg_save will put .cfg at the end if not specified.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2715 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-05 17:23:43 +00:00
Molgrum
64ea64fd2c Force inlining in MSVS to shut it up.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2704 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-10-04 20:29:05 +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
Molgrum
43c48f23e6 Include the alloca-function.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2687 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:52:35 +00:00
Mark Olsen
faac72835c SP_#? -> CON_#?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2686 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-23 15:28:06 +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
Molgrum
f1f0f1d48b Spike's temporary fix for the ruleset cvar latching problem with the string-field being null.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2664 fc73d0e0-1445-4013-8a0c-d673dee63da5
2007-09-21 09:58:17 +00:00