Bill Currie
d7eda4c8e2
FL_FINDABLE_NONSOLID support in findradius
2007-04-08 04:46:52 +00:00
Bill Currie
124506fda2
Fix the access alignment bug on 64 bit archs.
2007-04-07 01:41:23 +00:00
Bill Currie
45d467d748
box tracing (instead of point). Currently disabled because it doesn't work right just yet. However, when it is working, it will let us do things like crouching, crawling, arbitrary sized objects (including players), etc.
2006-12-24 03:13:29 +00:00
Bill Currie
3fb03fc2be
hah, should have been using __attribute__((used)) all that time (rather
...
than __attribute__((unused))). fixes the missing console in -x11
2005-08-04 15:27:09 +00:00
Bill Currie
c6cfcb1a9c
mvds seem to work again
2005-05-01 22:13:10 +00:00
Bill Currie
73a34b86e8
recorder interface to ease writing server state to mvds and qtv. ones this
...
is working properly, adding qtv support will be trivial.
2005-05-01 09:07:20 +00:00
Bill Currie
f1437732a7
rename checkmove to tracebox. This is sort of Matthew T. Atkinson's
...
tracebox patch, but since the code was already there under a different
name, just rename the old code. Really got to wonder who first wrote this
function: Mercury or LordHavoc (and if LH, did he write it for qf or dp
first?)
2005-04-26 02:52:51 +00:00
Bill Currie
0b3d378d32
minor optimisations
2005-04-25 07:24:50 +00:00
Bill Currie
10232acdfe
make droptofloor continue the trace if it starts solid. fixes the ceiling
...
hugging sng in e1m7.
2005-04-24 13:31:47 +00:00
Bill Currie
53ee50655c
allow the progs code to hook into the parsing processes
...
This is an imperfect revision of history.
2004-11-12 11:15:00 +00:00
Bill Currie
8770df39e5
start documenting things (progs building still borked)
...
This is an imperfect revision of history.
2004-11-08 23:27:00 +00:00
Bill Currie
c188159384
various mvd fixes for bots, especially getting the angles written
2004-04-06 22:02:45 +00:00
Bill Currie
b502cfc3ce
move ClientReliable* from sv_nchan to MSG_Reliabe* in msg_backbuf so the
...
backbuffer code can be shared between qw-server and qtv
2004-02-22 05:40:08 +00:00
Bill Currie
fa58b795f2
except for packet logging, netchan is much cleaner (no more cls in the
...
server!)
2004-02-19 08:58:42 +00:00
Bill Currie
58ce134a3c
implement an optimisation Griever found. hopefully doesn't cause any
...
problems
2004-01-25 07:19:11 +00:00
Bill Currie
8651fabfbc
bah, my findradius fix got stomped on :P
2004-01-25 07:12:01 +00:00
Bill Currie
249aee2e9f
move the OO runtime support code from libQFgamecode to libQFruamoko where
...
it really belongs :)
2004-01-16 08:02:31 +00:00
Bill Currie
e7ffad8772
more rua cleanups: now just one init function to call (it calls the rest)
2004-01-16 07:03:58 +00:00
Bill Currie
133879f8fa
provide builtin mappings for id (none, really), qf and ktpro/qwe (qw only),
...
add qwe builtin extensions to qw-server. provide sv_progs_ext to control
the builtin mapping. valid values are "id", "qf" (our old static builtins),
"qwe"/"ktpro" (either works. for ktpro mod support) and "none" (no
mapping). any other value is equivalent to "none".
2004-01-06 07:00:39 +00:00
Bill Currie
acd54afff7
move to using a hash table for builtin number -> builtin lookup so sparse
...
ranges can be used efficiently. move the auto-allocated builtins to
0x10000000-0x7fffffff. should be more than enough :)
use static builtin tables ("nul" terminated) instead of a series of
function calls to add builtins to a vm. should be more memory efficient.
2004-01-06 05:51:09 +00:00
Daniel Anderson
d9db1a0c04
Treat cs_server clients like non-client entities for GIB "frag" event
2004-01-05 00:48:41 +00:00
Bill Currie
e56e566bca
eek, had the entity center-point calculation wrong. thanks, grievre
2003-12-09 04:29:12 +00:00
Bill Currie
ce745c8078
better command output redirection handling: maplist over rcon should show
...
all (or most, there are limits still) of the maps on a server with many
maps.
move the optional progs funcs into sv_funcs_t and add UserInfoChanged,
ChatMessage and LocalinfoChanged callback support.
clean up PF_setinfo (and SV_SetInfo_f and SV_Localinfo_f) using shared code
where possible und to use the UserInfoChanged and LocalinfoChanged
callbacks.
add chat message callback to SV_Say. if it returns zero, normal chat
handling is done, otherwise it's assumed to have been handled by the progs.
provide a hook for unkown user commands. non-zero return means it's been
handled.
2003-11-21 06:09:21 +00:00
Bill Currie
8e0a464ad7
get server clients updated properly
2003-08-21 20:35:36 +00:00
Bill Currie
fd433442fb
allow server clients to be initialized properly (SV_Spawn) and send server
...
client info to connecting clients
2003-08-21 03:50:30 +00:00
Bill Currie
6a94607d9d
rename VectorMA to VectorMultAdd, add VectorMultSub and use it in a few
...
places. Not certain how much speed difference it makes :/
2003-08-08 15:25:53 +00:00
Bill Currie
ada828bdc9
remove a whole swath of potential buffer overflows by removing the buffer.
...
Also audit a few of the "FIXME: overflow" tags
2003-08-05 01:45:52 +00:00
Bill Currie
4f66e1e9da
fix a bunch of the previous FIXMEs. needs a bit more work for win32
...
compiling
2003-07-08 22:39:45 +00:00
Bill Currie
dddf045221
put "FIXME: overflow" on all the char arrays I could find that weren't
...
obviously safe
2003-07-08 20:11:10 +00:00
Bill Currie
016743c3ab
diff reduction and maybe a couple speedups
2003-05-29 04:49:34 +00:00
Ragnvald Maartmann-Moe IV
1c1e6e17c4
Clean up sv_pr_cmds.c, and sync up nq's copy.
2003-05-29 02:40:34 +00:00
Bill Currie
460c8f7f0f
mindHog's qfpython patch. GIB info string event callbacks and a compile fix
...
for broken x11 headers.
2003-05-16 16:17:24 +00:00
Bill Currie
e732cf591d
remove all references to OFS_* from the C code. only the macros in progs.h
...
use them now
2003-04-22 18:20:15 +00:00
Ragnvald Maartmann-Moe IV
5fb8aa07f3
Code style, people. Love it or leave it!
2003-03-21 21:25:44 +00:00
Bill Currie
2dd3fab209
force model and sound names coming in from the progs to be lowercase
2003-03-13 16:29:55 +00:00
Bill Currie
a565f2f9ea
`document' the new client functions
2003-03-10 16:49:01 +00:00
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
f70b1fbafd
actually free the client when SV_FreeClient is called (oops:)
2003-03-05 18:19:32 +00:00
Bill Currie
6c028a57bb
bot player stats seem to be working working
2003-03-05 03:56:50 +00:00
Bill Currie
3e05400175
add SV_SetUserinfo builtin
2003-03-04 17:28:31 +00:00
Bill Currie
2310e94df8
fix userid setup
2003-03-04 16:00:57 +00:00
Bill Currie
e131ec5885
fix the status seg
2003-03-04 07:44:22 +00:00
Bill Currie
cee4846743
hmm, that segs :), but then, so does doing "status" while bots are going
2003-03-04 07:36:34 +00:00
Bill Currie
a10704f99d
boundscheck the client entity
2003-03-04 04:10:25 +00:00
Bill Currie
9fbbadb788
disable the disconnect events for bots as I'm not yet sure how I'm going to
...
do things
2003-03-04 04:03:02 +00:00
Bill Currie
fc7324485e
implement SV_AllocClient and SV_FreeClient builtins
2003-03-04 03:35:12 +00:00
Bill Currie
da3cac2b6a
oops, didn't notice the lack of {}s
2003-03-03 21:46:41 +00:00
Bill Currie
c52ce7f202
slight optimisation
2003-03-03 21:41:13 +00:00
Bill Currie
1a40e5b6b4
implement WriteBytes for qc
2003-03-02 03:25:47 +00:00
Bill Currie
d2edce37a4
give qc access to WriteCoordV and WriteAngleV
2003-02-28 04:59:40 +00:00