aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
...
* Actually take into account how SkipBracedSection works. It requires a ↵thilo2008-04-061-1/+1
| | | | | | section to start with a single separate '{'. So we need to require this here, too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1297 edf5b092-35ff-0310-97b2-ce42778d08ea
* revert changes to that one as this is not necessary.thilo2008-04-061-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1296 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure that one broken shader file cannot crash the game / make the other ↵thilo2008-04-062-10/+42
| | | | | | shaders unusable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1295 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to MinGW build following IPv6 changestma2008-04-051-5/+11
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1294 edf5b092-35ff-0310-97b2-ce42778d08ea
* I hope this makes the code work on solaris, too and fix the EINVAL on sendto()thilo2008-04-051-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1293 edf5b092-35ff-0310-97b2-ce42778d08ea
* - include Winsock2.h for windowsthilo2008-04-052-1/+5
| | | | | | | - add a __BSD__ define for all bsd platforms if it doesn't exist. git-svn-id: svn://svn.icculus.org/quake3/trunk@1292 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix compilation on Solaris and possibly other platforms that have no ↵thilo2008-04-051-91/+24
| | | | | | getifaddrs() git-svn-id: svn://svn.icculus.org/quake3/trunk@1291 edf5b092-35ff-0310-97b2-ce42778d08ea
* Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and ↵thilo2008-04-048-470/+915
| | | | | | JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355. git-svn-id: svn://svn.icculus.org/quake3/trunk@1290 edf5b092-35ff-0310-97b2-ce42778d08ea
* * remove COM_Compress() call on script buffer loaded into memory. I assumetjw2008-03-281-2/+0
| | | | | | | | | | | | | this was added in order to save cycles if a script is loaded and then parsed multiple times, but it caused line numbers to be reported incorrectly for parse errors. If a script is loaded into memory and parsed multiple times then the script itself should be optimized instead of doing it at runtime. Also, there was a possibility of segfault due to where this was called. git-svn-id: svn://svn.icculus.org/quake3/trunk@1287 edf5b092-35ff-0310-97b2-ce42778d08ea
* These checks are now redundant.thilo2008-03-271-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1286 edf5b092-35ff-0310-97b2-ce42778d08ea
* A more clean solution to this bug. Stop the renderer when the UI VM is not ↵thilo2008-03-272-16/+17
| | | | | | running, as no commands get issued in that case anyways. git-svn-id: svn://svn.icculus.org/quake3/trunk@1285 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix flashing connect screen, see ↵thilo2008-03-271-0/+4
| | | | | | https://bugzilla.icculus.org/show_bug.cgi?id=3425. git-svn-id: svn://svn.icculus.org/quake3/trunk@1284 edf5b092-35ff-0310-97b2-ce42778d08ea
* This hack probably is not needed anymore.thilo2008-03-271-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1283 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make sure fullscreen does not work for in_nograb when manually Alt-Entering, ↵thilo2008-03-262-1/+8
| | | | | | too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1282 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
* strcpy -> memmove as string does overlap which should be avoided according ↵thilo2008-03-251-1/+2
| | | | | | to the manpage. Thanks to Jacques Boscq. git-svn-id: svn://svn.icculus.org/quake3/trunk@1280 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove obsolete code for obfuscation.thilo2008-03-251-11/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1279 edf5b092-35ff-0310-97b2-ce42778d08ea
* Commit patch from Jacques Boscq, which will prohibit the calling of memcpy ↵thilo2008-03-251-2/+4
| | | | | | with src=dest git-svn-id: svn://svn.icculus.org/quake3/trunk@1278 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Replace vsprintf function in bg_lib.c with vsnprintf implementation ↵thilo2008-03-2518-288/+792
| | | | | | | | | 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
* vsnprintf -> Q_vsnprintfthilo2008-03-251-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1276 edf5b092-35ff-0310-97b2-ce42778d08ea
* Applied patch to clean up code for reading cvars and add new command "print" ↵thilo2008-03-251-87/+70
| | | | | | | | | for printing the content of cvars, by Ben Millwood. See also https://bugzilla.icculus.org/show_bug.cgi?id=3546 git-svn-id: svn://svn.icculus.org/quake3/trunk@1275 edf5b092-35ff-0310-97b2-ce42778d08ea
* use vm->callLevel to count recursive calls to VM_Callludwig2008-03-244-16/+18
| | | | | | | Throw an error if vm->callLevel is set and VM_Free is called. git-svn-id: svn://svn.icculus.org/quake3/trunk@1274 edf5b092-35ff-0310-97b2-ce42778d08ea
* catch Cbuf_ExecuteText(EXEC_NOW,...) from the ui as that would crash the vmludwig2008-03-241-0/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1273 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3567) Fix to error handling in Ogg decoder (Joerg Dietrich)tma2008-03-111-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1271 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Ogg codec fix regarding ogg files in pk3s (Tr3b)tma2008-03-021-3/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1270 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Write q3config_server.cfg for the server, to avoid reseting client variablestma2008-02-283-3/+9
| | | | | | | after running a dedicated server git-svn-id: svn://svn.icculus.org/quake3/trunk@1269 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3427) Single Player causes SIGBUS on SGI IRIX (Patrick Baggett)tma2008-02-203-15/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1268 edf5b092-35ff-0310-97b2-ce42778d08ea
* Angst and zinx cajoled me into removing trying to load libcurl.so again.thilo2008-02-172-17/+12
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1267 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fall back to libcurl.so.4 or libcurl.so.4 if the default symlink does not exist.thilo2008-02-161-5/+20
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1266 edf5b092-35ff-0310-97b2-ce42778d08ea
* Remove .3 part in default curl library. With it www download is broken on ↵thilo2008-02-161-1/+1
| | | | | | most recent distributions, as there is no libcurl.so.3 git-svn-id: svn://svn.icculus.org/quake3/trunk@1265 edf5b092-35ff-0310-97b2-ce42778d08ea
* png fixes by Joerg Dietrichludwig2008-02-151-5/+14
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1264 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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