Commit graph

131 commits

Author SHA1 Message Date
Bill Currie
b7ebd7efa6 fix an inconsistency devkev found. It's not (yet) a problem in our code, but it was causing sefaults in in qwf. 2000-04-21 12:42:33 +00:00
Joseph Carter
8a65ae8ca9 If we treat MOVETYPE_WALK as MOVETYPE_PUSH the catapult in df42 seems to
behave itself a little more often.  I can find no explanation why and it
seems like it should possibly do nothing, but it SEEMS to help.

Thanks for the suggestion Tim.
2000-04-20 02:55:02 +00:00
Loring Holden
052c4866ac Now uses autoconf instead of:
#if defined(unix) || defined(_AIX) || defined(__NetBSD__)
2000-04-18 15:57:40 +00:00
Pontus Lidman
52dfc473fc NetBSD has stuff in errno.h 2000-04-17 19:33:13 +00:00
Joseph Carter
47bed98da1 new serverinfo key: *qsg_standard, set to 1.
How view height changes in QW are passed from server to client HAS CHANGED
and you will need to update both client and server for things not to act
weird.  You may also need to distclean before rebuilding..
2000-04-15 11:20:28 +00:00
Jeff Teunissen
c42c12ea84 Whoops. Fix host_frametime min/max screwup. :) 2000-04-06 15:09:47 +00:00
Jeff Teunissen
5fe2d742d5 Added cvars to configure (or disable) the server-side time cheat
protection.

sv_timekick: This cvar controls the number of times a player has to
be caught "cheating" before they get kicked. sv_timekick shows up in
serverinfo if changed from the default. If sv_timekick < 1, timecheat
detection is disabled. Default is 3.

sv_timekick_fuzz: This cvar affects how strict the protection is. The
higher the number, the more "fuzz" is applied, and the less strict the
detection code is. Raise this if your players are being kicked for packet
loss and lag. Default is 10, giving a fuzz factor of about 1 percent.

sv_timekick_interval: This cvar controls how often, in seconds, the time
tally is counted. Lowering this value increases the chance of false
positives, but helps to minimize the amount of damage a timecheating
player can cause. Default is 30 seconds.
2000-04-06 14:52:56 +00:00
Joseph Carter
00b62b6027 cleanup 2000-04-04 12:10:08 +00:00
Anton E. Gavrilov
f5620c9f5b Changed Cvar_Set(char *, char*) to Cvar_Set(cvar_t *, char *). You can kill me now =] 2000-04-03 14:30:02 +00:00
Anton E. Gavrilov
13ae9667f8 *** empty log message *** 2000-04-03 11:22:34 +00:00
Joseph Carter
018ca24c62 flymode WORKS! I'm also poking around a few other qw_server files.. 2000-04-01 23:40:29 +00:00
Joseph Carter
5e06b91db0 more flymode stuff.. It's not QUITE working yet. Somewhere gravity is
getting added and the controls are still clumsy.  =<
2000-04-01 05:47:25 +00:00
Anton E. Gavrilov
9a9b1a01be Added fraglogdir cvar. 2000-03-31 13:28:23 +00:00
Bill Currie
549af06fa9 Applied CoderJoe's (Thad Ward) win32 patchs. compiles, links and runs.
BTW, win32 targets now use opendir etc.
2000-03-31 05:58:16 +00:00
Bill Currie
4c7ce6d614 give qw-server maplist and move the prototype from cl_main.c to quakefs.h 2000-03-31 01:56:52 +00:00
Bill Currie
1c91ed2381 fix the incorrect $i and -ne :/.
propogate the list fix to the other makefiles
2000-03-23 23:04:48 +00:00
Anton E. Gavrilov
60eb5557de *** empty log message *** 2000-03-19 18:52:20 +00:00
Anton E. Gavrilov
0bce28330b Single player support. 2000-03-19 18:40:28 +00:00
Anton E. Gavrilov
bc0219d36d Single player support. Added cvars coop, skill; int current_skill. 2000-03-19 18:39:01 +00:00
Marcus Sundberg
674ddcffe5 The big whitespace cleanup. ;-)
Removed trailing whitespace from code lines.
2000-03-19 15:59:51 +00:00
Anton E. Gavrilov
82f8cf07b9 Updated MSVC project files. Every target compiles and works. 2000-03-19 13:07:44 +00:00
Anton E. Gavrilov
d457edbccd Changed SV_Frame(float) to SV_Frame(double). No more problems on Win32. 2000-03-19 13:05:12 +00:00
Bill Currie
2800c2856e make install now works (caused by a flakey install-sh), as does build_rpm.
Also, there was a bug in configure.in that caused glx not to be built at all on
my system.

