Commit graph

20 commits

Author SHA1 Message Date
Bill Currie
cf00f21f99 I'm suprised I didn't lose control of my computer. turns out I forgot to copy the keyboard grabbing code from glx to x11. 2000-05-01 23:49:17 +00:00
Bill Currie
b50e9a1d11 prevent vidmodes ever being null if hasvidmode is 1 2000-05-01 23:40:24 +00:00
Dan Olson
2fa525f544 let's see....
cmd.c - added "grab" and "ungrab" commands for -nodga mouse grabbing and
	ungrabbing (go figure)
cvar.c - Made descriptions carry over if the cvar was set on the command line
in_sun.c - removed a stupid comment
vid_* - added "vid_fullscreen", off by default.  You have to set at the command
	line or in quake.conf (or whatever it is) for it to take effect.
2000-05-01 22:53:16 +00:00
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
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
Bill Currie
b1ce871546 apply the viddef_t patches from Jukka Sorjonen <jukka.sorjonen@asikkala.fi> 2000-04-06 09:21:42 +00:00
Joseph Carter
18e1ccb53f Hopefully I fixed the lame VID_(Unl|L)ockBuffer shit. If a target doesn't
build I may have defined it twice accidentally.  Doesn't happen with any
target I build though..
2000-03-31 23:58:53 +00:00
Joseph Carter
8bbe24a289 All finished! 2000-03-24 14:43:43 +00:00
Marcus Sundberg
d0e8fa0aae Moved nullcursor handling to in_x11.c. 2000-03-19 18:48:46 +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
Joseph Carter
8b18f9d56b A little cleanup...
S_Init() is now where it belongs--outside of VID_Init().  I think I did
manage to update every target.  If I missed one, kill the sound.h include
and remove S_Init() from VID_Init().

New Cvar: r_sky, defaults to 0, turn it on if you want to use skyboxes.
Cvar r_skyname can actually be used now I _think_, need another skybox
to test it.  Quake2000's instructions were used in the skybox stuff but,
as all know by now, our tree is so different from anyone else's that I had
to redo a number of things.  But thanks all the same--cut the time spent
debugging it in half.  I also want to thank whoever did the night skybox
on the MegaTF page I used to test.  Looks great on start map!

New GL-specific Cvar: r_conspin, defaults to 0.  Turn it on.  You can turn
it off too.  Shamelessly ripped from QER.
2000-03-02 19:57:24 +00:00
Dan Olson
54409e23fa This should fix up the last of the show stoppers from the cvar merge.
Fixes -glx and -3dfx.
2000-02-28 19:13:16 +00:00
Bill Currie
78a1e3e6bc can't use Con_Printf at this stage 2000-02-20 06:18:33 +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
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
6d8a39b2dd Pass just the filename to the plugin loader, no path. taniwha will do
some black voodoo (is that a plug for 3dfx?) with the plugin code shortly
to make it work..
2000-02-14 00:46:43 +00:00
Joseph Carter
bb5623aa9e input.h is gone - was empty anyway. vid_x11.c now is responsible for init
of the input routines it can use.  All vid targets should do this for the
input method they should use.  While this is essentially hardcoding, it's
kinda necessary for now.  Once we have everything working and tested we
can work on an interdependency scheme so X input methods only work with X
output methods, etc...
2000-02-13 11:31:00 +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
Renamed from common/vid_x.c (Browse further)