Commit graph

706 commits

Author SHA1 Message Date
Dan Olson
86a35efba3 A bunch of stuff:
Cvar_Alias_Get now returns void
cl_pred.c is Tonik's client jumping prediction fix
the rest are adding new aliases: s_volume->volume and sv_edgefriction->edgefriction
2000-05-06 23:03:45 +00:00
Dan Olson
d5e5b07ac9 Cvar aliasing code, so we don't tick off Tonik (and other users) every time
we rename a standard cvar.  Example of use in in_x11.c.  Make the alias directly
after the Cvar_Get to avoid segfaults.
2000-05-06 22:46:48 +00:00
Anton E. Gavrilov
17270f94ba Added cl_bonusflash (0 = turn off item pickup flashes). Sorry, just couldn't help it :) 2000-05-06 16:12:21 +00:00
Anton E. Gavrilov
b67bbe5b53 +showteamscores now shows the scoreboard (time and level name), just like +showscores. 2000-05-06 15:52:27 +00:00
Bill Currie
976e1dcdda apply slist related patches from snax 2000-05-06 11:01:16 +00:00
Bill Currie
0599bb29a7 enable gcc format checking to our printf style functions and clean up the repercussions (suprisingly few). 2000-05-06 06:28:17 +00:00
Loring Holden
03391673eb Server_List_Load() - make c an int instead of a char so it can be compared
against EOF without warnings on certain platforms
2000-05-06 00:51:13 +00:00
Anton E. Gavrilov
3b1140ac06 Changed R_FireColor() to R_FireColor_f(void) --- the latter form is required to compile with MSVC 2000-05-05 15:53:32 +00:00
Anton E. Gavrilov
1656f76b88 Added cl_rocketlight, cl_muzzleflash cvars. 2000-05-05 14:47:03 +00:00
Joseph Carter
948999098b default the interpolation cvars to 0 for now. The interpolation code is
not finished yet and what's done doesn't work right.  The reason for this
seems to be entity data that's getting trashed somehow.  taniwha and I
will investigate this later.
2000-05-05 12:06:58 +00:00
Bill Currie
37ba019874 add r_firecolor command. sets the color of the rocket trail fire and dlight.
Also, change dlights and fires so the color can be set with a pointer assignment (optional).
2000-05-05 11:26:13 +00:00
Joseph Carter
26b21b6b08 beginnings of interpolation - not yet working properly. Will remove if I
don't fix it tonight.
2000-05-05 08:56:55 +00:00
Joseph Carter
9c567e579e Changes that don't really affect anything 2000-05-05 08:55:49 +00:00
Joseph Carter
bbbd94d707 oops 2000-05-05 01:59:37 +00:00
Joseph Carter
93c098eb87 Put standard GPL thingy on these things 2000-05-05 01:55:55 +00:00
Bill Currie
011ec8bd95 speed up pak seaching when .gz endings are supported. this still needs to be re-coded as doing a linear search is just borked. I'm not sure if I should sort the file entries in memory and use bsearch (probly easier) or implement a hash table for each pak file, but something needs to be done. At least HAS_ZLIB no longer doubles search time :) 2000-05-05 01:24:05 +00:00
Dan Olson
dd31ad3131 Just some cleanup 2000-05-04 23:22:02 +00:00
Nelson Rush
6ba89503e5 fixed a crash in the server listing code thanks to help from dabb and jam 2000-05-04 16:59:44 +00:00
Bill Currie
bed83b87e2 fixed a really nasty, ancient (it's chitin was turning grey), subtle bug that caused rogue to crash when firing the multi rocket near the lightning pentagram in the Cave of Death. "Though shalt not re-use a loop variable inside a loop".
Also, bump up MAX_BEAMS and MAX_EXPLOSIONS
2000-05-04 11:50:23 +00:00
Dan Olson
4cae141a9c Umm... someone else that was committing this patch forgot to add these... :) 2000-05-04 01:01:57 +00:00
Dan Olson
84e95dd1e6 snax's server list patches. Credit given in AUTHORS 2000-05-04 00:58:26 +00:00
Dan Olson
b0c37054dc Fixes a segfault when TragicDeath is called 2000-05-03 21:32:23 +00:00
Anton E. Gavrilov
2e596668ba Some changes to scoreboard (single player support). No more Sbar_SoloScoreboard() 2000-05-03 19:01:19 +00:00
Bill Currie
a32eb9e1b8 common/cl_input.c:
fix what looks like a bug. if (ms>250) ms=100; ???
common/cl_main.c common/cvars.h qw_client/cl_parse.c:
	put running autoexec.cfg back in, BUT now controlled by a cvar (cl_autoexec).
