Commit Graph

1061 Commits

Author SHA1 Message Date
Ragnvald Maartmann-Moe IV ceb264ce87 Make nq lightning handling match qw, which also gets some cleanups. 2002-09-09 20:02:52 +00:00
Bill Currie 4001d2574b be sure to use the correct key for allocating effects dlights on players 2002-09-09 16:26:39 +00:00
Bill Currie 82b2f30a20 actually check that the entities match before returning the overridden beam 2002-09-09 15:56:29 +00:00
Bill Currie cc6c82007c clear validsequence on disconnect so we don't do prediction before we get a
world model when reconnecting
2002-09-09 04:20:15 +00:00
Chris Ison 460ce5c0e6 clear cl.worldmodel on disconnect. make sure we don't parse server messages when we are disconnected 2002-09-08 03:21:53 +00:00
Bill Currie 2cd6b68669 fix a redefined #define 2002-09-06 21:59:02 +00:00
Bill Currie 67b01ca5ba cleanup the output of connectionless prints a bit 2002-09-04 19:13:45 +00:00
Bill Currie 5597dc2408 make maplist work over rcon 2002-09-04 18:56:53 +00:00
Bill Currie 4373e4b4de just bail from SV_Map_f if the requested map doesn't exist so play doesn't
get interupted.
2002-09-04 18:26:34 +00:00
Bill Currie 7af8e2952e zinx' klik mod makes heavy use of makestatic and that was causing the
singon buffer to overflow. call SV_FlushSignon before writing the static
entity data.
2002-09-04 15:12:05 +00:00
Bill Currie ea7576286a diff-- 2002-08-30 02:18:53 +00:00
Bill Currie f6729e35e5 use MAX_CLIENTS instead of 32 for MAX_PHYSENTS 2002-08-29 17:42:41 +00:00
Bill Currie d8c1c735a6 up MAX_PHYSENTS from 32 to (32 + MAX_PACKET_ENTITIES) (ie, 96). While this
will potentially slow down both client and server, player collision physics
will be more accurate as more entities will be clipped against (and the
client should never complain about physent overflow again).
2002-08-29 17:32:16 +00:00
Ragnvald Maartmann-Moe IV 92f3e230af Physics bugfix. 2002-08-29 15:42:37 +00:00
Bill Currie d15177988d we haven't sent heartbeats to the id masters by default for a long time 2002-08-28 21:13:13 +00:00
Bill Currie 3be502630c don't call SV_FinalMessage in SV_Error until networking has been
initialized so bogus error messages don't get printed
2002-08-28 21:12:22 +00:00
Bill Currie a7380fef66 nuke msg_suppress_1 in favor of Sys_DPrintf 2002-08-27 18:05:59 +00:00
Bill Currie bb1adf63a9 fix the command appended to f_reply message (so-and-so: Average percent
fullbright for all loaded skins is 4.9%+forward 101) and make the cl_freply
time check work closer to properly
2002-08-27 16:28:58 +00:00
Bill Currie a0807c762f fix the handling of escape when in the console before ever connecting 2002-08-27 08:33:21 +00:00
Bill Currie ec47e08e1c go back to using QFile, quakeio.h and quakefs.h 2002-08-27 07:16:28 +00:00
Brian Koropoff 98fc04e041 Added threads and callbacks to GIB, as well as several QW callbacks dealing
with player status.
2002-08-27 04:47:49 +00:00
Brian Koropoff 5595cb848b Blue armor? Guess I shouldn't code too late at night... 2002-08-26 01:10:02 +00:00
Brian Koropoff 876eaa467c Added a few useful builtins and began adding GIB hooks into quakeworld.
The player global branch variable is now updated with useful information
and the location.get builtin is available to return the current location
of the player based on loc files.  Fixed a bug with zooming out in zoom.gib.
2002-08-24 05:14:46 +00:00
Ragnvald Maartmann-Moe IV 0085cd698f Lots of whitespace in sv_user.c, plus fix sv_timekick help strings, and up sv_timekick_fuzz from 15 to 30 ms. 2002-08-22 23:04:44 +00:00
Bill Currie 498eac3e90 hmm, missed that one 2002-08-21 03:57:36 +00:00
Bill Currie 5009213564 Move the signal handling code from video/targets/* to sys.c (I'm leaving
the SDL target files for Despair since he's working on the currently). Also
make progs segfault handling much more robust (and general: sigill etc too:)
2002-08-20 23:04:57 +00:00
Bill Currie 099e2739b5 various msvc fixes thanks to muzzy (hope he doesn't give up:) 2002-08-20 19:16:11 +00:00
Ragnvald Maartmann-Moe IV c91f1a2aea Rename Length to VectorLength. 2002-08-20 02:22:40 +00:00
Bill Currie 2b1fd8e8c0 fix the menu keybinding not working bug 2002-08-19 02:48:38 +00:00
Bill Currie f068b47c0c complain when MAX_PACKET_ENTITIES gets hit to see if this is our problem 2002-08-15 21:11:57 +00:00
Ragnvald Maartmann-Moe IV c86565307b Use function pointers for DeathmatchOverlay, instead of a ridiculous if/else tangle. Bulkier, but considerably faster. 2002-08-15 09:38:23 +00:00
Bill Currie 0ebaa9834b fix a vim snafu 2002-08-15 03:22:58 +00:00
Bill Currie bfd02b6412 mess around with the builtin comments 2002-08-14 22:33:10 +00:00
Ragnvald Maartmann-Moe IV 520a3c0a90 Tiny speedup, cleanup. 2002-08-14 10:49:38 +00:00
Bill Currie ff02dfbbbc make the sdl clients link reliably (some versions of binutils don't cope well
with no .o files)
2002-08-12 16:42:26 +00:00
Ragnvald Maartmann-Moe IV a69b172f6f Cache grappling hook beam model loading, should speed up CTF beam handling. For mods with no beam model, wastes a pointer on a lightning bolt model. Better than crashing... ;)
Also copy the sound effects LUT for spikes into nq, which I never got around to.
2002-08-10 02:53:44 +00:00
Bill Currie b5783866ad fix model_t issues for solaris (now that I know which headers cause the
problem...:)
2002-08-09 02:44:23 +00:00
Bill Currie 1354975692 clean out some unneeded includes and fix up model_t for sun (again:P) 2002-08-08 22:24:02 +00:00
Bill Currie ad03adb133 fix a couple of sillies with sdl 2002-08-08 01:47:32 +00:00
Bill Currie 0963c2476d improved server logging. "logfile" is gone from qw-server to be replaced
with "sv_logfile" and thus giving nq-server logging as well.
2002-08-07 18:46:53 +00:00
Bill Currie 64b608b20d put *sys_sdl.c into a lib so it doesn't get compiled more than once and do
more macroizing
2002-08-07 18:20:23 +00:00
Brian Koropoff 5c60be3a49 If and while now work, and embedded commands use backticks instead of <> now
to prevent conflicts with math expressions.  All clients and servers are set
to create buffers with the normal parser.  However, scripts ending in .gib
are now executed in a GIB buffer, and the export command can be used to
make specific GIB functions available to normal command buffers (i.e. the
console).
2002-08-07 06:17:50 +00:00
Ragnvald Maartmann-Moe IV e56404d242 Use LUT instead of case for spike sound effects. Faster and more compact, though less legible. 2002-08-06 19:46:13 +00:00
Bill Currie bd9092a626 per map config files (eg, maps/start.cfg for maps/start.bsp) 2002-08-06 05:45:03 +00:00
Bill Currie abf1ef37dc convert the flag offset calculation from switch to a lookup table. this
should be a touch faster avoiding the extra jumps
2002-08-06 03:52:38 +00:00
Ragnvald Maartmann-Moe IV f0be492c75 Optimize CTF flag handling. 2002-08-03 17:20:07 +00:00
Brian Koropoff cf48363c6e More of GIB done: builtins, functions, various cleanups, math, etc. 2002-08-03 06:04:00 +00:00
Brian Koropoff 3c3844d2ac Checked in the beginnings of GIB mark III and modified qw-server to use
it for its console.
2002-08-02 04:07:25 +00:00
Bill Currie 5f4c21d796 casting from (signed) char to int does not one whit of good towards avoiding
the problems associated with signed chars being used to index arrays. must
cast to usigned char so the bit expansion is done on an unsigned value to
avoid the sign extension.
2002-08-02 03:22:32 +00:00
Bill Currie a13a2283ae forgot to remove this 2002-08-01 19:49:52 +00:00