aboutsummaryrefslogtreecommitdiffstats
path: root/code/renderer
Commit message (Collapse)AuthorAgeFilesLines
* See here:zakk2009-06-132-0/+4
| | | | | | | http://bugzilla.icculus.org/show_bug.cgi?id=4064 git-svn-id: svn://svn.icculus.org/quake3/trunk@1573 edf5b092-35ff-0310-97b2-ce42778d08ea
* < sg_Tequila> says that this is busted. Thilo will hopefully be pleased.zakk2009-06-101-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1572 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix code cleanupthilo2009-06-101-7/+10
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1571 edf5b092-35ff-0310-97b2-ce42778d08ea
* minor code cleanupthilo2009-06-101-10/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1570 edf5b092-35ff-0310-97b2-ce42778d08ea
* How did this happen?thilo2009-06-101-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1569 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replace a few sprintf with Com_sprintfthilo2009-06-011-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1565 edf5b092-35ff-0310-97b2-ce42778d08ea
* I'll retain the new way seeding the random number generator.. these calls ↵thilo2009-05-311-2/+0
| | | | | | are therefore redundant git-svn-id: svn://svn.icculus.org/quake3/trunk@1563 edf5b092-35ff-0310-97b2-ce42778d08ea
* Revert changes of rand() to random() as random() was redefined in quake3.thilo2009-05-311-2/+4
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1562 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Introduce seeding of the random number generator at startupthilo2009-05-311-4/+2
| | | | | | | - Replaced all engine-side occurances of rand() with random() git-svn-id: svn://svn.icculus.org/quake3/trunk@1561 edf5b092-35ff-0310-97b2-ce42778d08ea
* make some functions static (#4014)ludwig2009-05-021-15/+15
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1534 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Remove unexplainable ( tr.overbrightBits > 0 ) condition when correctingtma2009-03-121-4/+4
| | | | | | | gamma in screenshots git-svn-id: svn://svn.icculus.org/quake3/trunk@1509 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix some new GCC 4.3 warningstma2008-11-108-54/+81
| | | | | | | * Fix many many strict aliasing warnings, now that it's re-enabled git-svn-id: svn://svn.icculus.org/quake3/trunk@1487 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Update to jpeg-6b (only a decade old)tma2008-08-211-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1452 edf5b092-35ff-0310-97b2-ce42778d08ea
* * s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problemstma2008-08-126-17/+14
| | | | | | | | and you're using an nVidia graphics card, make sure your 'conformant texture clamp' setting is set to on for ioq3) git-svn-id: svn://svn.icculus.org/quake3/trunk@1445 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix confusion of cgame and renderer entity array bounds (Tr3B)tma2008-07-161-2/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1429 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Allow floating point values for r_zneartma2008-07-081-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1421 edf5b092-35ff-0310-97b2-ce42778d08ea
* * 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