- Greatly improve UDP downloading speed for clients

- Add download rate control cvar sv_dlRate
- Don't send snapshots to downloading clients
This commit is contained in:
Thilo Schulz 2011-07-12 11:01:20 +00:00
parent 1d880da777
commit e52a492f61
6 changed files with 150 additions and 78 deletions

View file

@ -345,7 +345,7 @@ void SV_DropClient( client_t *drop, const char *reason );
void SV_ExecuteClientCommand( client_t *cl, const char *s, qboolean clientOK );
void SV_ClientThink (client_t *cl, usercmd_t *cmd);
void SV_WriteDownloadToClient( client_t *cl , msg_t *msg );
int SV_WriteDownloadToClient(client_t *cl , msg_t *msg);
#ifdef USE_VOIP
void SV_WriteVoipToClient( client_t *cl, msg_t *msg );