server_state_t state;
sizebuf_t datagram;
- qbyte datagram_buf[MAX_DATAGRAM];
+ qbyte datagram_buf[NET_MAXMESSAGE];
// copied to all clients at end of frame
sizebuf_t reliable_datagram;
- qbyte reliable_datagram_buf[MAX_DATAGRAM];
+ qbyte reliable_datagram_buf[NET_MAXMESSAGE];
sizebuf_t signon;
- // LordHavoc: increased signon message buffer from 8192 to 32768
- qbyte signon_buf[32768];
+ // LordHavoc: increased signon message buffer from 8192
+ qbyte signon_buf[NET_MAXMESSAGE];
} server_t;
// can be added to at any time, copied and clear once per frame
sizebuf_t message;
- qbyte msgbuf[MAX_DATAGRAM];
+ qbyte msgbuf[NET_MAXMESSAGE];
// EDICT_NUM(clientnum+1)
edict_t *edict;
// visibility state
float visibletime[MAX_EDICTS];
+
+ // prevent animated names
+ float nametime;
+
#ifdef QUAKEENTITIES
// delta compression state
float nextfullupdate[MAX_EDICTS];
extern cvar_t sv_stepheight;
extern cvar_t sv_jumpstep;
+extern cvar_t sv_gameplayfix_grenadebouncedownslopes;
+extern cvar_t sv_gameplayfix_noairborncorpse;
+extern cvar_t sv_gameplayfix_stepwhilejumping;
+extern cvar_t sv_gameplayfix_swiminbmodels;
+
extern mempool_t *sv_clients_mempool;
extern mempool_t *sv_edicts_mempool;
void SV_ClientThink (void);
-void SV_ClientPrintf (const char *fmt, ...);
-void SV_BroadcastPrintf (const char *fmt, ...);
+void SV_ClientPrint(const char *msg);
+void SV_ClientPrintf(const char *fmt, ...);
+void SV_BroadcastPrint(const char *msg);
+void SV_BroadcastPrintf(const char *fmt, ...);
void SV_Physics (void);