aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
...
* One minor comment fixthilo2008-04-121-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1314 edf5b092-35ff-0310-97b2-ce42778d08ea
* Only don't send packet on disabled multicast if it actually is a multicast ↵thilo2008-04-121-2/+2
| | | | | | packet git-svn-id: svn://svn.icculus.org/quake3/trunk@1313 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix a potential file descriptor leak in server side of pak downloadingthilo2008-04-128-3/+454
| | | | | | | - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Revamp in-game server browser: you can now scan for games on multiple ↵thilo2008-04-118-258/+181
| | | | | | | | | master servers, while retaining compatibility with old QVMs. - Make Master server reporting/server queries ipv6 capable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1311 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add com_standalone cvar for at-runtime handling of mods that do not require ↵thilo2008-04-109-24/+62
| | | | | | the original quake3 game data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
* Include #ifdef to make it easier to create a stand-alone binary.thilo2008-04-098-18/+48
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix uninitialized usage warnings on MacOSX.thilo2008-04-091-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1306 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add Multicast capabilities for LAN server scanning.thilo2008-04-0910-150/+348
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1305 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add length checking to prevent malicious mdr files to overflow buffers.thilo2008-04-081-11/+57
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1304 edf5b092-35ff-0310-97b2-ce42778d08ea
* Handle detail textures correctly when r_detailedTextures is set to 0.thilo2008-04-061-5/+23
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1301 edf5b092-35ff-0310-97b2-ce42778d08ea
* set flag to allow forced unload of a running VMludwig2008-04-063-2/+21
| | | | | | required to prevent a client from exiting if the server disconnects (bug 3585) git-svn-id: svn://svn.icculus.org/quake3/trunk@1300 edf5b092-35ff-0310-97b2-ce42778d08ea
* debug output for EXEC_NOWludwig2008-04-061-0/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1299 edf5b092-35ff-0310-97b2-ce42778d08ea
* catch EXEC_NOW on quit to prevent deleting a running vmludwig2008-04-061-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1298 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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