Commit graph

39 commits

Author SHA1 Message Date
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
4ee0be8f91 first step on the way to merged gl_screen.c and screen.c 2000-12-07 11:12:19 +00:00
Bill Currie
dbbc2cd777 comment patches from Misty 2000-12-07 00:08:42 +00:00
Bill Currie
29970187d7 sprintf audit. 2000-12-05 16:51:01 +00:00
Zephaniah E. Hull
66e0e31b57 strcat -> strncat
sprintf -> snprintf

AKA, really big buffer overflow security fixes.

More to come, geez we have holes everywhere.
2000-12-05 11:08:30 +00:00
Bill Currie
cbf7cd5447 show_time 2 will select 12h clock as opposed to 24h (Misty again) 2000-12-05 06:57:44 +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
Bill Currie
9554be96f9 clean up screen.c and gl_screen.c includes
remove scr_allowsnap from screen.c
move crosshair related cvars to *screen.c
2000-12-05 05:55:16 +00:00
Bill Currie
481fe0b9ed Misty's hudswap/fps/time patch to put the fps/time on the opposite side of the
screen to the hud.
2000-12-05 04:21:47 +00:00
Bill Currie
19a1e03f5d apply Misty's clock patch part 2 2000-12-05 03:22:35 +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
06e50ba0c9 chop up gl_warp into gl_sky, pcx and tga. also break out pcx stuff from client.h 2000-10-28 19:58:22 +00:00
Bill Currie
499eaa2a7d cvar.c:
%g is no good :/
menu.c screen.c:
	float -> int cleanup for scr_viewsize
vid_glx.c:
	remove unused vid_mode cvar
2000-10-21 21:08:04 +00:00
Bill Currie
2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Zephaniah E. Hull
cb0d141132 GL rendering path audit. 2000-09-30 02:46:48 +00:00
Zephaniah E. Hull
01a5c65e52 More cleanup, now working on the rendering line as a whole.
Con_SafePrintf is no longer needed, as Con_Printf is safe.
2000-09-29 19:29:22 +00:00
Zephaniah E. Hull
750457b368 Clean up after myself in the Z_* purge.. 2000-06-29 23:30:21 +00:00
Bill Currie
381891e7e4 bring knghtbrd's 1000 screenshot patch over from oldtree. 2000-06-22 11:56:08 +00:00
Anton E. Gavrilov
9ad4192af2 ooops 2000-06-10 00:26:21 +00:00
Anton E. Gavrilov
a1982a0f75 CVAR_FIXME cleanup. 2000-06-10 00:23:56 +00:00
Joseph Carter
a3e32e213e Draw_Character -> Draw_Character8
Draw_String -> Draw_String8
Draw_Alt_String -> Draw_AltString8

You know what this means right?  Draw_*16 is coming soon.  Very soon.
2000-06-05 01:05:25 +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
Joseph Carter
e9463e2db9 pretty much finishes source/* 2000-05-22 07:46:47 +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
Danne
4cf13bcdbf Fix for showstopper crash in software client.
Also added checks for possible height=0 crashes to GL target too.
2000-05-19 14:38:45 +00:00
Danne
b3fc949d8c Made Minimized qboolean for WIN32 2000-05-19 13:35:17 +00:00
Bill Currie
64d00faa8f Apply theoddone33's cvar patch (he's having connectivity problems with tank) 2000-05-17 23:16:23 +00:00
Bill Currie
832af13c12 all files now include config.h 2000-05-17 10:03:19 +00:00
Joseph Carter
f5bca8ba17 ghost crosshair bug fixed 2000-05-17 08:07:12 +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
Yan Sweitzer
1efb92f899 sprintf -> snprintf
vsprintf -> vsnprintf
2000-05-15 08:59:12 +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
Danne
c038f1f713 More extern fixes. 2000-05-14 08:05:34 +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
Bill Currie
ee16312bb8 clien (svga) compiles, but doesn't link yet (so clients are disabled for now) 2000-05-11 13:15:59 +00:00
Dan Olson
b139acafc2 ^M cleanup, and qw-server compiles with -Werror 2000-05-10 20:33:16 +00:00
Joseph Carter
d859383680 Initial revision 2000-05-10 11:29:38 +00:00