Commit graph

79 commits

Author SHA1 Message Date
Bill Currie
1afaefd9dc hardware gamma support. I don't know how well it works (hard to tell on my
test box), but it doesn't crash :)
2001-10-20 20:59:55 +00:00
Bill Currie
0fad122bc3 final fixes to get -wgl working. 2001-10-20 19:50:03 +00:00
Bill Currie
412959acba whitespace 2001-10-20 18:52:57 +00:00
Bill Currie
305fc0c371 misc fixes to get -wgl to cross compile 2001-08-15 18:07:55 +00:00
Jeff Teunissen
765a22a033 Remove the rest of the calls to GL_CheckBrightness() 2001-05-13 19:22:31 +00:00
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
Thad Ward
6162fd8017 got win32 building again. not sure (yet) if it works as advertised.
will fully test later.
2001-05-02 22:53:10 +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
Dabb
cabd99e201 Oooops :-) 2001-02-17 12:42:06 +00:00
Dabb
6356c8e596 Default to 16bit colors. 2001-02-17 12:24:39 +00:00
Bill Currie
20b9411bcc disable transparent pixels in the conback. They will still currently be black,
but at least they won't flicker on some drivers.
2001-02-16 22:07:40 +00:00
Dabb
2bb4a60a69 Cleaning up code and adding little more error reporting. Also, now cleans
leftovers when funcs fails bit better.
2001-02-16 14:28:01 +00:00
Forest Hale
14a519c548 whitespace cleanup (spaces -> tabs) after dabb's assault with Edit. 2001-02-10 10:53:50 +00:00
Dabb
369949e1d7 Add some comment about fix so it wont get removed as "unneeded" 2001-02-09 23:00:15 +00:00
Dabb
7b9f46471c Fix for alt-tab problem on nvidia cards. Thanks go to Tim for figuring this out. 2001-02-09 22:51:14 +00:00
Bill Currie
435c588e37 function header audit. 2001-02-09 02:53:09 +00:00
Dabb
d28d3d3df9 Added -brokenpopup to allow alt-tabbing with some broken video drivers,
until I've found a way to avoid the bug.
Also, fixed one crash, so instead of crashing, we notify user that its time
to upgrade drivers :-)
2001-02-08 10:57:58 +00:00
Bill Currie
d57a22fe87 hopefully the last of the " gaffs 2001-02-06 19:53:20 +00:00
Bill Currie
c6e087015c command docs patch from Misty-chan because his access hasn't completely come
through yet.
2001-02-06 02:56:14 +00:00
Dabb
19f03a4c26 Nuked -no8bit and added vid_use8bit CVAR, ROM. Also, 8bit is now
off by default.
2001-01-17 17:08:57 +00:00
Bill Currie
bbac14a7d5 commands now sport descriptions (currently "No Description", but then I'm a
lazy bastard:)
2001-01-15 17:07:06 +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
1fed0a6664 Nuked some leftovers from Havoc. 2001-01-05 16:31:06 +00:00
Bill Currie
365ece328b hopefully fix some mingw compilation issues 2001-01-04 18:38:05 +00:00
Dabb
5ba9c66816 Nuked unused "texture_mode" - probably leftovers from old stuffs. 2000-12-31 13:59:19 +00:00
Dabb
d76c72a169 More cleanups, nothing major. 2000-12-31 13:51:31 +00:00
Bill Currie
76a11bd74a cvar doc patches from Misty 2000-12-31 04:46:04 +00:00
Dabb
0348d7c870 Nuked #include <commctrl.h> 2000-12-30 19:23:56 +00:00
Dabb
e91739410d Fixed compile error after Despair cleanups ;-) 2000-12-30 19:14:54 +00:00
Ragnvald Maartmann-Moe IV
35b8c3f79c Minor include sorting/cleanup. 2000-12-30 19:05:34 +00:00
Bill Currie
c71fc78360 it was decided the menu code should return until release. here it is with the
gettimeofday -> Sys_DoubleTime change (though I'm having some operational
issues (non-critial) with the server list).
2000-12-29 03:14:53 +00:00
Zephaniah E. Hull
01238243c1 Due to snax's ping stuff not compiling under windows, I did a little
cleaning.

Specificly, the entire menu system has been completely and utterly
removed.

Flame me AFTER writing a replacement. <=:]
2000-12-26 17:41:26 +00:00
Dabb
20f0e102ce More win32 cleanups:
"Unused" code for startup dialog now has #ifdef SPLASH_SCREEN.
Removed extra variables which were not used.
2000-12-20 18:18:04 +00:00
Dabb
4822383a94 Minor cleanup (dibwindow) and some cosmetic changes :) 2000-12-20 16:42:51 +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
Dabb
0dd34a3e20 Added include host.h 2000-12-05 20:29:15 +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
Dabb
8ce7084ba1 Added Key_Event (whatever, -1, whatever). To use that "Internal mess" until someone has time to do this "right" ;-) 2000-11-22 07:27:46 +00:00
Bill Currie
d31a9f73de Always use COM_CreatPath instead of Sys_mkdir 2000-11-08 06:07:03 +00:00
Dabb
81840d58c6 ICON2 -> ICON1 - LoadIcon works now for win32. 2000-11-02 19:47:33 +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
Thad Ward
06996ffe01 fix build errors in vid_wgl and vid_mgl 2000-10-29 08:45:37 +00:00
Bill Currie
669648778f hopefully help Coderjoe with win32 compilation 2000-10-29 00:13:23 +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
f7f968daeb -gamma removal 2000-10-23 10:26:43 +00:00
Bill Currie
d295f183ba remove va from commdef.h and fix the consequences 2000-10-21 07:34:56 +00:00
Jeff Teunissen
ea766e6203 Fix the VID_SetCaption () bug here too 2000-10-19 18:07:00 +00:00
Bill Currie
2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Bill Currie
065abe9464 make VID_SetCaption consistent wherever appropriate (ie possibly windowed
environments). caption is "PROGRAM VERSION[: text]".
2000-10-04 05:45:48 +00:00