summaryrefslogtreecommitdiff
path: root/src/server/server.h
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-07-27 15:47:29 +0000
committerTim Angus <tim@ngus.net>2013-01-10 22:36:32 +0000
commit34e5d1056d0cd83648db904549a368ef904e2be8 (patch)
tree94f69d7546b28b8b8854b06526b70934a65c0dc0 /src/server/server.h
parentd28ee7e3da161ae9a9e9f339291001948672dae7 (diff)
- Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer - Improve voip target parsing on top of Ben Millwood's patch - Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance) (#4467) - Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency - Protocol version incremented to 71
Diffstat (limited to 'src/server/server.h')
-rw-r--r--src/server/server.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/server.h b/src/server/server.h
index daa0dee7..de4ecc27 100644
--- a/src/server/server.h
+++ b/src/server/server.h
@@ -44,6 +44,7 @@ typedef struct voipServerPacket_s
int frames;
int len;
int sender;
+ int flags;
byte data[1024];
} voipServerPacket_t;
#endif
@@ -345,10 +346,6 @@ int SV_WriteDownloadToClient(client_t *cl , msg_t *msg);
int SV_SendDownloadMessages(void);
int SV_SendQueuedMessages(void);
-#ifdef USE_VOIP
-void SV_WriteVoipToClient( client_t *cl, msg_t *msg );
-#endif
-
//
// sv_ccmds.c