2000-05-03 11:34:57 +00:00
Bill Currie
a05d712277 apply the "final" borland c patches from our Jukka Sorjonen 2000-05-03 05:12:18 +00:00
Bill Currie
618e8a90d4 add another alias for the num lock key 2000-05-02 13:05:48 +00:00
Bill Currie
f0ece14dce put that && vid_fullscreen->value where it belongs :) 2000-05-02 12:03:44 +00:00
Bill Currie
5f12390209 remove an unwanted && vid_fullscreen->value 2000-05-02 12:01:55 +00:00
Bill Currie
4dcba0d9e0 qw_server/sv_main.c:
added quakeforge.conf handling
common/gl_draw.c:
	just a comment
2000-05-02 07:12:04 +00:00
Dan Olson
17aa6a3a0d removal of useless "grab" and "ungrab" commands 2000-05-01 23:49:51 +00:00
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
Loring Holden
aeb8811ad5 Include unistd.h if available so getuid() is defined 2000-05-01 15:29:31 +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
Bill Currie
a7e5fd3a16 oops, accidently left a test disablement of DGA in. also forgot some of the DGA/VIDMODE split. 2000-05-01 11:08:00 +00:00
Bill Currie
7da23db202 separate out checks for VIDMODE and DGA in preparation for the Great Vidmode Hack :) 2000-05-01 10:36:00 +00:00
Bill Currie
ecba3b9f42 put #include <limits.h> in for other OSes that don't automaticly include it in one of the other headers. 2000-05-01 08:57:11 +00:00
Bill Currie
94c850b14a VID_SetPalette is required for my g200 (this might have to be cvar'ed if it affects anybody else adversly), and doesn't cause any problems, so I've removed it's experimental status. Also removed some commented out experimental code (well, non that disabled dga). 2000-05-01 08:28:27 +00:00
Bill Currie
90cab60e05 rename vid_nt_gl.c to vid_wgl.c and touch up the windows build stuff to reflect the change. 2000-04-30 22:44:06 +00:00
Bill Currie
4d551f0f51 rename common/gl_vidnt.c -> common/vid_nt_gl.c, common/gl_vidglx.c -> common/vid_glx.c and common/gl_vidlinux_3dfx.c -> common/vid_3dfxsvga.c and touch up the relevant files to reflect the name change.
I got sick of the inconsistency in the vid files.
2000-04-30 22:27:58 +00:00
Dan Olson
6b385b7af8 Cvar cleanup and description additions 2000-04-30 21:23:37 +00:00
Joseph Carter
0aa6a37ad2 mitch wanted the FPS counter to move to upper right of the screen. Not a
bad idea, here it is..
2000-04-30 20:14:49 +00:00
Bill Currie
85254360f4 fix a really nasty bug where downloads were going to the wrong place. there may be more fixes needed so qf copes with the new fs_basepath, and esp ~. 2000-04-30 10:50:24 +00:00
Joseph Carter
2607f7e1ac I'd been meaning to do this for awhile but thought I was the only one who
cared.  fov > 90 in software and your gun is never drawn.  No more, now
your gun will be drawn unless you esplicitly turn it off.
2000-04-30 06:57:39 +00:00
Joseph Carter
126461f4ab Some cvar cleanup 2000-04-30 03:48:09 +00:00
Dan Olson
e8527094b4 Made gl_fires and gl_particles CVAR_ARCHIVE 2000-04-30 03:26:29 +00:00
Joseph Carter
1e6abc2b65 cheap hack of a -nodga - this is ESSENTIAL for debugging! 2000-04-29 19:53:47 +00:00
Bill Currie
145475d624 apply svgalib input shutdown bugfix patch from ds/XoXus/David Symonds.
Thanks, man!
2000-04-29 11:57:13 +00:00
Thad Ward
8cefba82e2 removed the #ifdef GLOBAL_CFG_FILE from host.c that someone put in, and added
a #define GLOBAL_CFG_FILE to win32/config.h
2000-04-29 05:49:07 +00:00