doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
idGame Class Referenceabstract

#include <Game.h>

Inheritance diagram for idGame:
idGameLocal

Public Member Functions

virtual ~idGame ()
 
virtual void Init (void)=0
 
virtual void Shutdown (void)=0
 
virtual void SetLocalClient (int clientNum)=0
 
virtual const idDictSetUserInfo (int clientNum, const idDict &userInfo, bool isClient, bool canModify)=0
 
virtual const idDictGetUserInfo (int clientNum)=0
 
virtual void ThrottleUserInfo (void)=0
 
virtual void SetServerInfo (const idDict &serverInfo)=0
 
virtual const idDictGetPersistentPlayerInfo (int clientNum)=0
 
virtual void SetPersistentPlayerInfo (int clientNum, const idDict &playerInfo)=0
 
virtual void InitFromNewMap (const char *mapName, idRenderWorld *renderWorld, idSoundWorld *soundWorld, bool isServer, bool isClient, int randseed)=0
 
virtual bool InitFromSaveGame (const char *mapName, idRenderWorld *renderWorld, idSoundWorld *soundWorld, idFile *saveGameFile)=0
 
virtual void SaveGame (idFile *saveGameFile)=0
 
virtual void MapShutdown (void)=0
 
virtual void CacheDictionaryMedia (const idDict *dict)=0
 
virtual void SpawnPlayer (int clientNum)=0
 
virtual gameReturn_t RunFrame (const usercmd_t *clientCmds)=0
 
virtual bool Draw (int clientNum)=0
 
virtual escReply_t HandleESC (idUserInterface **gui)=0
 
virtual idUserInterfaceStartMenu ()=0
 
virtual const char * HandleGuiCommands (const char *menuCommand)=0
 
virtual void HandleMainMenuCommands (const char *menuCommand, idUserInterface *gui)=0
 
virtual allowReply_t ServerAllowClient (int numClients, const char *IP, const char *guid, const char *password, char reason[MAX_STRING_CHARS])=0
 
virtual void ServerClientConnect (int clientNum, const char *guid)=0
 
virtual void ServerClientBegin (int clientNum)=0
 
virtual void ServerClientDisconnect (int clientNum)=0
 
virtual void ServerWriteInitialReliableMessages (int clientNum)=0
 
virtual void ServerWriteSnapshot (int clientNum, int sequence, idBitMsg &msg, byte *clientInPVS, int numPVSClients)=0
 
virtual bool ServerApplySnapshot (int clientNum, int sequence)=0
 
virtual void ServerProcessReliableMessage (int clientNum, const idBitMsg &msg)=0
 
virtual void ClientReadSnapshot (int clientNum, int sequence, const int gameFrame, const int gameTime, const int dupeUsercmds, const int aheadOfServer, const idBitMsg &msg)=0
 
virtual bool ClientApplySnapshot (int clientNum, int sequence)=0
 
virtual void ClientProcessReliableMessage (int clientNum, const idBitMsg &msg)=0
 
virtual gameReturn_t ClientPrediction (int clientNum, const usercmd_t *clientCmds, bool lastPredictFrame)=0
 
virtual void SelectTimeGroup (int timeGroup)=0
 
virtual int GetTimeGroupTime (int timeGroup)=0
 
virtual void GetBestGameType (const char *map, const char *gametype, char buf[MAX_STRING_CHARS])=0
 
virtual void GetClientStats (int clientNum, char *data, const int len)=0
 
virtual void SwitchTeam (int clientNum, int team)=0
 
virtual bool DownloadRequest (const char *IP, const char *guid, const char *paks, char urls[MAX_STRING_CHARS])=0
 
virtual void GetMapLoadingGUI (char gui[MAX_STRING_CHARS])=0
 

Detailed Description

Definition at line 74 of file Game.h.

Constructor & Destructor Documentation

virtual idGame::~idGame ( )
inlinevirtual

Definition at line 76 of file Game.h.

Member Function Documentation

virtual void idGame::CacheDictionaryMedia ( const idDict dict)
pure virtual

Implemented in idGameLocal.

virtual bool idGame::ClientApplySnapshot ( int  clientNum,
int  sequence 
)
pure virtual

Implemented in idGameLocal.

