Commit graph

29 commits

Author SHA1 Message Date
Bill Currie
98aeb39780 renamed _windowed_mouse to in_grab
Also, FULL SCREEN QUAKE IS HERE!!! unfortunatly, so is full screen quake :/. ie if you have the vidmode extentions, you don't have a choice at the moment. Still, that's just a matter of cvars :), but not tonight.
2000-05-01 13:08:01 +00:00
Joseph Carter
1e6abc2b65 cheap hack of a -nodga - this is ESSENTIAL for debugging! 2000-04-29 19:53:47 +00:00
Loring Holden
a95091b3c2 Changes to compile on systems w/out DGA support 2000-04-29 05:43:05 +00:00
Joseph Carter
15488dd27e cleaned up the DGA stuff a little 2000-04-29 02:41:54 +00:00
Joseph Carter
2d6b0867e7 Loring is gonna kill me because I paid no attention to systems without DGA
here..  I'll fix it later if you don't first.
2000-04-29 00:32:41 +00:00
Jeff Teunissen
da0a5cd041 Merged R_TranslatePlayerSkin() in gl_rmisc.c -- rest, misc. fixes, mostly
whitespace and spelling.
2000-04-08 10:38:33 +00:00
Joseph Carter
022803757a A little more... 2000-03-24 10:37:23 +00:00
Marcus Sundberg
c1fb651c0d Moved nullcursor handling here.
Fixed keyboard handling - XLookupString()??? how did that get here? We
should use XLookupKeysym().
Fixed _windowed_mouse handling - don't flood the X-server with silly
requests each time the pointer moves. Should hopefully make mouse movement
a bit smoother.
2000-03-19 18:54:25 +00:00
Marcus Sundberg
674ddcffe5 The big whitespace cleanup. ;-)
Removed trailing whitespace from code lines.
2000-03-19 15:59:51 +00:00
Bill Currie
c3d782a688 put in reference counting for the x_disp pointer and make openneing and closing
of the display centralised. This will eventually lead to a much improved X init
and shutdown code.

Unfortunatly, X still crashes for me after running uquake-glx (haven't tested
for qw-client-glx, but I imagine it's no different), but I've found it's after
running uquake-glx the /second/ time, so I suspect it's a utah-glx(mga)/mesa
bug. It could also be an X server bug. I'll see if I can upgrade my X and then
report to the utah-glx team.
2000-03-14 10:25:46 +00:00
Jeff Teunissen
c3a2272a76 Added a missing check for -DHAS_DGA to the #includes for DGA. 2000-03-10 18:40:37 +00:00
Joseph Carter
43e95bac41 Buttons 4 and 5 may now be bound in -x11 and -glx targets. They generate
the K_MWHEELUP and K_MWHEELDOWN events.
2000-03-06 10:55:14 +00:00
Bill Currie
b2b6b999ae disable DGA until the code can be reworked correctly. uquake-x11 no longer segs
X!
2000-03-05 08:41:26 +00:00
Dan Olson
d5e09cf5ef Added support to bind capslock,thanks to Tonik. I think I got all the targets. 2000-03-04 22:41:19 +00:00
Zephaniah E. Hull
41c969c2ac LoadPCX has been rewritten and now functions!! 2000-03-04 20:32:38 +00:00
Bill Currie
29f088f349 make gl compile/link with the new cvar system 2000-02-29 06:45:26 +00:00
Dan Olson
6305810ddb Some fixes for Cvars. Windows, GGI, and Sun should now all compile. 2000-02-28 01:52:08 +00:00
Dan Olson
106dada0b2 Non functional cvar code. Compiles, but won't run. 2000-02-27 07:13:32 +00:00
Zephaniah E. Hull
7a66abafb0 Err, never mind on buttons 4 and 5.. 2000-02-27 03:32:19 +00:00
Zephaniah E. Hull
20077b7b4f Added support for escaping things with \, may require some config
changes..

Cleaned up the ifdefs in gl_rpart.c
Added support for mouse buttons 4 and 5 in in_x11..
2000-02-27 03:31:16 +00:00
Marcus Sundberg
be77f29ec8 Merged IN_Commands with IN_Frame. 2000-02-19 14:52:17 +00:00
Marcus Sundberg
9baa100ca8 Made code work again. 2000-02-19 14:30:51 +00:00
Bill Currie
aa605d7d51 fix a nastyness in shutdown code 2000-02-19 09:53:47 +00:00
Zephaniah E. Hull
0fae0e01d3 Reverting away from modules in the main branch..
-3dfx, -x11, and -glx all work, at least for qw-client, no promices on uquake.
I can't test any other targets at the moment, so....
2000-02-19 08:24:15 +00:00
Loring Holden
1b7369d462 Makefile.in - let autoconf tell us how to do shared library stuff
cvar.c - added $include <stdlib.h>
in_x11.c - removed #include "menu.h" (unavailable in some cases & unneeded)
vid_sunx.c - now loads x11 plugin
world.c - only call SV_Error if compiling uquake or qw-server
2000-02-17 16:18:55 +00:00
Dan Olson
7d387042f7 New CVAR flag system. Appears to work perfectly 2000-02-16 21:30:20 +00:00
Jeff Teunissen
1bf5d6c30c Makefile.in: Removed -lvga from in_x11.so build
rest: misc. fixes
2000-02-15 19:25:09 +00:00
Joseph Carter
1d7260195f Renamed vid_x.c -> vid_x11.c, also renamed *-gl to *-glx, it it'll cause
less confusion that way (even if I have to type an extra letter..)
2000-02-13 09:06:11 +00:00
Zephaniah E. Hull
dd7d064733 in_x11.so, and actually check in the plugin code..
vid_x works, aside from a few, err, qwirks, in the input focus handling..
2000-02-12 08:08:31 +00:00