aboutsummaryrefslogtreecommitdiffstats
path: root/code/game
Commit message (Collapse)AuthorAgeFilesLines
* Add guid to userinfo string, thanks Guillaume Bougard. ↵thilo2009-10-081-5/+10
| | | | | | https://bugzilla.icculus.org/show_bug.cgi?id=3570 git-svn-id: svn://svn.icculus.org/quake3/trunk@1653 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't award assist bonuses to flag capturing player, ↵thilo2009-10-061-1/+3
| | | | | | https://bugzilla.icculus.org/show_bug.cgi?id=3260 git-svn-id: svn://svn.icculus.org/quake3/trunk@1644 edf5b092-35ff-0310-97b2-ce42778d08ea
* Forgotten elsethilo2009-10-031-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1641 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert back color code changethilo2009-10-031-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1639 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Modify color generating codes to only accept numbers and not alphabetical ↵thilo2009-10-031-69/+43
| | | | | | | | | chars anymore - Fix client clean name so that it cannot be tricked anymore, see https://bugzilla.icculus.org/show_bug.cgi?id=3313 git-svn-id: svn://svn.icculus.org/quake3/trunk@1638 edf5b092-35ff-0310-97b2-ce42778d08ea
* Enable -fvisibility=hidden on Linux.icculus2009-09-152-2/+2
| | | | | | | | | | | | This will prevent further symbol clashes, and makes the shared libraries 10 to 20 percent smaller. We should enable this on other platforms, too, if we can guarantee they'll use gcc 4.0 or later and the platform supports it. git-svn-id: svn://svn.icculus.org/quake3/trunk@1609 edf5b092-35ff-0310-97b2-ce42778d08ea
* SetTeam fix from Martin Doucha.icculus2009-09-141-4/+4
| | | | | | | | | | | | | | | | | | | | | "Actually, client->ps.clientNum is unsafe. We had a little hunt for this some time ago in Tremulous last year (it caused kick failures, annoying popup windows and other nasty bugs). The problem is that a following spectator gets full copy of client->ps of the followed player including clientNum. If you then try to use this "shared" clientNum, you might affect someone else than you wanted. r1019 changes are safe as long as bots don't spectate players. However, a brief grep on current code has revealed unsafe client->ps.clientNum usage in SetTeam(). If a following spectator uses team command when forced balance is on, it'll count teams incorrectly and send the error message to the followed player instead. Here's the fix." Fixes Bugzilla #2986. git-svn-id: svn://svn.icculus.org/quake3/trunk@1587 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix name compare in 'follow' command (#4013)ludwig2009-05-081-28/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1548 edf5b092-35ff-0310-97b2-ce42778d08ea
* add missing trap_RealTime prototype (#4015)ludwig2009-05-081-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1547 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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