Commit graph

43 commits

Author SHA1 Message Date
Bill Currie
ee47b4d568 a start on a #include audit for the header files and misc fixups for win32 2000-12-30 05:18:48 +00:00
Bill Currie
5f21837c33 cleanup the includes in host.h 2000-12-30 03:23:31 +00:00
Bill Currie
ccba39666b #include audit 2000-12-30 02:16:36 +00:00
Dabb
1532c66198 Replaced #ifndef WIN32 with #ifdef HAVE_UNISTD_H and
HAVE_SYS_TIME_H
2000-12-29 18:52:52 +00:00
Dabb
cc0e3dfbb5 Are these uninst.h, timeb.h really needed here? 2000-12-29 16:26:35 +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
Brian Koropoff
0210465303 This update changes the server list layout and adds server pinging and querying support. Use 'p' to update pings, 's' to update status information, and 'u' to do both at once. Feel free to abuse this and report any bugs that you find. 2000-12-25 02:36:36 +00:00
Brian Koropoff
382fe8feff A quick hack so that inserting in the server list will use the current server's ip and description if connected. 2000-12-24 05:37:24 +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
600e6dac57 remove possible trigraphs (eww) 2000-12-07 17:08:38 +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
06ead88d9d removal of Draw_TranPic. Thanks, Seth. 2000-11-19 21:34:27 +00:00
Bill Currie
740e023a53 fix "HUD on left side" menu option 2000-11-16 20:38:12 +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
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
d295f183ba remove va from commdef.h and fix the consequences 2000-10-21 07:34:56 +00:00
Bill Currie
2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Jeff Teunissen
bf2ec8da6d glquake.h: Comment out <GL/glu.h> -- may be used in the future, but we
don't use libGLU right now.

gl_draw.c: brightness/contrast are created in r_view.c, I'm a little
surprised this didn't cause a crash.

menu.c: Use bound() for sliders.
2000-09-25 04:12:58 +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
Jeff Teunissen
a3e19d5cc2 gl_screen.c: Minor tweaks, contrast gets clamped to 0.1-1 instead of 0.2-1
view.h: Add brightness, contrast cvars as extern
menu.c: Change brightness scroller to use the brightness cvar, add
contrast scroller.
r_view, sw_view.c: Add brightness/contrast cvars to software, and make
them work.
2000-09-20 04:06:12 +00:00
Brian Koropoff
69c97f84bd Now the cursor will wrap around the server list when you hit the bottom or top. I hope you are happy, stu. 2000-07-08 04:26:09 +00:00
Zephaniah E. Hull
29ef95a9b5 The end of Z_*!!
This after the Z_* stuff hit my profiling list as a top user..
2000-06-29 05:46:15 +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
Brian Koropoff
ab1aadfe64 Segfault fixed. Yes, I know I'm stupid ;P 2000-05-25 03:57:25 +00:00
Dan Olson
af98ae5fa5 Rename all Server_List_* to SL_* as well as some code cleanup. Does not fix
segfault
2000-05-25 01:38:52 +00:00
Jeff Teunissen
347289ec56 Menu fixes: use Cvar_SetValue() for menu options. 2000-05-23 16:59:25 +00:00
Jeff Teunissen
7df8031c9c menu.c: change "help" to "menu_help" to get rid of error on startup.
Add cvs2cl to repository.
2000-05-23 07:29:02 +00:00
Joseph Carter
3d59dfed98 Before I can fix the (MANY!) problems with newtree, I have to fix the
little problem of mixed QFile and FILE.  Since we're not using ZLib in
this tree, QFile makes no real sense.  That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Jeff Teunissen
d5f18435ec Misc. fixes. bound() is now defined, make dist works properly it seems,
missed a basepath/userpath, and fixed up the menu.
2000-05-21 23:01:36 +00:00
Brian Koropoff
d9da49c2a9 The server address book now uses a linked list. I had some issues merging this with some of taniwha's changes, so it may not be perfect. Please test it. 2000-05-21 20:14:09 +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
cba34a7572 sprintf -> snprintf 2000-05-20 10:30:09 +00:00
Brian Koropoff
0140835694 Server list stuff added to newtree! 2000-05-19 04:33:12 +00:00
Brian Koropoff
549ceb75d4 Fixes to the options menu, including several segfaults and a cursor problem. 2000-05-18 03:00:16 +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
Dan Olson
1d26c02826 Cvar merge... segfault problems... also unknown problems in vid_svga.c 2000-05-16 04:47:41 +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
Joseph Carter
01eceda77e Removed the string QuakeWorld from places to help avoid stepping on Id's
tues (not that they care to be honest..)  VERSION is gone, use the strings
QW_VERSION and QF_VERSION.  I'd like QW_VERSION to go away but I don't
think we're ready to screw with that just yet.  Note, those are strings,
not floats.

Also defined QSG_STANDARD and set all the star keys the current qw-server
does.

qw-* -> qf-*, unlike the main tree this one is not planned to be just QW.
2000-05-13 20:51:02 +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
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