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
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
Bill Currie
435c588e37
function header audit.
2001-02-09 02:53:09 +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
Ragnvald Maartmann-Moe IV
29ba2e38f7
remove unneeded input.h and keys.h
2001-01-22 23:01:38 +00:00
Ragnvald Maartmann-Moe IV
4b4fb0f9aa
Remove redundant include of input.h
2001-01-22 22:50:08 +00:00
Bill Currie
7dd9a2f783
while this is probably not the correct fix, it seems X shm needs to be
...
completely updated each frame
2001-01-20 22:08:40 +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
8247d35d32
The first messages on the console now wrap like they should, to the window
...
width instead of to 40 characters.
2001-01-09 00:03:08 +00:00
Ragnvald Maartmann-Moe IV
986a610860
Make ifdef's more consistent (and follow CodingStyle), HAVE_* cleanups, make -ggi target compile again, little whitespace, and sorted includes.
2000-12-30 18:26:29 +00:00
Bill Currie
ccba39666b
#include audit
2000-12-30 02:16:36 +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
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
ded66b1bde
Whitespace, optimizations to VID_Update()
2000-11-21 07:42:23 +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
Bill Currie
1abb6fe74c
fix the misaligned fullscreen window once and for all (fingers crossed:)
2000-10-22 07:14:47 +00:00
Bill Currie
d295f183ba
remove va from commdef.h and fix the consequences
2000-10-21 07:34:56 +00:00
Bill Currie
dcd1201131
create VID_GetWindowSize in vid.c and use it elsewhere for window size
...
selection. in_x11.c just had refs to scr_width and scr_height removed.
2000-10-21 07:15:30 +00:00
Jeff Teunissen
17ea696c0d
One of the biggest things keeping -mem/-heapsize numbers up is the video
...
memory in software mode. This is now taken care of, the memory is now
grabbed using calloc.
On Unix systems and all systems using SDL, the default video memory is now
8MB. This should now be enough for almost everybody, unless you have some
truly huge maps and boatloads of sounds. The minimum memory allowable is
now down to 4MB, but complex maps and/or models can cause the game to quit
-- not like this wasn't a problem already with the old 5.3MB lower limit,
but there it is.
2000-10-18 10:16:11 +00:00
Bill Currie
cf8afd73a3
vid_fullscreen cvar cleanup
2000-10-16 04:49:12 +00:00
Jeff Teunissen
e0a53aa9a2
cl_main.c: More VID_SetCaption status messages.
...
vid_*: Make it so that VID_SetCaption can be safely called with the output
from va()
2000-10-14 07:10:56 +00:00
Bill Currie
3df74ebf3f
should not be setting x_disp to anything
2000-10-05 19:14:14 +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
Jeff Teunissen
85e0b2b6aa
X11 targets have runtime caption setting now.
2000-10-03 07:10:48 +00:00
Bill Currie
9ece49b4e8
fix for Bug #105221 though it seems repeats were ignored anyway. this was done
...
by backporting the glx/x11 changes from nuq
2000-09-24 03:43:06 +00:00
Bill Currie
4f0e4c858a
Move the mouse cursor hiding code from in_x11 to vid_{x11,glx} so it is
...
guaranteed to be done /before/ the glx context is created. Hopefully this
fixes knghtbrd's ugly cursor problem.
2000-07-27 03:37:41 +00:00
Dabb
b183d0dcaf
VID_SetCaption (title) stubs - code added later.
2000-07-14 16:09:35 +00:00
Bill Currie
d75f6944c1
make XRaiseWindow happen unconditionally. Should help with qf not always
...
getting focus on v3.
2000-06-26 10:38:41 +00:00
Bill Currie
ee3f88d57d
add format checking to our printf style functions and correct the consequences
...
of this.
2000-06-17 12:27:59 +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
Bill Currie
ea1386f190
fixes for __attribute__((format)) (I'll commit that /after/ release) and freelook
2000-05-22 05:47:14 +00:00
Anton E. Gavrilov
a955b34f46
freelook cvar support
2000-05-22 03:15:30 +00:00
Bill Currie
af032b8d55
port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
...
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Marcus Sundberg
ad7b0f9c67
Re-arranged includes a bit to fix TRU64 warnings
2000-05-17 20:12:23 +00:00
Jeff Teunissen
7647fdd484
Configure.in: minor changes.
...
include/* -- #defines so that you can #include them more than once.
2000-05-17 18:28:13 +00:00
Bill Currie
832af13c12
all files now include config.h
2000-05-17 10:03:19 +00:00
Brian Koropoff
e30c17729c
Various things from theoddone. For some reason he can't commit...
2000-05-17 01:52:15 +00:00
Bill Currie
285f02e006
getting closer to working glx client
2000-05-16 07:21:28 +00:00
Dan Olson
1d26c02826
Cvar merge... segfault problems... also unknown problems in vid_svga.c
2000-05-16 04:47:41 +00:00
Marcus Sundberg
8d35343a0a
Imported nullcursor code from QF.
2000-05-14 19:24:44 +00:00
Joseph Carter
6e37b33f44
sys.h is no longer part of quakedef.h
...
sys_wina.S is now sys_x86.S (same as now gone sys_dosa.S, used on Linux too)
Updated Linux Makefile to reflect above
Linux translation table thingy now compiles properly
2000-05-14 16:56:28 +00:00
Thad Ward
d8b2f366a1
moved sound initializatio out of vid_* to cl_host, where it belongs
2000-05-14 03:32:06 +00:00
Dan Olson
ee500c9b0b
added extern viddef_t vid; to each of the vid_* files upon request
2000-05-13 17:37:19 +00:00
Joseph Carter
38f9b705b9
Whee! Every source file just got edited. Added the QF-style GPL header
...
to the top. What I didn't add was descriptions. Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Joseph Carter
81f38bb9ca
Moved vid_x.c -> vid_x11.c
2000-05-11 14:13:35 +00:00