Commit Graph

25 Commits

Author SHA1 Message Date
Eric Windisch 0097989a6d Put CvarRegisterVariable(&vid_glx_mode) in the right spot, although it worked
before; now, it is organized :)
-- Eric Windisch
2000-01-09 06:52:34 +00:00
Marcus Sundberg 6a3e312d99 Fixed case values. 2000-01-09 06:45:17 +00:00
Eric Windisch 26c8db3327 Commented out Dga code in VID_ExtraOptionCmd() untill someone writes some that works :) 2000-01-09 06:14:30 +00:00
Eric Windisch 8450a21789 Hopefully, everything is somewhat working and everything compiles now.
Although i wouldn't be surprised if it doesn't :)
-- Eric Windisch
2000-01-09 06:10:20 +00:00
Marcus Sundberg dc89973cae Cleaned up includes.
#undef HAS_DGA until DGA extension is being properly used.
Added dgamouse variable.
Changed options_items into VID_options_items.
Made it start at 0 instead of 13.
Removed DGA code in VID_ExtraOptionCmd(). It doesn't do what it's supposed
to do, and DGA is not the right way to do it.
2000-01-09 05:55:26 +00:00
Eric Windisch 8dec8b28ff Maybe gl_vidlinuxglx.c works now ? :)
if it doesn't sorry, if it does.. maybe everyone will get off my case ;)
-- Eric Windisch
2000-01-09 05:36:41 +00:00
Eric Windisch 8862780003 More bug fixes to gl_vidlinuxglx.c for fullscreen/windowed switching..
now requires XMESA and DGA to do fullscreen switching,
although it shouldn't need XMESA in the future if you have DGA.
(XMESA needs DGA as a fallback, or that would be a bug in itself)

--
Eric Windisch
2000-01-09 05:23:14 +00:00
Eric Windisch 310ab78850 Fixed stupid bug where it can go into dga but not out of it.. untested.
gl_vidlinuxglx.c
-- Eric Windisch
2000-01-09 04:33:26 +00:00
Eric Windisch e430dcb260 If mesa fullscreen/window hack doesn't work, toggle dga.. (gl_vidlinuxglx.c)
--
Eric Windisch
2000-01-09 04:29:55 +00:00
Eric Windisch a09bf9b081 Ok, removed all the #define's and everything should be working fine now.
notify me of any bugs :)
--
Eric Windisch
2000-01-09 03:03:42 +00:00
Eric Windisch 8e4c3039d6 Bug fixes for the option menu code, it should compile now :)
You will not be able to select the new options until I fix that bug...
That bug should be fixed within a few minutes.
--
Eric Windisch
2000-01-09 01:53:54 +00:00
Eric Windisch c5b5abd9ee This is a big change.. I added two new functions that must be in every
target's video file.  These functions are VID_ExtraOptionDraw() and
VID_ExtraOptionCmd(int options_cursor).

These are to help modulize the option menu a bit, now all you have to do is
define #OPTIONS_ITEMS to one more then the number of items there are (this
is done in your target's vid*.c/gl_vid*.c file)

I also removed a bunch of #ifdefs, although a few #ifdef _WIN32's remain.
--
Eric Windisch
2000-01-09 01:11:44 +00:00
Nelson Rush dfbfbb6711 readded a copyright notice that somehow got removed
added "Portions" statement to the copyright statement

Please note, if you want to put a copyright notice on a source file stating that a portion of it is copyright yourself or another author please put "Portions Copyright...", if adding a seperate .c file that contains otherwise author(s) this doesn't apply.
2000-01-08 04:50:26 +00:00
Nelson Rush 2151636145 added copyrights for buffer overrun fixes 2000-01-07 05:47:53 +00:00
Joseph Carter 2193966719 Copyright notice stuff 2000-01-06 13:48:07 +00:00
Nelson Rush a77bb35db6 Fixed buffer overflow problems, changed sprintf to snprintf don't use this yet, i have a few things that need to be fixed. 2000-01-05 00:05:48 +00:00
Joseph Carter 68785812de More BSD fixes from Darius 2000-01-03 08:00:46 +00:00
Jeff Teunissen 4abffbc7bb gl_ztrick is now saved in the config.cfg file 2000-01-01 16:20:38 +00:00
Jeff Teunissen 87419fbacc Fixed my slight GLX screwup with _windowed_mouse -- thanks to Marcus
Sundberg for supplying patch.
2000-01-01 12:31:54 +00:00
Jeff Teunissen e902071cbb Made OpenGL targets in X remove the cursor when _windowed_mouse 1 is set.
Also, committed patch from Marcus Sundberg <mackan@stacken.kth.se> or
1999-12-31 13:22:02 +00:00
Joseph Carter e3ac6357dc Loring Holden's autoconf support. {qw-client,quake}-glide is currently not built since neither of us has the hardware available at the moment to test the 3dfx MiniGL target. Someone who does (Mercury?) will have to fix that. Bins all build in odd places for the moment. Thanks for staying up so late to help get this working Loring, you rock! 1999-12-29 13:58:47 +00:00
Zephaniah E. Hull 5765f7fe5d BIG merge work, POQ now compiles, though at least glquake.3dfx has, err, issues..
Hopefully QW will still compile and work, thats the next commit I think..
1999-12-26 06:37:28 +00:00
Zephaniah E. Hull 6ba933cf80 Added the KP_* symbols, for the keys on the keypad.. 1999-12-25 21:50:55 +00:00
Zephaniah E. Hull 570ede5076 Changed the root makefile so any rule will be passed along, not just 'all'.
Removed qw_client/gl_vidlinux_svga.c, nothing uses it and its almost a exact duplicate of gl_vidlinux.c.

Cleaned up ALL the compile time warnings..
1999-12-25 19:37:15 +00:00
Jeff Teunissen ff0aeecd3a Initial revision 1999-12-25 05:32:39 +00:00