Commit graph

35 commits

Author SHA1 Message Date
Jeff Teunissen
765a22a033 Remove the rest of the calls to GL_CheckBrightness() 2001-05-13 19:22:31 +00:00
Bill Currie
6a75c4e00d vid_gamma now seems to work :) 2001-04-23 04:16:17 +00:00
Bill Currie
bd06625c55 backport the gamma code from the quakeforge tree in preparation for 0.3.1
Doesn't work yet because VID_UpdateGamma needs to be called at the
appropriate time and cvar callbacks are not implemented in newtree.
2001-04-23 03:52:20 +00:00
Bill Currie
435c588e37 function header audit. 2001-02-09 02:53:09 +00:00
Chris Ison
222eea81b1 adding brighten support 2001-02-06 01:44:12 +00:00
Jeff Teunissen
2e61696d5c whitespace. 2001-01-23 04:12:48 +00:00
Bill Currie
8b39af51f2 another missing ) 2001-01-22 22:48:58 +00:00
Bill Currie
39ee51118d fix a missing ) 2001-01-22 22:40:36 +00:00
Jeff Teunissen
076db7b5b2 Oops, screwed up the paren placement. :) 2001-01-22 18:26:41 +00:00
Jeff Teunissen
3ea4bdda68 Handle 3DFX_set_dither_mode extension properly. 2001-01-22 18:21:46 +00:00
Jeff Teunissen
8247d35d32 The first messages on the console now wrap like they should, to the window
width instead of to 40 characters.
2001-01-09 00:03:08 +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
Bill Currie
ccba39666b #include audit 2000-12-30 02:16:36 +00:00
Jeff Teunissen
4297432d7e [grumble] 2000-12-08 11:16:07 +00:00
Jeff Teunissen
b21b9ce163 Include qfgl_ext.h in 3Dfx... 2000-12-08 11:06:00 +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
ebc281c279 Use QFGL on 3Dfx. 2000-12-08 04:36:23 +00:00
Dabb
8bd6cf15c2 Added #include "host.h" 2000-12-06 13:54:49 +00:00
Bill Currie
97f7b9a568 rename quakedef.h to host.h (I should have done this months ago).
NOTE: -{sdl,sgl,3dfx,ggi,wgl,mgl} targets are very likely to be broken
if any file fails to compile, just put #include "host.h" into it
2000-12-05 06:33:44 +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
Bill Currie
9f455da123 hopefully, this will compile 2000-10-27 04:04:26 +00:00
Bill Currie
caf7d73751 hopefully a little closer to compiling 2000-10-26 23:45:33 +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
Bill Currie
f28f087ddc width and height name issues 2000-10-21 21:17:51 +00:00
Bill Currie
dcd1201131 create VID_GetWindowSize in vid.c and use it elsewhere for window size
selection.  in_x11.c just had refs to scr_width and scr_height removed.
2000-10-21 07:15:30 +00:00
Zephaniah E. Hull
e4c9ccff8f Cvar audit 1, all unused cvars are gone, with the exception of software
rendering, and the server.
2000-09-30 04:08:40 +00:00
Zephaniah E. Hull
01a5c65e52 More cleanup, now working on the rendering line as a whole.
Con_SafePrintf is no longer needed, as Con_Printf is safe.
2000-09-29 19:29:22 +00:00
Zephaniah E. Hull
822453e3e2 Whoops, enable GL_BLEND on start. 2000-09-28 08:12:50 +00:00
Bill Currie
86f87122c0 zlib support (gzipped pack contents). if you have a probelm with gzgets, you
have 3 choices: remove /usr/X11R6/lib/libz.a, --diable-zlib, or fix configure.
I do intend on fixing it myself.
2000-09-27 19:44:26 +00:00
Zephaniah E. Hull
210ba16069 First off in gl_draw.c we have some nice cleanup code for the upload
code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
2000-09-22 09:08:08 +00:00
Dabb
b183d0dcaf VID_SetCaption (title) stubs - code added later. 2000-07-14 16:09:35 +00:00
Zephaniah E. Hull
4f8cabf049 Small syntax cleanup in cmd.h.
Reworking of extension handling in -3dfx..
Support for changing the 3dfx dithering mode, if the extension is supported.
(Extension is /not/ in upstream mesa yet.)
2000-06-21 16:24:17 +00:00
Joseph Carter
32b13fb303 gl_finish - it's done
gl_ztrick - here's the hat, but no rabbit

considering that a buggy driver can make gl_ztrick into a sort of cheat if
you can stand the flicker, it's gone.  gl_finish was already a zombie Cvar
so I just removed its definition.
2000-06-17 13:30:39 +00:00
Joseph Carter
3287c0e38b ARB multitexture for glx, wgl, and 3dfx targets 2000-06-09 21:34:21 +00:00
Zephaniah E. Hull
53b2cafae8 We have -3dfx again, took me a hour or two to do it.. 2000-06-09 20:15:08 +00:00