Kevin Shanahan
580b159130
server: remove unused variable byNumber from SV_Kick_f
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-04-01 16:18:05 +10:30
Kevin Shanahan
07e88902c7
server: remove unused variable onground from SV_ClientThink
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-04-01 16:17:42 +10:30
Kevin Shanahan
2711bc8ac5
server: pass player entity into SV_SetIdealPitch
...
Eliminates the last use of sv_player, so remove that now as well.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-25 09:08:46 +10:30
Kevin Shanahan
d5db4f0db2
server: fix missed sv_player conversion in SV_Spawn_f
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-25 09:02:51 +10:30
Kevin Shanahan
5fd664fa01
server: remove remaining instances of host_client
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-25 09:00:42 +10:30
Kevin Shanahan
85d71596c6
server: pass client into SV_DropClient
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-25 08:42:30 +10:30
Kevin Shanahan
160408c7cb
net: convert NQ "ban" command to server side
...
This is actually broken for now (the local client/admin won't have
privileges to run the command), but I have a plan...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-25 08:16:58 +10:30
Kevin Shanahan
d94475139f
server: pass client into SV_ClientPrintf
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 21:02:51 +10:30
Kevin Shanahan
4ec15ea69a
command: NQ pause/kill/kick/say/say_team/tell moved to server
...
Just ended up pulling the last bunch of these over all at once. The
only one left on the list seems to be NET_Ban_f...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 20:47:26 +10:30
Kevin Shanahan
879cf4118b
command: move NQ prespawn, spawn and begin commands server side
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 18:47:06 +10:30
Kevin Shanahan
a429465604
command: move kill and pause commands server side
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 18:26:07 +10:30
Kevin Shanahan
7a1e32fdcf
command: move the NQ give command server side
...
Extract out the Hipnotic/Rogue extensions to make the whole thing read
a little clearer.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 18:15:50 +10:30
Kevin Shanahan
ee35b53337
command: move the NQ ping command server side
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 16:15:01 +10:30
Kevin Shanahan
22c61cbe64
command: split the NQ color command across client/server
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 16:14:17 +10:30
Kevin Shanahan
fbaf680f27
command: move NQ commands god/fly/noclip/notarget server side
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 15:21:24 +10:30
Kevin Shanahan
b04dcf9ed3
command: move the NQ status command server side
...
Convert the "status" command to a server only command and register a
stub to forward the status command from the client.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 14:28:10 +10:30
Kevin Shanahan
19365c7ee3
command: split client/server 'name' commands in NQ
...
Start getting rid of NQ's dual-personality commands which try to
implement both the client and server portions (checking the command
source flag). This patch splits the 'name' command into client and
server portions using a similar method to QW.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-24 14:01:28 +10:30
Kevin Shanahan
9856fcd8c2
server: pass host_client and sv_player down from SV_RunClients()
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-22 17:42:53 +10:30
Kevin Shanahan
283686f690
server: pass client into SV_ClientThink
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-22 15:00:37 +10:30
Kevin Shanahan
649e6d671a
server: refer to player origin, angles, velocity directly in SV_ClientThink
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-18 08:49:58 +10:30
Kevin Shanahan
b7885d2693
server: trivial cleanups in SV_ReadClientMove
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-18 08:39:27 +10:30
Kevin Shanahan
14dc162adf
server: pass the clientcmd_t into SV_AirMove and SV_WaterMove
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-18 08:30:25 +10:30
Kevin Shanahan
57b9af8750
server: pass onground explicitely to SV_AirMove
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-18 08:26:11 +10:30
Kevin Shanahan
29c47cf82e
server: get rid of some global state in NQ/sv_user.c
...
The angle vectors were always updated before use, so just keep those on
the stack and pass wishdir, wishspeed, velocity, etc. between functions as
needed.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-18 08:20:59 +10:30
Kevin Shanahan
1c99bbbfd4
server: make local functions/variables static in sv_user.c
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-17 20:28:56 +10:30
Kevin Shanahan
abf5b37552
server: add SV_TraceLine wrapper for point sized traces
...
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-17 14:50:28 +10:30
Kevin Shanahan
ee7fefd3bf
server: rename SV_Move to SV_TraceMove
...
Since the function doesn't actually move anything, just traces the path
for the move and returns the results, use trace as the verb and move as
the noun.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-17 14:39:15 +10:30
Kevin Shanahan
6f7446d5ee
server: pass a trace pointer into SV_Move
...
Instead of passing back a copy.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-16 21:37:42 +10:30
Kevin Shanahan
98d99cecd5
sv: define enum for movetypes and use consistently with SV_Move()
...
Replace all uses of 0, 1, 2, true and false with the proper enum value for
SV_Move type.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-03-16 16:19:05 +10:30
Kevin Shanahan
83be6de16d
server: quick and dirty implementation of FitzQuake protocol
...
Not very well tested, but the loopback client works. Still missing entity
alpha, lerpfinish and a few other things.
Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
2013-01-15 20:21:05 +10:30
Tyrann
702ece9076
[PATCH] Remove the IDGODS network testing code
...
Remove all references to the IDGODS network testing code. Also remove the
"privileged" flag from the client struct, as that was it's only purpose.
Signed-off-by: Tyrann <tyrann@disenchant.net>
2006-09-10 19:13:50 +09:30
Tyrann
130e22195a
Import v0.47 sources
2006-09-10 19:02:51 +09:30