aboutsummaryrefslogtreecommitdiffstats
path: root/code
Commit message (Collapse)AuthorAgeFilesLines
* Show true framerate with stereo separation enabledthilo2008-05-031-4/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1337 edf5b092-35ff-0310-97b2-ce42778d08ea
* shut up warningthilo2008-05-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1336 edf5b092-35ff-0310-97b2-ce42778d08ea
* - replace a few constant values with GL macros in tr_cmds.cthilo2008-05-0110-91/+175
| | | | | | | | | | - tidy up top of tr_types.h a bit, change flags to hex representation - make ROM cvar enforcing really work - remove cg_stereoSeparation from cgame as it is obsolete. - Add CG_DrawCrosshair3D so people see crosshair correctly when stereoseparation is enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1335 edf5b092-35ff-0310-97b2-ce42778d08ea
* - variables with CVAR_ROM set get now overwritten by Cvar_Get() if the cvar ↵thilo2008-05-011-11/+30
| | | | | | | | | exists already but was created by the user. - Fix null pointer crash in Cvar_Print_f(), thanks to humancontroller for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1334 edf5b092-35ff-0310-97b2-ce42778d08ea
* Make forced unloading work in more cases than just server disconnectsthilo2008-04-291-0/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1333 edf5b092-35ff-0310-97b2-ce42778d08ea
* - change default value for stereo seperationthilo2008-04-273-7/+29
| | | | | | | | - make clearing buffer use black for clearing when changing anaglyphmode - Make sure that dlights are greyscale, too. git-svn-id: svn://svn.icculus.org/quake3/trunk@1331 edf5b092-35ff-0310-97b2-ce42778d08ea
* This may enable stereo rendering for other devices like shutter glasses, but ↵thilo2008-04-272-3/+12
| | | | | | I don't know whether this works yet. git-svn-id: svn://svn.icculus.org/quake3/trunk@1330 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another two minor clean-ups to last commit.thilo2008-04-272-5/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1329 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Implement stereo rendering with anaglyph images.thilo2008-04-2710-130/+424
| | | | | | | - Add r_greyscale for black&white rendering git-svn-id: svn://svn.icculus.org/quake3/trunk@1328 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3611) prevent global symbol conflict on some systems (Mac OS X) fortjw2008-04-233-4/+3
| | | | | | | lcc's getopt (Ben Millwood) git-svn-id: svn://svn.icculus.org/quake3/trunk@1326 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix crash bug for interfaces without assigned address, thanks to PhoinixGR ↵thilo2008-04-211-1/+7
| | | | | | for reporting. git-svn-id: svn://svn.icculus.org/quake3/trunk@1324 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix obvious bug, thanks mattn2thilo2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1323 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix build on IRIX (Patrick Baggett)ludwig2008-04-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1322 edf5b092-35ff-0310-97b2-ce42778d08ea
* better handling of illegal mode valuesludwig2008-04-131-3/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1320 edf5b092-35ff-0310-97b2-ce42778d08ea
* sort video modes only if there are modes to sortludwig2008-04-131-1/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1319 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove commented codethilo2008-04-121-5/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1318 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another change to server parsing as a server reporting in from 69.79.84.0/24 ↵thilo2008-04-121-29/+25
| | | | | | with the master server could screw up the server list in ioquake3 clients. git-svn-id: svn://svn.icculus.org/quake3/trunk@1316 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some recently introduced warningstma2008-04-123-5/+4
| | | | | | | * Fix referenced pk3 list including excessive number of spaces git-svn-id: svn://svn.icculus.org/quake3/trunk@1315 edf5b092-35ff-0310-97b2-ce42778d08ea
* 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