aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
Commit message (Collapse)AuthorAgeFilesLines
* * Rename voip cvar to cl_voiptma2008-07-072-27/+4
| | | | | | | | | * s/#if USE_VOIP/#ifdef USE_VOIP/ * Add generalised runtime cvar range checking, currently on [sv|cl]_voip, dedicated and a bunch of r_ variables git-svn-id: svn://svn.icculus.org/quake3/trunk@1420 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend tma2008-07-053-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | <TylerSchwend@gmail.com>) * (bug 3623) COMMAND is mapped to the ALT key (Matthias <Kapffer@macbay.de>) * (bug 3665) Typo error in FS_FOpenFileByMode function (TsT <tst2006@gmail.com>) * (bug 3669) Some files left out of Solaris Packages (Vincent Cojot <vincent@cojot.name>) * (bug 3680) server quit messages (Ben Millwood) * (bug 3682) Maps with >1024 models cause a segfault (misantropia <bnoordhuis@gmail.com>) * (bug 3683) R_FindShader(): negative lightmap indexes cause stray pointers (misantropia <bnoordhuis@gmail.com>) * (bug 3688) q3asm potential segfault fix and other changes (TsT <tst2006@gmail.com>) * (bug 3695) Not allowing to write file with lib extention (.dll/.so/...) (TsT <tst2006@gmail.com>) * (bug 3696) make-macosx-ub.sh outdated by revision 1340; test for Tiger not working (Matthias <Kapffer@macbay.de>) * (bug 3698) #error reported as warning in q3cpp (and no #warning support) (Ben Millwood) * (bug 3703) restoring the valued pre-SDL window behaviour (/dev/humancontroller <devhc97@gmail.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@1405 edf5b092-35ff-0310-97b2-ce42778d08ea
* Added GL_EXT_texture_compression_s3tc support.icculus2008-06-132-2/+8
| | | | | | | | GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath is the common, vendor-neutral extension to get the same results. git-svn-id: svn://svn.icculus.org/quake3/trunk@1387 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-014-41/+70
| | | | | | | | | | - 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
* - 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-271-3/+0
| | | | | | 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-279-127/+420
| | | | | | | - Add r_greyscale for black&white rendering git-svn-id: svn://svn.icculus.org/quake3/trunk@1328 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
* 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
* Make sure that one broken shader file cannot crash the game / make the other ↵thilo2008-04-061-9/+41
| | | | | | shaders unusable. git-svn-id: svn://svn.icculus.org/quake3/trunk@1295 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
* 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-141-3/+4
| | | | 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-149-1211/+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
* * Replace "powered by ioq3" text with ui_ioq3 CVAR_ROMtma2007-12-112-7/+9
| | | | | | | | | | | | * 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
* * 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
* * (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
* * Revert 1176 -- MinGW's headers are too old *sigh*tma2007-09-127-37/+27
| | | | | | | | | * Revert to using literal function pointers for GL extensions rather than PFN* typedefs as some platforms' headers are broken enough that they prevent SDL_opengl.h from fixing things up if the PFN* typedefs are missing git-svn-id: svn://svn.icculus.org/quake3/trunk@1177 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove use of GL_ARB_multitexture since this has been part of thetma2007-09-108-39/+36
| | | | | | | core API for many years now git-svn-id: svn://svn.icculus.org/quake3/trunk@1176 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Replace the ugliness in qgl.h with SDL_opengl.htma2007-09-051-117/+6
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1163 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-058-884/+359
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rewrite of R_LoadImage to make it more generic and data driventma2007-08-262-42/+78
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1137 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3112) Removal of QVM name obfuscation (TsT <tst2006@gmail.com>)tma2007-08-241-13/+5
| | | | | | | | | | * Add developer warning when texture loading falls back on jpg from tga * Remove uppercase extension hack from texture loading since the Q3 pk3 file system is case insensitive anyway and you would likely want to know about the failures when loading images from the native FS git-svn-id: svn://svn.icculus.org/quake3/trunk@1133 edf5b092-35ff-0310-97b2-ce42778d08ea
* * PNG support from Joerg Dietrich <dietrich_joerg@t-online.de>tma2007-08-231-13/+2475
| | | | | | | * Cleanup of tabulation in R_LoadImage git-svn-id: svn://svn.icculus.org/quake3/trunk@1132 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3076) Map cycle breaks on empty or bot only servers (misanthropia)tma2007-08-231-51/+33
| | | | | | | | | | | | * (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 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
* print the shader loading message if the cvar "developer" is setludwig2007-08-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1124 edf5b092-35ff-0310-97b2-ce42778d08ea
* don't spam console with "loading..." messages when loading shadersludwig2007-08-161-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1123 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2972) add r_swapInterval support to SDL client (if libSDL >= 1.2.10)tjw2007-05-221-0/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1088 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. ↵thilo2006-12-151-2/+1
| | | | | | Thanks to Stefan Langer a.k.a. #@ for providing the fix. git-svn-id: svn://svn.icculus.org/quake3/trunk@1013 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Add r_customPixelAspect to support displays with non 1:1 pixel aspects (dotma2006-12-041-10/+12
| | | | | | | | | such things exist?) * Remove r_customaspect as its value is implied through the other three r_custom cvars git-svn-id: svn://svn.icculus.org/quake3/trunk@1011 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix endian issue in MDR loading.thilo2006-09-221-3/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@913 edf5b092-35ff-0310-97b2-ce42778d08ea
* * qvm files no longer installed by "make copyfiles"tma2006-08-132-2/+12
| | | | | | | | | | | | * Loopback clients only get snapshots at the server frame rate now (Anonymous <nkylqinhvgcbyl@mailinator.com>) * JPEG chroma subsampling disabled if the quality value is >= 85 (Anonymous <nkylqinhvgcbyl@mailinator.com>) * cl_lanForcePackets. When set to 0 (default is 1) the cl_maxpackets setting will be ignored if on a LAN. (Anonymous <nkylqinhvgcbyl@mailinator.com>) git-svn-id: svn://svn.icculus.org/quake3/trunk@838 edf5b092-35ff-0310-97b2-ce42778d08ea
* Another patch to make uncompressed AVI write in RGB24 format by anonymous ↵thilo2006-07-311-8/+7
| | | | | | virtualdub sympathiser. git-svn-id: svn://svn.icculus.org/quake3/trunk@825 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix from the VirtualDub people which should make avi files created with the ↵thilo2006-07-311-7/+8
| | | | | | video command playable with numerous windows players. git-svn-id: svn://svn.icculus.org/quake3/trunk@824 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix the MinGW build. Ugh.tma2006-05-061-1/+8
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@775 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add string length checking to function COM_StripExtension. This fixes the ↵thilo2006-05-062-4/+4
| | | | | | | | | R_RemapShader buffer overflow exploit that can be found here: http://milw0rm.com/exploits/1750 git-svn-id: svn://svn.icculus.org/quake3/trunk@765 edf5b092-35ff-0310-97b2-ce42778d08ea
* - remove leftover anistropic filtering variables from glconfig_tludwig2006-04-302-3/+5
| | | | | | | - check size of glconfig_t to prevent accidential ABI breakage in the future git-svn-id: svn://svn.icculus.org/quake3/trunk@735 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fixed incompatibility to original VMs introduced by anisotropic filtering ↵thilo2006-04-304-4/+13
| | | | | | | | | patch. - Removed dependency of flares from tr.identityLight because they are barely visible with r_overbrightbits set to 1 git-svn-id: svn://svn.icculus.org/quake3/trunk@734 edf5b092-35ff-0310-97b2-ce42778d08ea