Commit graph

142 commits

Author SHA1 Message Date
Bill Currie
de22be39ba break gamespy instead of gamespy breaking us. disable command packets by
default. If somebody wants gamespy to do its evil, they can say so explicitly.
2001-02-14 22:25:22 +00:00
Bill Currie
ca06d3994d ALWAYS print commands coming from external sources (eg GameSpy (ewww)) 2001-02-14 21:50:55 +00:00
Bill Currie
e6980d2ec3 add cvar to control config.cfg writing (from Adam Olsen
<adamolsen@technologist.com>)
2001-02-11 07:15:39 +00:00
Bill Currie
0ffba7e3da add fs_usercfg. defaults to "" (nothing) in oldstyle, or "~/.PACKAGErc" in
newstyle.
2001-02-10 00:40:55 +00:00
Bill Currie
679b67ddd2 fix a broken fix for sun's model_t type. (got broken during the header audit) 2001-02-08 20:56:40 +00:00
Jeff Teunissen
6da731fec1 Clear packet entities when they are removed. This fixes a bug in particle
trails, and possibly others as well.

Eliminate cl_oldvisedicts and cl_visedicts_list, change cl_visedicts's
definition to compensate. It isn't used any more, so they just waste
memory.
2001-02-08 17:43:14 +00:00
Bill Currie
fdaf69b9ae reduce minimum timescale to 0 to allow pausing the demo 2001-02-08 00:08:32 +00:00
Zephaniah E. Hull
145284c3ce Tweaked some of the bounds. 2001-02-08 00:02:26 +00:00
Bill Currie
3320cf5e2c cl_demospeed cvar. 1 = normal speed, < 1 = slow-mo, > 1 = timelaps.
host.h:
	remove Host_SimulationTime prototype
cl_main.c:
	cl_demospeed stuff. Host_SimulationTime was resurected because of gcc
	warnings about setjmp clobbering vars. It's made static inline so its
	resurection doesn't cost fps.
2001-02-07 20:15:33 +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
Bill Currie
eb8c267925 .gdbinit:
add -nosound again
cl_main.c:
	clean up function headers
2001-02-05 23:06:57 +00:00
Thad Ward
c8ab801128 qw_client.dsp and makefile.mgw:
remove vid_win.c from the projects. no longer needed after taniwha's
    cl_main changes.

cl_main.c:
    remove #include "winquake.h", which is not needed

vc/config.h:
    add #define HAVE_WINSOCK_H
2001-01-25 21:16:43 +00:00
Bill Currie
5c1fa73e55 remove the win32 windows tomfoolery. if someone complains, we'll cross that
bridge when we get to it (unless we burn it first:)
2001-01-25 06:08:46 +00:00
Thad Ward
04d66b0952 get it building on windows again.
cl_main.c:
    added #include "winquake.h" back in, since ming and msvc
    wouldn't build without it

qw_client.dsp and makefile.mgw:
    added vid_win.c
    (need to rename qw_*.dsp to qf_*.dsp one of these days...)
2001-01-25 04:56:27 +00:00
Bill Currie
21654b12e5 server builds (and works, thanks for the test, Dabb) and an sdl client attempts
to link.
2001-01-24 17:41:34 +00:00
Bill Currie
b3a9da279b check for an error openning the download file (this is what I intended to
commit previously, but wasn't finished)
2001-01-22 22:48:22 +00:00
Bill Currie
e3674945ed back out an accidental commit 2001-01-22 22:43:50 +00:00
Bill Currie
39ee51118d fix a missing ) 2001-01-22 22:40:36 +00:00
Bill Currie
d072faf29c fix a compile bug for some systems 2001-01-21 02:55:53 +00:00
Bill Currie
6aecae38e6 remove double command execution for 99.9% of the cases 2001-01-18 04:28:26 +00:00
Dabb
f9e5db9aee Fixed skin command bug. Win32 guys want skins too! 2001-01-17 19:44:45 +00:00
Bill Currie
45bacc2b60 second step of skins re-work 2001-01-17 07:28:34 +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
Dabb
bbf8adaa8e Add packet logging / parsing for demo playback too. 2001-01-15 14:12:19 +00:00
Bill Currie
e2f1f503ef move CL_Ents_Init to the right place 2001-01-08 07:31:59 +00:00
Bill Currie
b66c22d0e5 flickering rocket/lava lights are dead and cvars now support vectors (archiving
broken atm).
2001-01-08 07:07:48 +00:00
Bill Currie
dd5363cdb5 commands and aliases now use hash tables 2001-01-04 20:51:35 +00:00
Ragnvald Maartmann-Moe IV
57b02fad06 CodingStyle. 2001-01-04 20:43:36 +00:00
Bill Currie
381f5b6df4 cvars and cvar alias now use a hash table for lookups. commands and aliases
coming soon :)
2001-01-04 19:10:38 +00:00
Bill Currie
ff89f60c74 move the final command line stuff to AFTER all the subsystems have been
initialised.
2001-01-01 18:00:06 +00:00
Bill Currie
76a11bd74a cvar doc patches from Misty 2000-12-31 04:46:04 +00:00
Dabb
ff2658dacd Added HAVE_NETINET_IN_H 2000-12-30 11:20:36 +00:00
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
f29ea7f1d3 fix up <> vs "" in #includes 2000-12-30 03:07:15 +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
bc9518c9a5 whitespace 2000-12-28 09:27:30 +00:00
Bill Currie
80db620524 What's GameSpy? 2000-12-28 07:18:11 +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
Bill Currie
dd3ea544ce cl_visedict re-write. lerping works MUCH better now, and lerping of torches
should be possible. client should also be microscopicly faster.
2000-12-20 06:18:55 +00:00
Jeff Teunissen
de55871d32 Overhaul of parts of the polyblend system. Contrast in GL no longer uses
another alpha blend, it's set up exactly as another factor in determining
the final blend. This should help speed up framerates a little.

New cvars:
cl_cshift_bonus: Set to 0 to disable bonus flashes.
cl_cshift_contents: Set to 0 to disable content blends.
cl_cshift_damage: Set to 0 to disable damage blends.
cl_cshift_powerup: Set to 0 to disable powerup (quad, pent, etc) blends.

All of these cvars work for both GL and software, and all of them check
the value of the "cshifts" serverinfo. cshifts is a bit field, with the
following bits defined:

bonus: 1
contents: 2
damage: 4
powerup: 8

An admin can force any of these to be respected by choosing the numbers of
the cshifts to be enforced, and adding them up.

examples:

serverinfo cshifts 15

turns them all on.

serverinfo cshifts 10

turns on powerup and contents shifts.

also, the gl_cshiftpercent Cvar no longer does anything. I'll remove it
entirely soon.
2000-12-13 09:01:11 +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
3feecbde94 cvar doc patches from Misty 2000-12-07 03:02:12 +00:00
Bill Currie
dbbc2cd777 comment patches from Misty 2000-12-07 00:08:42 +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
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
6b3f8e5dba make sure com_gamedir exists before writing config.cfg 2000-12-04 16:07:08 +00:00
Bill Currie
37eb211c0a Misty's clock hack. show_clock 1 displays a clock on the screen for those that
need to know the current time while playing.
2000-12-04 03:46:04 +00:00