aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* make the pcx decode actually workludwig2008-02-141-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1262 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Consolidate tr_image_*.h headers into tr_local.h to more closely follow thetma2008-02-1412-23/+25
| | | | | | | | Q3 coding style * Prefix image loaders with R_ now they're non-static git-svn-id: svn://svn.icculus.org/quake3/trunk@1261 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove code duplicated from libjpeg and make internal functions staticludwig2008-02-141-96/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1260 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't read more memory than available in jpg decodeludwig2008-02-143-11/+31
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1259 edf5b092-35ff-0310-97b2-ce42778d08ea
* make pcx decoder more robust against corrupt filesludwig2008-02-141-83/+88
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1258 edf5b092-35ff-0310-97b2-ce42778d08ea
* move all image decoders into separate filesludwig2008-02-1410-1255/+1309
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1257 edf5b092-35ff-0310-97b2-ce42778d08ea
* make tga decoder more robust against corrupt filesludwig2008-02-141-10/+41
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1256 edf5b092-35ff-0310-97b2-ce42778d08ea
* make bmp decoder more robust against corrupt filesludwig2008-02-141-33/+70
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1255 edf5b092-35ff-0310-97b2-ce42778d08ea
* integer overflow safeguardsludwig2008-02-121-6/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1254 edf5b092-35ff-0310-97b2-ce42778d08ea
* move png support to separate fileludwig2008-02-123-2447/+2468
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1253 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fixes to some muppetry in snd_dma.c (arQon)tma2008-02-101-2/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1252 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Disabling r_allowSoftwareGL as per bug 3526tma2008-01-311-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1251 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3412) %s expansion security patch (DevHC)tma2008-01-227-12/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1250 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to bug in S_FileExtension (Tr3B)tma2008-01-191-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1249 edf5b092-35ff-0310-97b2-ce42778d08ea
* * send along the reason for disconnection when sending the disconnect tjw2007-12-312-1/+3
| | | | | | | | | | cmd to all clients in SV_FinalMessage() * on Com_Error(), set the cvar "com_errorCode" with the errorParm_t integer value for the error. This can be used by a mod's ui to an draw error dialog specific for the error (e.g. Reconnect button on ERR_SERVERDISCONNECT) git-svn-id: svn://svn.icculus.org/quake3/trunk@1245 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove small redundancythilo2007-12-271-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1241 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add gamedirectory in .app to searchpath on MacOSXthilo2007-12-143-1/+32
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1239 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix building on MacOSX.thilo2007-12-141-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1238 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace obsolete macro with some other macro. I hope this does not break too ↵thilo2007-12-141-1/+1
| | | | | | much. git-svn-id: svn://svn.icculus.org/quake3/trunk@1237 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert changes in ioquake3 AL code, fix OpenAL headers.thilo2007-12-134-3/+172
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1236 edf5b092-35ff-0310-97b2-ce42778d08ea
* Modification to stop crash on Linux for dlopened() OpenAL, will break MacOSX ↵thilo2007-12-132-5/+5
| | | | | | build again. git-svn-id: svn://svn.icculus.org/quake3/trunk@1235 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix multiple symbol errors for compilation on MacOSX. Remove unnecessary ↵thilo2007-12-132-173/+5
| | | | | | definitions. git-svn-id: svn://svn.icculus.org/quake3/trunk@1234 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3470) Correct type for function pointertma2007-12-111-1/+1
| | | | | | | (baggett.patrick@figglesoftware.com) git-svn-id: svn://svn.icculus.org/quake3/trunk@1233 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace "powered by ioq3" text with ui_ioq3 CVAR_ROMtma2007-12-117-139/+213
| | | | | | | | | | | | * Guess display aspect based on the desktop resolution * Sort detected resolutions by... + closeness to display aspect + ascending width + ascending height * Apply Q3 coding style to resolution detection code git-svn-id: svn://svn.icculus.org/quake3/trunk@1232 edf5b092-35ff-0310-97b2-ce42778d08ea
* detect available resolutions and offer them in the menuludwig2007-12-082-19/+172
| | | | | | | | | | Store the resolutions detected by SDL in a cvar. The mod code can then optionally use the cvar to offer a better choice in the menu. Signed-off-by: Ludwig Nussel <ludwig.nussel@suse.de> git-svn-id: svn://svn.icculus.org/quake3/trunk@1231 edf5b092-35ff-0310-97b2-ce42778d08ea
* print "powered by the ioquake3 engine" in the main menuludwig2007-12-081-4/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1230 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3454) Fix crash in autocompletion due to incorrect strncpy buffer sizetma2007-12-031-3/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1226 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Make some botlib memory allocations /potentially/ safertma2007-12-022-8/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1225 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add con_log.c and con_passive.c from r1222 to quake3.vcproj.juz2007-12-021-16/+16
| | | | | | | * Rename 'write' and 'read' variables in con_log.c, as these are already defined in io.h in the MSVC environment. git-svn-id: svn://svn.icculus.org/quake3/trunk@1224 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix poppy captured audio when recording videostma2007-12-011-8/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1223 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add con_log.c to log all console outputtma2007-11-309-95/+337
| | | | | | | | | | | | * Add con_passive.c to cut down on #ifdef DEDICATED in sys_main.c * Add Sys_ErrorDialog to report ERR_FATALs to the user + On Windows use a MessageBox and offer to copy the console log to the clipboard + On everything else print to the terminal and save the console log as crashlog.txt git-svn-id: svn://svn.icculus.org/quake3/trunk@1222 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Initialise botlib libvarlist to NULL as having it uninitialised maytma2007-11-261-1/+1
| | | | | | | potentially cause problems git-svn-id: svn://svn.icculus.org/quake3/trunk@1219 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move MINSDL_ values to sys_local.h from Makefile/VC projecttma2007-11-264-54/+32
| | | | | | | | * Merge *BSD platform definitions in q_platform.h * IRIX support (Patrick Baggett <baggett.patrick@figglesoftware.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1218 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Move SDL library version check to sys_main.c as it's proving difficult totma2007-11-252-3/+11
| | | | | | | | | | make the Makefile check sufficiently portable * Remove unnecessary GL PFN... casts from SDL_GL_GetProcAddress calls * Replace OS X uname workaround with Solaris workaround, as I believe OS X uname now behaves the same as GNU name git-svn-id: svn://svn.icculus.org/quake3/trunk@1217 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3420) Don't respect sv_killserver unless a server is actually runningtma2007-11-233-1/+7
| | | | | | | * (bug 3431) USERINFO cvars created in cg_main not getting sent (arQon) git-svn-id: svn://svn.icculus.org/quake3/trunk@1216 edf5b092-35ff-0310-97b2-ce42778d08ea
* * s/O_NDELAY/O_NONBLOCK/tma2007-11-191-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1215 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix bug where an extraneous render command can cause a crash whentma2007-11-186-23/+26
| | | | | | | | | recording video * Make S_CodecUtilClose NULL the snd_stream_t pointer * Fix indentation in runtime SDL check code git-svn-id: svn://svn.icculus.org/quake3/trunk@1214 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove all the crappy old bat/sh QVM building scriptstma2007-11-1621-1008/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1213 edf5b092-35ff-0310-97b2-ce42778d08ea
* make master server used by client configurable (cl_master)ludwig2007-11-141-2/+4
| | | | | | | patch by Erik Kloppenburg git-svn-id: svn://svn.icculus.org/quake3/trunk@1212 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove work around for a 2 year old OpenAL bug that now actually causes atma2007-11-111-7/+0
| | | | | | | crash on snd_restart git-svn-id: svn://svn.icculus.org/quake3/trunk@1209 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Whitespace consistency in tr_init.ctma2007-11-071-53/+53
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1208 edf5b092-35ff-0310-97b2-ce42778d08ea
* Don't define ELF, use __ELF__ insteadludwig2007-11-061-5/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1207 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to win_resource.rc for MSVC buildtma2007-11-031-4/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1206 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)tma2007-11-0213-29/+61
| | | | | | | | | * (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
* * Don't truncate the cvar value when the user specifically asks for ittma2007-11-011-10/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1203 edf5b092-35ff-0310-97b2-ce42778d08ea
* include endian.h (#3399)ludwig2007-10-261-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1202 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 required header on *BSDtma2007-10-131-0/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1198 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to qvm compilation on big endian architecturestma2007-10-133-99/+19
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1197 edf5b092-35ff-0310-97b2-ce42778d08ea