Commit Graph

56 Commits

Author SHA1 Message Date
Bill Currie 20b9411bcc disable transparent pixels in the conback. They will still currently be black,
but at least they won't flicker on some drivers.
2001-02-16 22:07:40 +00:00
Bill Currie 435c588e37 function header audit. 2001-02-09 02:53:09 +00:00
Ragnvald Maartmann-Moe IV 800ee05584 More whitespace than you can shake a shambler at. 2001-02-07 05:45:59 +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
Jeff Teunissen 6bae2b3010 whitespace, small opt in pcx.c 2001-02-05 23:17:48 +00:00
Bill Currie 759fa8dd5f bring scr_consize over from quakeforge-old 2001-02-02 23:40:46 +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
Bill Currie 76a11bd74a cvar doc patches from Misty 2000-12-31 04:46:04 +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
Jeff Teunissen 3783f9b562 Rewrite of the clock code. 2000-12-28 07:09:04 +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 0c662b0e6a cl_ents.c: misc. tweaks to CL_ParsePacketEntities ()
rest: Myriad stuff.

r_netgraph now recognizes and abides by the cl_hudswap Cvar.
show_fps and show_time are on the same line now, and stay out of each
others' way.

New Draw_ function: Draw_TextBox(). It's like M_DrawTextBox(), except it
doesn't screw around with the screen coordinates.
2000-12-12 02:46:46 +00:00
Bill Currie 0bd4b8d288 include/tga.h source/tga.c:
new function WriteTGAfile. Also, put in the tga header structure.
	NOTE: this is currently broken for non gcc ocmilers. you will get a
	#error message.
include/quakefs.h source/quakefs.c:
	new function COM_WriteBuffers. Like COM_WriteFile, but scatter/gather
	style.
source/gl_screen.c source/screen.c:
	misc cleanups. differences are getting fewer. should be mostly
	mergable soon (minus truly sw/gl specific code).
2000-12-11 06:38:58 +00:00
Bill Currie a4f03b4c12 move WritePCXfile to pcx.c, move the screenshot filname creation code to
COM_NextFilename in quakefs.c and fix up some remote screenshot snafus
2000-12-11 03:30:32 +00:00
Bill Currie 10e2d388db remove all pure whitepsace diffs between gl_screen.c and screen.c 2000-12-10 23:14:25 +00:00
Bill Currie 2ed7b7106d remove gratuitous differences between gl_screen.c and screen.c 2000-12-09 23:26:27 +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 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