29 #ifndef __ASYNCCLIENT_H__
30 #define __ASYNCCLIENT_H__
189 void InitGame(
int serverGameInitId,
int serverGameFrame,
int serverGameTime,
const idDict &serverSI );
void ProcessAuthKeyMessage(const netadr_t from, const idBitMsg &msg)
const int MAX_ASYNC_CLIENTS
usercmd_t userCmds[MAX_USERCMD_BACKUP][MAX_ASYNC_CLIENTS]
void ProcessInfoResponseMessage(const netadr_t from, const idBitMsg &msg)
backgroundDownload_t backgroundDownload
int dlChecksums[MAX_PURE_PAKS]
bool IsActive(void) const
void SendPingResponseToServer(int time)
void ProcessChallengeResponseMessage(const netadr_t from, const idBitMsg &msg)
void HandleDownloads(void)
int GetDownloadRequest(const int checksums[MAX_PURE_PAKS], int count, int gamePakChecksum)
static const char * HandleGuiCommand(const char *cmd)
void ProcessReliableServerMessages(void)
int GetPredictedFrames(void) const
void GetServerInfo(const netadr_t adr)
void SendReliableGameMessage(const idBitMsg &msg)
void ConnectToServer(const netadr_t adr)
float GetIncomingCompression(void) const
void SendEmptyToServer(bool force=false, bool mapLoad=false)
idUserInterface * guiNetMenu
void SendVersionDLUpdate(int state)
idList< pakDlEntry_t > dlList
void ClearPendingPackets(void)
void SendVersionCheck(bool fromMenu=false)
bool updateDirectDownload
GLuint GLuint GLsizei count
int UpdateTime(int clamp)
void ProcessPrintMessage(const netadr_t from, const idBitMsg &msg)
int GetPrediction(void) const
void PacifierUpdate(void)
const char * HandleGuiCommandInternal(const char *cmd)
float GetIncomingPacketLoss(void) const
void ProcessUnreliableServerMessage(const idBitMsg &msg)
float GetOutgoingCompression(void) const
void SetupConnection(void)
clientUpdateState_t updateState
void ProcessMessage(const netadr_t from, idBitMsg &msg)
void ProcessServersListMessage(const netadr_t from, const idBitMsg &msg)
int GetOutgoingRate(void) const
bool ValidatePureServerChecksums(const netadr_t from, const idBitMsg &msg)
int GetLocalClientNum(void) const
void InitGame(int serverGameInitId, int serverGameFrame, int serverGameTime, const idDict &serverSI)
void ProcessPureMessage(const netadr_t from, const idBitMsg &msg)
int serverMessageSequence
void ProcessReliableMessagePure(const idBitMsg &msg)
bool SendAuthCheck(const char *cdkey, const char *xpkey)
void DuplicateUsercmds(int frame, int time)
void RemoteConsole(const char *command)
void ProcessDisconnectMessage(const netadr_t from, const idBitMsg &msg)
void ProcessDownloadInfoMessage(const netadr_t from, const idBitMsg &msg)
int GetTimeSinceLastPacket(void) const
const int MAX_USERCMD_BACKUP
void SendUserInfoToServer(void)
void SendUsercmdsToServer(void)
int GetIncomingRate(void) const
void ProcessVersionMessage(const netadr_t from, const idBitMsg &msg)
void ReadLocalizedServerString(const idBitMsg &msg, char *out, int maxLen)
void DisconnectFromServer(void)
void ProcessConnectResponseMessage(const netadr_t from, const idBitMsg &msg)
clientState_t clientState
void ConnectionlessMessage(const netadr_t from, const idBitMsg &msg)