aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* * Fix compiler warning due to missing guardtma2007-07-141-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1110 edf5b092-35ff-0310-97b2-ce42778d08ea
* OS X mouse hack, must remove when SDL adds it internally.zakk2007-07-091-0/+83
| | | | | | | | | | Please see bugzilla case: http://bugzilla.icculus.org/show_bug.cgi?id=3206 and http://bugzilla.libsdl.org/show_bug.cgi?id=445 git-svn-id: svn://svn.icculus.org/quake3/trunk@1108 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix OP_MODU and OP_MODIludwig2007-07-031-10/+11
| | | | | | | - fix minor typos git-svn-id: svn://svn.icculus.org/quake3/trunk@1106 edf5b092-35ff-0310-97b2-ce42778d08ea
* another attempt to fix the alignment, this time hopfully for realludwig2007-07-031-5/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1105 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix stack alignmentludwig2007-07-031-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1104 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix bg_lib.h compilation with lccludwig2007-06-271-0/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1103 edf5b092-35ff-0310-97b2-ce42778d08ea
* use native stack for vm stack as well, frees one registerludwig2007-06-251-26/+36
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1101 edf5b092-35ff-0310-97b2-ce42778d08ea
* check program counter on OP_CALL and OP_LEAVEludwig2007-06-251-2/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1100 edf5b092-35ff-0310-97b2-ce42778d08ea
* gcc 4.2 patch from nyhm of gentoo (thanks!)zakk2007-06-131-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1099 edf5b092-35ff-0310-97b2-ce42778d08ea
* (bug 3072) updated Mac OS X SDL .dylib file. still 1.2.11, but with a smalltjw2007-06-071-0/+0
| | | | | | | | fix backported from SDL 1.3 related to fullscreen mode and minimize buttons disapearing on existing windows on Mac OS X. git-svn-id: svn://svn.icculus.org/quake3/trunk@1098 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove silly MINGW_CFLAGS hacktma2007-06-023-11/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1096 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace :(tma2007-05-291-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1091 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Allow CC to be overridden externally to the Makefiletma2007-05-291-3/+4
| | | | | | | | | * Make cross-make-mingw.sh more generic using the above * Update README to reflect changes * Fix a couple of warnings in the Windows input layer git-svn-id: svn://svn.icculus.org/quake3/trunk@1090 edf5b092-35ff-0310-97b2-ce42778d08ea
* * updated the included libSDL header files and Mac OS X lib to SDL 1.2.11tjw2007-05-2240-614/+2576
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1089 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2972) add r_swapInterval support to SDL client (if libSDL >= 1.2.10)tjw2007-05-222-0/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1088 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3077) allow cURL to follow HTTP redirects (up to 5)tjw2007-05-221-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1087 edf5b092-35ff-0310-97b2-ce42778d08ea
* Adding a bit of commentary to the code.thilo2007-05-171-1/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1085 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix a potential crash bug on 64 bit systems in the botlib library. ↵thilo2007-05-171-3/+6
| | | | | | sizeof(bot_consolemessage_t) is different on 64 bit and 32 bit systems. git-svn-id: svn://svn.icculus.org/quake3/trunk@1084 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3066) rcon rate-limiting was not compatible with the eventual tjw2007-05-101-1/+1
| | | | | | | integer overflow in Com_Milliseconds() (R1CH) git-svn-id: svn://svn.icculus.org/quake3/trunk@1083 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3018) Should not reset CVAR_CHEAT cvars when loading cgame/ui if theytjw2007-04-054-4/+6
| | | | | | | | | | are being loaded to play a demo. This restores the normal "timedemo" cvar behaviour. * (bug 3054) The "demo" command works properly now when connected to the local server git-svn-id: svn://svn.icculus.org/quake3/trunk@1062 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Silly tab filter breaking thingstma2007-04-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1055 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move storage of console history from a cvar to a file in order to alleviatetma2007-04-011-40/+67
| | | | | | | security concerns git-svn-id: svn://svn.icculus.org/quake3/trunk@1054 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2741) replace K_LAST_KEY with MAX_KEYS. K_LAST_KEY is now definedtjw2007-03-223-8/+10
| | | | | | | | | | | | | | | at 256 for mod compatability reasons. ioq3-only mods may chose to use MAX_KEYS for checking binds in order to get full key support, but at the cost of breaking compatability with older clients. * (bug 2741) remove some lingering 256-key hardcoding * properly check bounds of keynum in Key_IsDown(), Key_SetBinding(), and Key_GetBinding() git-svn-id: svn://svn.icculus.org/quake3/trunk@1053 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3065) fixed non-SDL X11 client crash on certain keys (e.g. XK_egrave )tjw2007-03-191-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1052 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove cvar s_alMaxSpeakerDistance for the same task can better be achieved ↵thilo2007-03-171-4/+2
| | | | | | with s_alMaxDistance. git-svn-id: svn://svn.icculus.org/quake3/trunk@1051 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3018) need to call Cvar_SetCheatState() after CG_INIT and UI_INIT totjw2007-03-024-1/+12
| | | | | | | | override user-defined cvar values for CVAR_CHEAT cvars that could be registered in cgame and ui. git-svn-id: svn://svn.icculus.org/quake3/trunk@1048 edf5b092-35ff-0310-97b2-ce42778d08ea
* * use the Win2k gamma clamp thing on Vista too (raynorpat)tjw2007-03-011-4/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1047 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) use the operating system's random number generator if possibletjw2007-02-167-9/+65
| | | | | | | when generating the qkey file git-svn-id: svn://svn.icculus.org/quake3/trunk@1046 edf5b092-35ff-0310-97b2-ce42778d08ea
* * fix q3lcc warning message due to an extra ; that slipped in at rev 1023tjw2007-02-151-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1045 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2741) Adds support in the SDL client for many keys that were nottjw2007-02-144-8/+254
| | | | | | | | | | | | | recognized. For example, F13, F14, F15, WINDOWS, SCROLLLOCK, CAPSLOCK, WORLD_0 - WORLD_95, etc. (Christophe Cavalaria) * (bug 2741) Adds the hard-coded toggleConsole bind Shift-Escape * (bug 2741) Adds detailed explaination of SDL keyboard handling differences in the README file. git-svn-id: svn://svn.icculus.org/quake3/trunk@1044 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3027) don't trust the "ip" value in the userinfo string since a clienttjw2007-02-141-16/+32
| | | | | | | | | could set this. disconnect (or disallow connection for) a client that has a userinfo string that's too full for "ip" to be added properly. (Richard Stanway) git-svn-id: svn://svn.icculus.org/quake3/trunk@1043 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3019) adds the cvar cl_guidServerUniq (defaults to 1). When set totjw2007-02-124-17/+88
| | | | | | | | non-zero, cl_guid will be unique for each server that the client connects to git-svn-id: svn://svn.icculus.org/quake3/trunk@1041 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3014) my revision 935 broke the sending of the kick/clientkick messagetjw2007-02-011-2/+3
| | | | | | | | since SV_DropClient() tried to set the client's state to CS_ZOMBIE prior to sending the message. git-svn-id: svn://svn.icculus.org/quake3/trunk@1038 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix loads of format string bugsthilo2007-01-249-30/+28
| | | | | | | - Fix locally looping sounds, thanks to Timbo git-svn-id: svn://svn.icculus.org/quake3/trunk@1037 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix wrong use of strncatludwig2007-01-231-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1036 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2977) use MSVC compatiable pre-processors and also include <io.h> fortjw2007-01-191-12/+13
| | | | | | | int types git-svn-id: svn://svn.icculus.org/quake3/trunk@1034 edf5b092-35ff-0310-97b2-ce42778d08ea
* One more icculus.org/quake3 purge, should be the last...zakk2007-01-143-7/+7
| | | | | | | Also one minor change to the website's get it page. git-svn-id: svn://svn.icculus.org/quake3/trunk@1031 edf5b092-35ff-0310-97b2-ce42778d08ea
* Updated urls.zakk2007-01-142-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1030 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix window titles and crap, thanks woekele for pointing this out.zakk2007-01-141-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1029 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix two non-C-standard variable declarations.thilo2007-01-072-3/+7
| | | | | | | - Fix function name of vsnprintf for windows systems. git-svn-id: svn://svn.icculus.org/quake3/trunk@1027 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix buffer overflow and format string bug in auth server responseludwig2006-12-312-6/+3
| | | | | | | processing git-svn-id: svn://svn.icculus.org/quake3/trunk@1025 edf5b092-35ff-0310-97b2-ce42778d08ea
* - also check for point release pak filesludwig2006-12-301-15/+61
| | | | | | | | - make missing pak0 non fatal if fs_game != baseq3. This way total conversions like westernq3 work without Q3 data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1024 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-3017-34/+32
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't use intermediate array for sorting pakfiles. avoids theludwig2006-12-301-14/+3
| | | | | | | MAX_PAKFILES limitation git-svn-id: svn://svn.icculus.org/quake3/trunk@1022 edf5b092-35ff-0310-97b2-ce42778d08ea
* include offending string in error message for varables that containludwig2006-12-301-31/+15
| | | | | | | blacklisted characters git-svn-id: svn://svn.icculus.org/quake3/trunk@1021 edf5b092-35ff-0310-97b2-ce42778d08ea
* using the function pointer time() doesn't make any sense. Passing downludwig2006-12-301-2/+2
| | | | | | | the variable instead looks like the obvious fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1020 edf5b092-35ff-0310-97b2-ce42778d08ea
* kick bots by client number instead of name to avoid problems withludwig2006-12-291-4/+1
| | | | | | | weird names (reported by 'DD') git-svn-id: svn://svn.icculus.org/quake3/trunk@1019 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix team orders menuludwig2006-12-281-3/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1018 edf5b092-35ff-0310-97b2-ce42778d08ea
* * replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNINGtjw2006-12-271-2/+2
| | | | | | | since newer mingw dropped the older define. Both are defined to 97 git-svn-id: svn://svn.icculus.org/quake3/trunk@1017 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. ↵thilo2006-12-151-2/+1
| | | | | | Thanks to Stefan Langer a.k.a. #@ for providing the fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1013 edf5b092-35ff-0310-97b2-ce42778d08ea