Commit graph

12 commits

Author SHA1 Message Date
Bill Currie
a12c6913dc compile fixes 2001-02-11 22:59:06 +00:00
Jeff Teunissen
2c703a045e VidMode detection changes. 2001-02-11 22:17:19 +00:00
Bill Currie
d828ba64b3 fix version number for 3.3.5 this MIGHT cause problems for 3.3.6, dunno. 2001-02-11 22:11:18 +00:00
Jeff Teunissen
443944c48b context_x11.c: whitespace.
dga_check.c: Make sure that the version of the VidMode extension at
runtime is the same version we compiled with, to deal with a structure
change that occurred between VidMode extension versions 1 and 2. If a
version 3 is developed, this will have to be fixed again.
2001-02-11 16:05:52 +00:00
Bill Currie
f59aa3034c dga_check.c:
fix dga checking. just because the dga queries succeed doesn't mean it's
	actually there.
in_x11.c:
	whitespace
2001-02-09 22:24:44 +00:00
Ragnvald Maartmann-Moe IV
800ee05584 More whitespace than you can shake a shambler at. 2001-02-07 05:45:59 +00:00
Jeff Teunissen
2f8f1b39b7 Add the use of XQueryExtension() to the DGA and VidMode checks. The game
should no longer crash if the VidMode or DGA extensions are not present at
runtime.
2000-12-19 02:42:26 +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
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
Jeff Teunissen
afae879d2e dga_check.h: DGA and VidMode check functions return qboolean, not
int. Cleaned up prototypes to not include variable names.

dga_check.c: Fix bug in DGA detection that lead to segfault.

in_x11.c: Better DGA input support for X targets; The -nodga parameter is
gone, it is now the in_dga Cvar, which is dependant on the _windowed_mouse
Cvar. in_dga is archived.
2000-10-21 05:30:34 +00:00
Bill Currie
290c2f9c0f +set_vidfullscreen is 95% working for -x11 and -glx. only remaining known problem is mouse grabbing. 2000-05-23 07:33:03 +00:00
Bill Currie
3951d1fe4c bring across the VID and IN modules for svga, x11 and glx from OT. 2000-05-23 06:36:33 +00:00