NOTE: I changed SRC_DIR to srcdir (GNU `standard'), though I'm beginning to
wonder if that was so good.
2000-03-13 11:54:24 +00:00
Joseph Carter
e818226c34 This SHOULD allow Mega2K to work whenever it gets released. View offsets
are done (sorry if this steps on your toes with the view.c merge Deek) and
I'm almost positive flymode will now work.  Even though view offset is
done, it won't.

The reason for this is that cl.stats[STAT_FLYMODE] is pretty much going to
ALWAYS be 0 on a standard server.  Since 0 tells us that we're not flying,
this is fine.  cl.stats[STAT_VIEWHEIGHT] is also going to be 0, but it
should be 22 for normal views.  I could always assume this value is an
offset from 22, but that just seems lame to me.  I'll either do it anyway
or we'll have to find a good opportunity in the connect cycle to set the
cl.qfserver qboolean to true.

I'm thinking about using an info key value for this, but we'd be better
served I think by coordinating with QSG to up the protocol version across
all engines.
2000-03-11 21:29:48 +00:00
Anton E. Gavrilov
620d7482b1 Updated MVSC project files. 2000-03-11 10:17:05 +00:00
Anton E. Gavrilov
fd5d30dd06 Updated MSVC project files 2000-03-10 23:25:39 +00:00
Bill Currie
bcd302a948 common/common.c common/common.h qw_client/cl_parse.c qw_server/sv_main.c:
handle escape chars better
common/quakefs.c:
	check the return value of opendir
2000-03-08 04:17:12 +00:00
Marcus Sundberg
4e76d7e176 Made the Makefiles work. 2000-03-07 23:13:00 +00:00
Anton E. Gavrilov
195af30ce9 Updated qw_client.dsp, qw_server.dsp and common/wins/config.h 2000-03-06 20:18:41 +00:00
Anton E. Gavrilov
0294848ef4 This is kinda experimental stuff --- Win32 priority control. Well, i've been testing it for about a month now, and it didn't give me any trouble. 2000-03-06 20:07:49 +00:00
Anton E. Gavrilov
7db3275c99 Added VC projects for qw_client and qw_server. Client crashes with -safe, server doesn't even compile, but anyway... ;) 2000-03-06 17:59:16 +00:00
Zephaniah E. Hull
39e01df55e Makefile overhaul!
If I broke something, yell at me, /AFTER/ I've had some sleep..
2000-03-06 13:26:42 +00:00
Joseph Carter
d2cf5ea07a Someone must have forgotten the pause/unpause typo thing, fixed. 2000-03-05 19:18:33 +00:00
Bill Currie
54e2cafda8 --enambe-generations now builds (include unzip.c) 2000-03-04 03:06:46 +00:00
Dan Olson
b5c3300cf3 Added 'cvarhelp' cmd to retrieve cvar descriptions. 2000-03-02 22:56:25 +00:00
Dan Olson
5d66aa274c A couple small fixes thanks to Dan Nelson 2000-02-29 00:00:51 +00:00
Dan Olson
029aa2e26a Fixed a nasty typo. 2000-02-28 23:45:45 +00:00
Dan Olson
54409e23fa This should fix up the last of the show stoppers from the cvar merge.
Fixes -glx and -3dfx.
2000-02-28 19:13:16 +00:00
Dan Olson
6305810ddb Some fixes for Cvars. Windows, GGI, and Sun should now all compile. 2000-02-28 01:52:08 +00:00
Dan Olson
8dbf889466 Fixes the cvar problems in qw-server. 2000-02-27 22:25:20 +00:00
Dan Olson
106dada0b2 Non functional cvar code. Compiles, but won't run. 2000-02-27 07:13:32 +00:00
Joseph Carter
83a09156f1 r_clearcolor currently doesn't work for GL. Broke it while fixing it. It
doesn't matter if you don't use noclip in uquake for map debugging.  On
the upside, I fly should work in qw-server now.  MegaTF fans rejoice!
2000-02-27 03:34:54 +00:00
Bill Currie
adcb14a22d merge qw_server/sys.h into common/sys.h 2000-02-26 09:04:09 +00:00
Daniel McGregor
2148a8d0ba more autoconf stuff... HAVE_MALLOC_H for OpenBSD and FreeBSD 2000-02-26 08:39:29 +00:00
Bill Currie
b3ff01224c merge qw_server/model.c into common/model.c 2000-02-25 10:21:48 +00:00
Bill Currie
78cc81749d There was a discrepancy in the definitions of MAX_MOD_KNOWN.
gl_model.c had it as 512, but qw_server/model.c and common/model.c had it as
256. That wasn't the real problem, what it was was hipnotic (obviously) has
more than 256 models in "Research Facility", and so uquake-svga bobmed
2000-02-25 09:17:59 +00:00
Jeff Teunissen
90fd98a3ad SV_RunCmd: missing "," in SV_BroadcastPrintf() call, fixed. 2000-02-24 06:36:22 +00:00
Zephaniah E. Hull
4cd3f4f23d The end of old_headers, changed the cheat protection code a little.. 2000-02-23 19:32:54 +00:00
Dan Olson
8ac1385c9f Jason Nelson's patch for fixing Win32 targets 2000-02-20 21:19:50 +00:00
Bill Currie
592b054f82 common/gl_vidglx.c:
some tweeks in an attempt to improve shutdown. NOT the final say
qw_server/sv_ccmds.c:
	comment correction
common/quakefs.c uquake/host_cmd.c:
	knghtbrd's gamedir patch, plus some Hunk_Alloc -> Z_Malloc changes.
2000-02-20 04:20:00 +00:00