Commit Graph

534 Commits

Author SHA1 Message Date
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
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 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
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
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 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
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
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
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 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