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