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
Molgrum
be25425644
Small annoyance fix, removed some cvar links already supported.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2924 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-15 06:17:08 +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
775e3d3311
Include a couple more paths within the fte source tree for easier dependencies.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2914 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-11 22:41:48 +00:00
Spoike
eff3e85911
Fixed the remaining omision with commandlines. It should now function as a complete drop-in replacement for the original id q3asm.
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2913 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-11 22:38:05 +00:00
Spoike
9e3c465a79
Fixes a compile error (this doesn't stop native modules from compiling).
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2912 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-11 22:36:48 +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
Spoike
85570cc4f4
okay, that print isn't meant to be stream-specific
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2904 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-04 11:31:32 +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
TimeServ
14baffd9b6
trashed stack/hunk alignment code assumptions with sw
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2900 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 07:27:10 +00:00
TimeServ
dd4e46f220
fix to PCX loading (Spike made a typo)
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2899 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-02 07:14:56 +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
TimeServ
1805f13b23
changed #warning to comments so vc2005 would compile everything
...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2896 fc73d0e0-1445-4013-8a0c-d673dee63da5
2008-02-01 06:13:30 +00:00