Bill Currie
4c7daebe89
provide SV_UserCmd builtin so progs can emulate a client but use the
...
engine's physics code
2003-03-10 16:39:40 +00:00
Bill Currie
6c028a57bb
bot player stats seem to be working working
2003-03-05 03:56:50 +00:00
Bill Currie
fc7324485e
implement SV_AllocClient and SV_FreeClient builtins
2003-03-04 03:35:12 +00:00
Brian Koropoff
34f3970847
Added the "map" GIB event to qw-server.
2003-03-04 03:23:41 +00:00
Bill Currie
389542fda7
first step in creating an interface for the snagging of client slots by
...
the progs
2003-03-03 17:08:45 +00:00
Bill Currie
1a40e5b6b4
implement WriteBytes for qc
2003-03-02 03:25:47 +00:00
Brian Koropoff
e9b117379f
Added client.connect, client.spawn, and client.disconnect GIB events.
2003-02-28 05:09:46 +00:00
Bill Currie
d2edce37a4
give qc access to WriteCoordV and WriteAngleV
2003-02-28 04:59:40 +00:00
Brian Koropoff
760210dc7b
GIB: Many bugfixes and cleanups. Added bitwise math operations, expansion
...
of leaf names in a stem variable via %var, the builtin functions 'count'
and 'contains', and an initial interface between qw-server and GIB to allow
querying of clients and their info strings. Also cleaned up the chat event
interface a bit. Renamed a few builtins.
2003-02-16 19:46:34 +00:00
Bill Currie
8ff653a142
forgot to clean up the net headers
2003-02-12 19:41:44 +00:00
Bill Currie
21d8b4f8dc
link in hw, move the qw and nq networking code into libs/net and make
...
hw-master use libnetchan. there are evil include hacks that will need to be
taken care of in net*.[ch]
2003-02-11 22:48:57 +00:00
Bill Currie
f4fdbeee4d
make the low level network code and packet logging less incentuous
2003-02-10 21:41:22 +00:00
Bill Currie
761a7546dd
re-arrange things so __attribute__ and __builtin_expect are properly
...
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Brian Koropoff
c522970a88
Added a GIB event system for registering GIB callback functions to be
...
started when a named event occurs. Added a few test events to the qw
client and server. Cleaned up the range GIB builtin a bit.
2003-01-03 04:30:38 +00:00
Brian Koropoff
714f2ced4c
Fixed several GIB bugs, optimized Cbuf_Execute_Stack a bit, changed QW
...
clients to use a separate buffer for stufftext commands.
2002-12-01 07:22:42 +00:00
Bill Currie
8d35d67997
clean up the multiple definitions of the DF_* flags
2002-11-22 17:45:30 +00:00
Bill Currie
ee30860cef
fix a bunch of ;; typos
2002-11-20 21:44:04 +00:00
Bill Currie
ca4b3acd6c
big protototype cleanup. Now, except for a few cases, all non-static
...
prototypes are in headers files.
2002-11-05 19:12:51 +00:00
Bill Currie
9298204208
support tonik's single player/coop qw port
2002-10-24 02:45:16 +00:00
Bill Currie
ef33b9754b
support as many packet entities in demos as qwex does (ie, 196). Makes me
...
wonder if I should make the server support sending 196 packet entities to
qf clients.
2002-10-17 16:03:18 +00:00
Bill Currie
6e015bba1a
d'oh, forgot to fix the FIXME :) fixes the seg on demo record start when
...
more than 1 player is invovled
2002-10-04 03:36:51 +00:00
Bill Currie
212e40b54a
mvd recording :) (thanks to qwex 0.165b and highlander)
2002-10-04 02:29:03 +00:00
Bill Currie
30c8646e70
bring in sv_demo.c from qwex. This is only the beginning of the mvd server
...
side support.
2002-10-03 21:00:35 +00:00
Bill Currie
2383340031
mvd playback support. seems to work (get some weird entities hanging around
...
but I suspect that's the mod used in the demo I was testing with), but
probably needs some cleanup.
2002-10-02 21:56:45 +00:00
Bill Currie
a6318a3baf
enhanced no_pogo_stick control
2002-09-13 04:30:18 +00:00
Brian Koropoff
7f4cd09e9d
Removed the old timecheat protection and added a system that adjusts
...
time to what the server thinks is correct when too much inaccuracy
builds up. This nearly eliminates all speed cheating, both normal and
reverse, except for a brief burst before the protection kicks in. Might
need cleaning up/tweaking.
2002-09-12 04:57:40 +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
Bill Currie
a7380fef66
nuke msg_suppress_1 in favor of Sys_DPrintf
2002-08-27 18:05:59 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Bill Currie
ad6e025a91
take cmd.[ch] back to basics. the gib code is temporarily gone pending
...
renovations. cmd_source handling is a little hacky in nq, but it's working.
2002-07-31 05:19:03 +00:00
Ragnvald Maartmann-Moe IV
587de27849
Another step towards QSG2 compliance.
2002-07-25 14:43:36 +00:00
Bill Currie
cb814165f8
allow progs to register user commands (but not override any of the standard
...
ones (yet))
2002-07-05 06:43:47 +00:00
Bill Currie
a397ef953a
Nuke Netchan_AckPacket because it didn't really achieve its goal ('twas a
...
server bug anyway), broke qizmo (not that I really care: that's still qizmo's
bug) and (most importantly) broke recording demos across map changes.
(Closes : #14 )
2002-06-19 19:58:36 +00:00
Bill Currie
5052e3db1f
add qsg support for players and actually send EFFECTS2 and FRAME2 for
...
packet entities
2002-06-19 02:55:57 +00:00
Ragnvald Maartmann-Moe IV
c8bc5dfb4c
QSG2 glows almost working. Plus lots of typos killed.
2002-06-18 21:41:24 +00:00
Bill Currie
1747c07da6
rename cl_demospeed to demo_speed and add demo_gzip (yeah, compressed demos)
2002-06-08 23:22:26 +00:00
Bill Currie
e8026d9c76
touch, think and blocked now support methods
...
also a little whitespace cleanup
2002-05-31 21:05:58 +00:00
Jeff Teunissen
b2579dca98
WOOHOO! The hardcoded framerate cap is gone! cl_maxfps 0 now allows an
...
unbounded frame rate (you can still set it to clamp your fps to, for example,
your monitor's refresh rate), and cl_maxnetfps 0 is now based on your network
rate.
The NetQuake-compatible targets now also have an unbounded framerate. This is
OK, because the built-in server uses its own tick rate.
2002-04-25 16:50:56 +00:00
Bill Currie
33513ce67b
demo autorecord patch from RvB
2002-03-14 18:48:04 +00:00
Bill Currie
3e4c200430
more evil hacks to get nq's and qw's sv_phys.c similar.
2002-02-25 22:57:17 +00:00
Bill Currie
9ea013888b
eliminate GetEdictFieldValue, mostly merge SV_AddGravity, and clean up
...
some whitespace in sv_phys.c
2002-02-25 07:44:17 +00:00
Bill Currie
96d3a997c9
bring sv_phys.c closer to being mergable. I've temporarily(?) disabled
...
Maddes' max velocity `fix' (yeah, it's physicly correct, but...). I'll
probably cvar it.
2002-02-22 05:28:17 +00:00
Bill Currie
5a1c0af8ca
more cloning :)
2002-02-20 20:53:41 +00:00
Bill Currie
8ee5acb208
redo Sys_Error so it's more usable throughout quake
2002-02-20 19:22:52 +00:00
Bill Currie
013f503738
start getting const-correct on vec3_t params
2002-01-03 05:29:38 +00:00
Ragnvald Maartmann-Moe IV
d4a8224d9b
Change hudswap to use a callback, and instead of passing a swap variable to 10 functions, where only 2 use it, use a global variable. Make a few scr functions static inline, too. Got a totally unexpected ~0.45fps speedup.
2001-12-09 14:05:30 +00:00
Bill Currie
d4df29de02
cl_paranoid: setting to 0 will disable printing the server address for
...
connectionless packets
2001-12-05 21:56:52 +00:00
Bill Currie
44b36e4d6b
sadly, I have to revert my low-copy code. it doesn't gain /enough/ to be
...
worth the bugs it's introduced (it's extremely difficult to do both low-copy
/and/ correct entity updates).
2001-12-03 05:36:39 +00:00