Zachary Slater
95060e4fb6
See here:
...
http://bugzilla.icculus.org/show_bug.cgi?id=4064
2009-06-13 22:00:28 +00:00
Zachary Slater
49a2e1913e
< sg_Tequila> says that this is busted. Thilo will hopefully be pleased.
2009-06-10 19:47:45 +00:00
Thilo Schulz
5e108751f2
fix code cleanup
2009-06-10 10:41:11 +00:00
Thilo Schulz
a7417a4bde
minor code cleanup
2009-06-10 09:00:31 +00:00
Thilo Schulz
b9bcf3da94
How did this happen?
2009-06-10 08:25:01 +00:00
Thilo Schulz
eaaaa6f5fc
Replace a few sprintf with Com_sprintf
2009-06-01 00:18:02 +00:00
Thilo Schulz
4e8a181073
I'll retain the new way seeding the random number generator.. these calls are therefore redundant
2009-05-31 20:30:37 +00:00
Thilo Schulz
e4d0c14f70
Revert changes of rand() to random() as random() was redefined in quake3.
2009-05-31 20:24:10 +00:00
Thilo Schulz
b40f1507ea
- Introduce seeding of the random number generator at startup
...
- Replaced all engine-side occurances of rand() with random()
2009-05-31 19:48:28 +00:00
Ludwig Nussel
ad06af3d8f
make some functions static ( #4014 )
2009-05-02 18:01:02 +00:00
Tim Angus
18b27806bc
* Remove unexplainable ( tr.overbrightBits > 0 ) condition when correcting
...
gamma in screenshots
2009-03-12 19:20:20 +00:00
Tim Angus
72dea0a184
* Fix some new GCC 4.3 warnings
...
* Fix many many strict aliasing warnings, now that it's re-enabled
2008-11-10 23:55:22 +00:00
Tim Angus
953200cafc
* Update to jpeg-6b (only a decade old)
2008-08-21 23:29:09 +00:00
Tim Angus
f2baf359ae
* s/GL_CLAMP/GL_CLAMP_TO_EDGE/g (If this change appears to cause you problems
...
and you're using an nVidia graphics card, make sure your 'conformant texture
clamp' setting is set to on for ioq3)
2008-08-12 19:34:43 +00:00
Tim Angus
3855f65d17
* Fix confusion of cgame and renderer entity array bounds (Tr3B)
2008-07-16 18:07:36 +00:00
Tim Angus
8ea86a4670
* Allow floating point values for r_znear
2008-07-08 09:15:48 +00:00
Tim Angus
37d664d4b2
* Rename voip cvar to cl_voip
...
* 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
2008-07-07 22:31:39 +00:00
Tim Angus
2c0861c1ce
* (bug 3610) Server sending unnecessary newline with SV_ConSay_F (Tyler Schwend
...
<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>)
2008-07-05 23:50:38 +00:00
Ryan C. Gordon
c923872ca2
Added GL_EXT_texture_compression_s3tc support.
...
GL_S3_s3tc, which Quake 3 previously supported, is legacy. This new codepath
is the common, vendor-neutral extension to get the same results.
2008-06-13 02:28:51 +00:00
Thilo Schulz
fa0ff6aaac
shut up warning
2008-05-01 16:10:01 +00:00
Thilo Schulz
10ed996784
- replace a few constant values with GL macros in tr_cmds.c
...
- 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
2008-05-01 14:56:57 +00:00
Thilo Schulz
1156a63d52
- change default value for stereo seperation
...
- make clearing buffer use black for clearing when changing anaglyphmode
- Make sure that dlights are greyscale, too.
2008-04-27 21:09:03 +00:00
Thilo Schulz
ae08d1a6d8
This may enable stereo rendering for other devices like shutter glasses, but I don't know whether this works yet.
2008-04-27 19:07:57 +00:00
Thilo Schulz
782b890caa
Another two minor clean-ups to last commit.
2008-04-27 17:43:35 +00:00
Thilo Schulz
425c351d1b
- Implement stereo rendering with anaglyph images.
...
- Add r_greyscale for black&white rendering
2008-04-27 17:32:14 +00:00
Thilo Schulz
32bd0ab5bd
Add length checking to prevent malicious mdr files to overflow buffers.
2008-04-08 18:56:03 +00:00
Thilo Schulz
cafbb38d85
Handle detail textures correctly when r_detailedTextures is set to 0.
2008-04-06 16:29:22 +00:00
Thilo Schulz
0811b1c99c
Actually take into account how SkipBracedSection works. It requires a section to start with a single separate '{'. So we need to require this here, too.
2008-04-06 02:24:07 +00:00
Thilo Schulz
5c1167557a
Make sure that one broken shader file cannot crash the game / make the other shaders unusable.
2008-04-06 02:13:43 +00:00
Thilo Schulz
ccffb85185
This hack probably is not needed anymore.
2008-03-27 02:42:17 +00:00
Ludwig Nussel
c0f7c8d9cd
png fixes by Joerg Dietrich
2008-02-15 08:37:44 +00:00
Ludwig Nussel
d91c5c9282
make the pcx decode actually work
2008-02-14 13:30:32 +00:00
Tim Angus
a5b51a95d7
* Consolidate tr_image_*.h headers into tr_local.h to more closely follow the
...
Q3 coding style
* Prefix image loaders with R_ now they're non-static
2008-02-14 13:16:13 +00:00
Ludwig Nussel
84f32478b9
remove code duplicated from libjpeg and make internal functions static
2008-02-14 11:13:51 +00:00
Ludwig Nussel
7132b492dd
don't read more memory than available in jpg decode
2008-02-14 11:13:42 +00:00
Ludwig Nussel
c77f537ae3
make pcx decoder more robust against corrupt files
2008-02-14 11:13:30 +00:00
Ludwig Nussel
85ba66e7e8
move all image decoders into separate files
2008-02-14 11:13:18 +00:00
Ludwig Nussel
a3d62033d8
make tga decoder more robust against corrupt files
2008-02-14 11:12:59 +00:00
Ludwig Nussel
02d842532e
make bmp decoder more robust against corrupt files
2008-02-14 11:12:42 +00:00
Ludwig Nussel
f65dbd4351
integer overflow safeguards
2008-02-12 10:03:43 +00:00
Ludwig Nussel
4eec54c338
move png support to separate file
2008-02-12 10:03:21 +00:00
Tim Angus
b9ab949ec7
* Replace "powered by ioq3" text with ui_ioq3 CVAR_ROM
...
* 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
2007-12-11 00:19:23 +00:00
Tim Angus
e8d3c48535
* Whitespace consistency in tr_init.c
2007-11-07 20:16:37 +00:00
Tim Angus
31c24bd0d2
* (bug 3393) Blank user names still possible (Michael Jard <kfaust@gmail.com>)
...
* (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
2007-11-02 23:36:23 +00:00
Tim Angus
1d54a9ebe5
* Revert 1176 -- MinGW's headers are too old *sigh*
...
* 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
2007-09-12 18:02:38 +00:00
Tim Angus
4f4f0c0dab
* Remove use of GL_ARB_multitexture since this has been part of the
...
core API for many years now
2007-09-10 22:28:58 +00:00
Tim Angus
904cce6311
* Replace the ugliness in qgl.h with SDL_opengl.h
2007-09-05 18:56:39 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Tim Angus
034e6e8f20
* Rewrite of R_LoadImage to make it more generic and data driven
2007-08-26 21:27:46 +00:00
Tim Angus
4997c4764a
* (bug 3112) Removal of QVM name obfuscation (TsT <tst2006@gmail.com>)
...
* 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
2007-08-24 00:04:08 +00:00