virtual gameReturn_t idGame::ClientPrediction ( int  clientNum,
const usercmd_t clientCmds,
bool  lastPredictFrame 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ClientProcessReliableMessage ( int  clientNum,
const idBitMsg msg 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ClientReadSnapshot ( int  clientNum,
int  sequence,
const int  gameFrame,
const int  gameTime,
const int  dupeUsercmds,
const int  aheadOfServer,
const idBitMsg msg 
)
pure virtual

Implemented in idGameLocal.

virtual bool idGame::DownloadRequest ( const char *  IP,
const char *  guid,
const char *  paks,
char  urls[MAX_STRING_CHARS] 
)
pure virtual

Implemented in idGameLocal.

virtual bool idGame::Draw ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual void idGame::GetBestGameType ( const char *  map,
const char *  gametype,
char  buf[MAX_STRING_CHARS] 
)
pure virtual
virtual void idGame::GetClientStats ( int  clientNum,
char *  data,
const int  len 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::GetMapLoadingGUI ( char  gui[MAX_STRING_CHARS])
pure virtual

Implemented in idGameLocal.

virtual const idDict& idGame::GetPersistentPlayerInfo ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual int idGame::GetTimeGroupTime ( int  timeGroup)
pure virtual
virtual const idDict* idGame::GetUserInfo ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual escReply_t idGame::HandleESC ( idUserInterface **  gui)
pure virtual

Implemented in idGameLocal.

virtual const char* idGame::HandleGuiCommands ( const char *  menuCommand)
pure virtual

Implemented in idGameLocal.

virtual void idGame::HandleMainMenuCommands ( const char *  menuCommand,
idUserInterface gui 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::Init ( void  )
pure virtual

Implemented in idGameLocal.

virtual void idGame::InitFromNewMap ( const char *  mapName,
idRenderWorld renderWorld,
idSoundWorld soundWorld,
bool  isServer,
bool  isClient,
int  randseed 
)
pure virtual

Implemented in idGameLocal.

virtual bool idGame::InitFromSaveGame ( const char *  mapName,
idRenderWorld renderWorld,
idSoundWorld soundWorld,
idFile saveGameFile 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::MapShutdown ( void  )
pure virtual

Implemented in idGameLocal.

virtual gameReturn_t idGame::RunFrame ( const usercmd_t clientCmds)
pure virtual

Implemented in idGameLocal.

virtual void idGame::SaveGame ( idFile saveGameFile)
pure virtual

Implemented in idGameLocal.

virtual void idGame::SelectTimeGroup ( int  timeGroup)
pure virtual
virtual allowReply_t idGame::ServerAllowClient ( int  numClients,
const char *  IP,
const char *  guid,
const char *  password,
char  reason[MAX_STRING_CHARS] 
)
pure virtual

Implemented in idGameLocal.

virtual bool idGame::ServerApplySnapshot ( int  clientNum,
int  sequence 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ServerClientBegin ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ServerClientConnect ( int  clientNum,
const char *  guid 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ServerClientDisconnect ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ServerProcessReliableMessage ( int  clientNum,
const idBitMsg msg 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ServerWriteInitialReliableMessages ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ServerWriteSnapshot ( int  clientNum,
int  sequence,
idBitMsg msg,
byte clientInPVS,
int  numPVSClients 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::SetLocalClient ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual void idGame::SetPersistentPlayerInfo ( int  clientNum,
const idDict playerInfo 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::SetServerInfo ( const idDict serverInfo)
pure virtual

Implemented in idGameLocal.

virtual const idDict* idGame::SetUserInfo ( int  clientNum,
const idDict userInfo,
bool  isClient,
bool  canModify 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::Shutdown ( void  )
pure virtual

Implemented in idGameLocal.

virtual void idGame::SpawnPlayer ( int  clientNum)
pure virtual

Implemented in idGameLocal.

virtual idUserInterface* idGame::StartMenu ( )
pure virtual

Implemented in idGameLocal.

virtual void idGame::SwitchTeam ( int  clientNum,
int  team 
)
pure virtual

Implemented in idGameLocal.

virtual void idGame::ThrottleUserInfo ( void  )
pure virtual

Implemented in idGameLocal.


The documentation for this class was generated from the following file: