Commit graph

35 commits

Author SHA1 Message Date
Jeff Teunissen
272abade38 Backport Cvar callbacks to newtree. Software gamma still doesn't work in
GL, and I still don't know exactly why.
2001-05-13 05:10:02 +00:00
Jeff Teunissen
bfc25fa462 Gamma cleanups. Software gamma still doesn't work in GL. 2001-05-12 06:53:53 +00:00
Chris Ison
ad37b9cedd fixing LordHavocs untested code 2001-03-16 13:48:24 +00:00
Forest Hale
a8df60c554 cleaned up d_8to24table (build as bytes to avoid endian-issues and make it more readable) and d_15to8table building (faster and MUCH more readable) 2001-03-16 13:05:57 +00:00
Bill Currie
435c588e37 function header audit. 2001-02-09 02:53:09 +00:00
Ragnvald Maartmann-Moe IV
0e88a1f18b Fix crosshair blurring, while maintaining gl_texturemode handling. 2001-01-27 11:01:51 +00:00
Jeff Teunissen
fc005fc215 Cleanup of extensions, they are no longer defined in glquake.h. In
addition, removed support (for now) for SGIS and EXT multitexture. It
allowed me to enhance support for ARB multitexture, which is better anyway
(especially for Radeon, but that won't get special support yet until we
need a third texture pass).

Updated the Unix 8-bit GL code to be more like the Windows version, which
may work better. It still defaults off, because many drivers have bugs in
their handling of the shared texture palette extension.
2001-01-06 07:29:17 +00:00
Dabb
5ba9c66816 Nuked unused "texture_mode" - probably leftovers from old stuffs. 2000-12-31 13:59:19 +00:00
Ragnvald Maartmann-Moe IV
986a610860 Make ifdef's more consistent (and follow CodingStyle), HAVE_* cleanups, make -ggi target compile again, little whitespace, and sorted includes. 2000-12-30 18:26:29 +00:00
Jeff Teunissen
c1e0cf7b8e Use RGB palettes for shared palette extension instead of RGBA. 2000-12-28 06:45:19 +00:00
Zephaniah E. Hull
22ba7f9f28 The GL_EXT_shared_texture_palette seems like an idea which is
/almost/ a good idea, but seems to be severely broken with many
drivers, as such it is disabled.

It should be noted, that a palette object extension as suggested by
the GL_EXT_shared_texture_palette spec might be a very good idea in
general.
2000-12-22 09:22:54 +00:00
Dabb
c8ee33715b Include winquake.h must be BEFORE include gl/gl.h or compile WILL fail
with win32.
2000-12-10 10:54:04 +00:00
Jeff Teunissen
329d51b4e8 context_x11.h -- didn't mean to commit my local changes
rest: Apply patches from Michael Weiser <michael@weiser.saale-net.de>
2000-12-08 07:46:40 +00:00
Jeff Teunissen
54e2a4d9d3 Okay, the big whitespace reformat. There is some silliness (case
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Jeff Teunissen
c74861ceb5 Remove unnecessary HAVE_DLOPEN check 2000-12-08 06:10:50 +00:00
Jeff Teunissen
975ff3ceff Make vid_common_gl.c use the new extension system. 2000-11-29 04:59:18 +00:00
Jeff Teunissen
4e72832846 8-bit detection updates. No more -no8bit, it defaults off anyway. set
vid_use8bit 1 to check for 8-bit extensions.
2000-11-23 07:21:46 +00:00
Dabb
a58579cebf Added couple more #ifdef DLOPEN and also moved #include winquake.h. It must be before #include gl.h, or compile will fail. 2000-11-22 13:05:27 +00:00
Bill Currie
1697026a62 fix some compile and link errors 2000-11-22 02:28:10 +00:00
Jeff Teunissen
25db5b29b5 Clean up 8-bit handling. It might work properly, it might not (not that it
worked before), but at least it's cleaner.
2000-11-21 09:10:35 +00:00
Bill Currie
f62b1dd2d4 take care of PFNGLCOLORTABLEEXTPROC properly. I just hope the configure test
works for those that DO have it.
2000-11-18 04:25:01 +00:00
Bill Currie
15c31544cf now compiles when glext.h is unavailable 2000-11-17 17:19:29 +00:00
Jeff Teunissen
9dd801f0d3 Okay, ONE MORE TRY... 2000-11-17 07:18:22 +00:00
Jeff Teunissen
9106db191d Okay, let's see if this fixes the 8-bit problems... 2000-11-17 07:12:28 +00:00
Jeff Teunissen
aad43f6d00 Okay, one more try. 2000-11-16 23:23:53 +00:00
Jeff Teunissen
84df26b7cc This _might_ fix the shared palette issue. 2000-11-16 22:37:59 +00:00
Dabb
c36a485851 Borland compile fix (one I forgot to commit :-). Needs to have winquake.h included for sgl. 2000-11-16 15:07:48 +00:00
Jeff Teunissen
e5641c148b Yaay, Debian package updates. 2000-11-14 21:45:34 +00:00
Ragnvald Maartmann-Moe IV
01853a7b9b Restore missing paren. 2000-11-09 17:21:15 +00:00
Bill Currie
26c6b9618f fix a couple of problems that came up in SGI 2000-11-07 23:43:05 +00:00
Zephaniah E. Hull
13bd5ce012 The init sequence cleanup!
Also broke up client.h into a lot of smaller headers.
Oh, software rendering works again.

And yes, this does hit a hell of a lot of files.
2000-10-29 15:35:24 +00:00
Jeff Teunissen
5bb2a9002c Change fires to a more visually-appealing red-orange color. Looks *killer*
Add -brighten arg to GL targets, to replace -gamma but still look nice.
"-brighten 2.5" brightens the palette by 2.5 times, to give a similar
effect to the brightness cvar, but without the dithering brightness
gives. This is a palette hack, which means it _can't_ be a cvar.
2000-10-28 07:11:37 +00:00
Jeff Teunissen
0630268292 white space 2000-10-27 10:17:38 +00:00
Bill Currie
217f59e1ed glx, sdl and sgl now all compile on my system (at work), but sgl doesn't link 2000-10-26 16:29:45 +00:00
Bill Currie
27465bc765 bring in Despair's (Ragnvald Maartmann-Moe IV, rmmiv@earthlink.net) clean up
of the gl setup code.
2000-10-26 06:08:09 +00:00