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
0a8867fde9
replace all VectorSubtract (vec3_origin, ... and
...
VectorCopy (vec3_origin, ... with VectorNegate (... and VectorZero (...,
respectively. Should be a small speedup.
2003-09-03 22:17:04 +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
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
Ragnvald Maartmann-Moe IV
c91f1a2aea
Rename Length to VectorLength.
2002-08-20 02:22:40 +00:00
Ragnvald Maartmann-Moe IV
1478dcd9c9
Prune dead code.
2002-07-02 21:37:22 +00:00
Bill Currie
e5c470d5e4
realtime should not be affected by pause and also should not be used for
...
physics and progs, that's what sv.time is for. Things seem to work nicely,
including map changing, and this /should/ make long uptime servers work so
long as the map gets changes occasionally.
2002-06-20 16:38:16 +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
Bill Currie
5d3830eeb1
move SV_SetMoveVars
2002-02-26 07:32:23 +00:00
Bill Currie
6ba5e823b2
use sv_gravity->value instead of movevars.gravity
2002-02-25 23:11:39 +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
676527a0d3
if the velocity is 0, don't bother clipping it.
2002-02-25 18:40:51 +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
cd29f8b9a0
remove an unneeded prototyp
2002-02-25 06:34:06 +00:00
Bill Currie
8e31211266
don't link in a MOVETYPE_NONE edict that has freed itself via its think
...
function.
2002-02-25 03:22:32 +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
87cb9647ab
reduce the fluffy diffs
2002-02-20 20:21:08 +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
c5aec15569
This prepares for moving the net_svc code to a branch allowing both network
...
code cleanups and general performance work to be developed in relative peace.
While cleaning up the networking code /is/ important, fixing QF's perfomance
issues is of much higher priority.
2001-11-07 08:24:56 +00:00
Adam Olsen
9f088567d1
- convert svc_sound, svc_spawnbaseline, svc_spawnstatic, and
...
svc_tempentity
there isn't actually anything in the server that uses svc_tempentity,
only the progs do, so it's currently unused.
2001-11-02 10:40:20 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Bill Currie
def8bb3cd5
LordHavoc's VectorIsNull changes from 0.3 but as VectorIsZero (no such thing
...
as a `null' vector) plus a couple of other bits from his patch.
2001-09-11 05:18:15 +00:00
Ragnvald Maartmann-Moe IV
f4fd3178f4
More header and whitespace horror reduction.
2001-08-28 02:43:24 +00:00
Bill Currie
fb42199637
change all the SVFIELD calls to SVtype. this should make the code a little
...
easier to read.
2001-08-08 20:28:53 +00:00
Bill Currie
7a06a2254a
rename the Con_Printf in sv_send.c to SV_Printf and change all the calls to
...
Con_Printf in the server code to SV_Printf.
nuke Con_DPrintf from sv_send.c
2001-07-11 23:11:29 +00:00
Bill Currie
f78b973978
move the api headers into include/QF and clean up (most of) the resulting mess.
...
target specific files that I don't build won't compile yet. just put QF/
infront of the offending headers.
Also move ver_check into libqfutils
2001-03-27 20:33:07 +00:00
Bill Currie
6c9de8061b
fix the silly OP_STATE bug. also erradicate pr_offs.c and its contents (the
...
source of the bug)
2001-03-02 19:18:04 +00:00
Bill Currie
be8f1cef7c
just some temporary debug info
2001-03-01 23:30:55 +00:00
Bill Currie
10e6b7af84
edict field access type checking :) Currently forced on, but it will become a
...
configure option in the future
2001-03-01 21:11:35 +00:00
Bill Currie
ef38fd2e79
progsdef.h is now used only for the PROGHEADER_CRC def. Much of the protocol
...
still seems to be broken :(
2001-03-01 18:44:19 +00:00
Bill Currie
ad18afaa3c
really clean up global and function access. Unfortunatly, frames are still
...
borked, at least for the view entity.
2001-03-01 08:34:30 +00:00
Bill Currie
63b990cd30
qw-server builds, but dies a sad death. I REALLY REALLY NEED to clean up my
...
progs globals and edict fields accessors, but I'm not so sure that's the cause
of the run-time error:
SV_Error: SV_ModelIndex: model progs/player.mdl not precached
Fatal error: SV_Error: SV_ModelIndex: model progs/player.mdl not precached
I suspect I failed to find the spawn function.
2001-02-28 22:44:38 +00:00
Bill Currie
87854e1a0c
initial checkin of most recent newtree and nuq(?) source
2001-02-19 21:15:25 +00:00