29 #ifndef __ASYNCNETWORK_H__
30 #define __ASYNCNETWORK_H__
42 #define MAJOR_VERSION(v) ( v >> 16 )
147 static void Init(
void );
const int MAX_ASYNC_CLIENTS
static void Shutdown(void)
static idCVar serverSnapshotDelay
bool IsActive(void) const
static idCVar serverReloadEngine
static idCVar serverMaxUsercmdRelay
static void Connect_f(const idCmdArgs &args)
bool IsActive(void) const
static idCVar clientPrediction
const int ASYNC_PROTOCOL_VERSION
static idCVar clientDownload
#define ASYNC_PROTOCOL_MAJOR
static idAsyncClient client
static idCVar clientMaxPrediction
const int MAX_USERCMD_DUPLICATION
static idCVar serverDrawClient
static idCVar serverAllowServerMod
static idCVar clientRemoteConsoleAddress
static void UpdateUI_f(const idCmdArgs &args)
static idCVar serverClientTimeout
static idCVar clientUsercmdBackup
const int MAX_MASTER_SERVERS
static idCVar serverZombieTimeout
static void RemoteConsole_f(const idCmdArgs &args)
static master_t masters[MAX_MASTER_SERVERS]
const int GAME_INIT_ID_INVALID
static idCVar clientMaxRate
static bool IsActive(void)
static void GetLANServers_f(const idCmdArgs &args)
const int GAME_INIT_ID_MAP_LOAD
static void Reconnect_f(const idCmdArgs &args)
const int ASYNC_PROTOCOL_MINOR
static void CheckNewVersion_f(const idCmdArgs &args)
static idAsyncServer server
static void WriteUserCmdDelta(idBitMsg &msg, const usercmd_t &cmd, const usercmd_t *base)
static void BuildInvalidKeyMsg(idStr &msg, bool valid[2])
const int MAX_USERCMD_RELAY
static void GetNETServers()
static idCVar serverDedicated
static void SpawnServer_f(const idCmdArgs &args)
static void Kick_f(const idCmdArgs &args)
static void Heartbeat_f(const idCmdArgs &args)
static idCVar allowCheats
static idCVar serverRemoteConsolePassword
static netadr_t GetMasterAddress(void)
static void GetServerInfo_f(const idCmdArgs &args)
const int MAX_SERVER_PORTS
static bool UsercmdInputChanged(const usercmd_t &previousUserCmd, const usercmd_t ¤tUserCmd)
static void ExecuteSessionCommand(const char *sessCmd)
static idCVar clientRemoteConsolePassword
static void RunFrame(void)
static bool DuplicateUsercmd(const usercmd_t &previousUserCmd, usercmd_t ¤tUserCmd, int frame, int time)
static idCVar serverMaxClientRate
const int MAX_USERCMD_BACKUP
static idCVar clientServerTimeout
static void ReadUserCmdDelta(const idBitMsg &msg, usercmd_t &cmd, const usercmd_t *base)
static void ListServers_f(const idCmdArgs &args)
static void NextMap_f(const idCmdArgs &args)