aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
Commit message (Collapse)AuthorAgeFilesLines
* fix potential segfault (found by DerSaidin in xreal)ludwig2009-01-231-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1494 edf5b092-35ff-0310-97b2-ce42778d08ea
* security fix: prevent command injection via callvoteludwig2009-01-171-3/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1493 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix strict aliasing issuesludwig2008-11-031-15/+15
| | | | | | Patch by Przemysław Iskra (#3805) git-svn-id: svn://svn.icculus.org/quake3/trunk@1481 edf5b092-35ff-0310-97b2-ce42778d08ea
* pass the correct size to Q_vsnprintf (Ian Lindsay)ludwig2008-06-201-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1390 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make cast-workaround to unsigned int use sizeof operator.thilo2008-03-261-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1281 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Replace vsprintf function in bg_lib.c with vsnprintf implementation ↵thilo2008-03-255-233/+736
| | | | | | | | | started by Patrick Powell. - Remove all calls to vsprintf in the engine and gamecode and replace them with calls to vsnprintf. git-svn-id: svn://svn.icculus.org/quake3/trunk@1277 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3412) %s expansion security patch (DevHC)tma2008-01-221-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1250 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove all the crappy old bat/sh QVM building scriptstma2007-11-166-336/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1213 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)tma2007-11-021-1/+5
| | | | | | | | | * (bug 3363) Download percentage overflow (Martin Doucha <next_ghost@quick.cz>) * (bug 3390) MSVC project (Julian Priestley <juzley@gmail.com>) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0 git-svn-id: svn://svn.icculus.org/quake3/trunk@1204 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Sightma2007-10-221-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1200 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename g_logfile back to g_log, but keep the cvar variable as is (see r128)tma2007-10-221-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1199 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add missing )tma2007-09-241-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1187 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move the conditional compilation of bg_lib.c from the Makefile to cpp intma2007-09-222-22/+4
| | | | | | | | order to force dependency generation on bg_lib.* * Make testing USE_ defines more consistent git-svn-id: svn://svn.icculus.org/quake3/trunk@1186 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3318) Restrict color escape characters to alphanumericstma2007-09-211-0/+16
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1185 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-0511-26/+11
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3076) Map cycle breaks on empty or bot only servers (misanthropia)tma2007-08-231-10/+15
| | | | | | | | | | | | * (bug 3303) Removal of never compiled code from cgame drawing functions (beast <info@dbwatersports.com>) * (bug 3297) Add missing limit to Q3 UI server info (beast <info@dbwatersports.com>) * (bug 3029) Fix to shader hash table being overpopulated (identified by Stefan "#@" Langer <raute_at@gmx.de>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1129 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix null termination out of array boundsludwig2007-08-192-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1126 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix gcc 4.2 warnings about cast from pointer to integer (#3317)ludwig2007-08-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1125 edf5b092-35ff-0310-97b2-ce42778d08ea
* the address of 'classname' will always evaluate as 'true'ludwig2007-07-191-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1116 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
* - tag more functions with gnu format attributeludwig2006-12-302-3/+3
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 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 vsprintf bug, thanks to ensiform.thilo2006-11-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@980 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert "fix" because it was based on wrong assumptions and actually doesn't ↵thilo2006-07-171-1/+1
| | | | | | fix anything at all. git-svn-id: svn://svn.icculus.org/quake3/trunk@817 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix wrong means of death message in server log.thilo2006-07-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@815 edf5b092-35ff-0310-97b2-ce42778d08ea
* - "baseq3" literal replacement patch (by Erik Auerswald) appliedthilo2006-04-262-2/+2
| | | | | | | | - Commented setting of the cl_guid cvar because md5.c is not 64-bit safe. git-svn-id: svn://svn.icculus.org/quake3/trunk@726 edf5b092-35ff-0310-97b2-ce42778d08ea
* - botlib logfile now gets stored in the fs_game directory in fs_homepath. ↵thilo2006-04-211-1/+2
| | | | | | | | | | | (patch from Erik Auerswald) - Added proper error handling when fopening qconsole.log - Fixed bug where r_chat.c gets loaded in botlib even when bot_nochat is 1. git-svn-id: svn://svn.icculus.org/quake3/trunk@715 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Output botlib.log in a sensible place (from Erik Auerswald)tma2006-04-141-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@705 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change long to intptr_t for 64bit windows compatabilityludwig2006-02-182-4/+4
| | | | | | | | - change vmMain arguments back to int. 64bit types are apparently not needed there. Only the syscall function needs them. git-svn-id: svn://svn.icculus.org/quake3/trunk@550 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Removed advertising clause from BSD license as per mailing list discussiontma2006-01-181-5/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@506 edf5b092-35ff-0310-97b2-ce42778d08ea
* msvc project files updated and moved to win32/msvcmaik2005-12-122-2047/+0
| | | | | | | temporary build dirs moved to win32/msvc/build git-svn-id: svn://svn.icculus.org/quake3/trunk@443 edf5b092-35ff-0310-97b2-ce42778d08ea
* Updated msvc project files from > Michael Zoech!zakk2005-11-041-2132/+2044
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@254 edf5b092-35ff-0310-97b2-ce42778d08ea
* * General decrufting:tma2005-10-292-6/+1
| | | | | | | | | | * Removed Q3_STATIC and associated defines * Removed MAC_STATIC * Replaced __LCC__ with Q3_VM * Removed bspc and splines directories git-svn-id: svn://svn.icculus.org/quake3/trunk@201 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-2950-50/+50
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* add x86_64 vm. experimental, not enabled by default. you need as for itludwig2005-10-272-0/+9
| | | | | | | to work. git-svn-id: svn://svn.icculus.org/quake3/trunk@188 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Moved various source files from their mod sdk locations to places moretma2005-10-2625-5528/+70
| | | | | | | | | appropriate for open source Q3 * This patch looks bigger than it really is, however it will probably break the VC and OS X builds (easy to fix though) git-svn-id: svn://svn.icculus.org/quake3/trunk@181 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Removed some Conscripttma2005-10-251-140/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@178 edf5b092-35ff-0310-97b2-ce42778d08ea
* Mac OS X needs Com_Memcpy and Com_Memset to be set to memcpy and memset.six2005-10-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@148 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixed some vm build warningstma2005-10-055-7/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@140 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Most obscure bug EVAR. Seems a library that SDL depends on (specifically ↵tma2005-09-291-9/+9
| | | | | | libgthread-2.0) defines a symbol g_log. qagamei386.so also defines such a symbol, but since it is dynamically loaded at runtime, no collision check is performed. When the code is relocated therefore, all instances of g_log in qagamei386.so end up refering to the g_log in the library... and bad things happen. s/g_log/g_logfile/g. git-svn-id: svn://svn.icculus.org/quake3/trunk@128 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Some game bug fixes from ↵tma2005-09-282-3/+28
| | | | | | http://www.quake3world.com/ubb/Forum4/HTML/006208.html git-svn-id: svn://svn.icculus.org/quake3/trunk@124 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to MinGW buildtma2005-09-261-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@117 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Some FreeBSD cleanupstma2005-09-261-2/+2
| | | | | | | * Removed the remainder of the RPM stuff from the Makefile git-svn-id: svn://svn.icculus.org/quake3/trunk@113 edf5b092-35ff-0310-97b2-ce42778d08ea
* * FreeBSD fixes/updates from Andreas Kohntma2005-09-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@107 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Applied ajax's cleanup patchtma2005-09-237-59/+59
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@101 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replaced lots of __linux__ || __FreeBSD__ with __GNUC__tma2005-09-232-13/+3
| | | | | | | | * MinGW port now uses asm versions of SnapVector and ftol * Improved the handling of mangled symbols in vm_x86.c git-svn-id: svn://svn.icculus.org/quake3/trunk@99 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Port to MinGWtma2005-09-223-5/+19
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@97 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to multiple buffer overflow bugs in CL_Rcon_ftma2005-09-191-9/+4
| | | | | | | | | | | * Fix to COM_ParseExt 1 byte overwrite bug * Fixed some missing calls to trap_FS_FCloseFile * Fixed q3msgboom and q3infoboom bugs * Fixed some qboolean type confusion * Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374 git-svn-id: svn://svn.icculus.org/quake3/trunk@95 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix crash when starting a TA CTF game with shared libs (#2367)ludwig2005-09-171-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@92 edf5b092-35ff-0310-97b2-ce42778d08ea
* Cleanups from pomac!zakk2005-09-023-2/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@67 edf5b092-35ff-0310-97b2-ce42778d08ea