41 #define SCRIPT_DEFAULTDEFS "script/doom_defs.script"
42 #define SCRIPT_DEFAULT "script/doom_main.script"
43 #define SCRIPT_DEFAULTFUNC "doom_main"
79 virtual void Init(
void ) = 0;
129 virtual bool Draw(
int clientNum ) = 0;
169 virtual void ClientReadSnapshot(
int clientNum,
int sequence,
const int gameFrame,
const int gameTime,
const int dupeUsercmds,
const int aheadOfServer,
const idBitMsg &msg ) = 0;
190 virtual void SwitchTeam(
int clientNum,
int team ) = 0;
virtual void EntityUpdateChangeableSpawnArgs(idEntity *ent, const idDict *dict)
virtual void GetBestGameType(const char *map, const char *gametype, char buf[MAX_STRING_CHARS])=0
idNetworkSystem * networkSystem
virtual const idDict * SetUserInfo(int clientNum, const idDict &userInfo, bool isClient, bool canModify)=0
virtual void MapAddEntity(const idDict *dict) const
virtual void AF_UpdateEntities(const char *fileName)
virtual void EntitySetColor(idEntity *ent, const idVec3 color)
virtual void ServerClientDisconnect(int clientNum)=0
virtual void ServerWriteInitialReliableMessages(int clientNum)=0
idRenderSystem * renderSystem
virtual idRenderModel * ANIM_CreateMeshForAnim(idRenderModel *model, const char *classname, const char *animname, int frame, bool remove_origin_offset)
virtual void MapRemoveEntity(const char *name) const
virtual void AF_UndoChanges(void)
virtual void EntityTranslate(idEntity *ent, const idVec3 &org)
virtual int ANIM_GetNumAnimsFromEntityDef(const idDict *args)
virtual void CacheDictionaryMedia(const idDict *dict)=0
virtual void Shutdown(void)=0
idDeclManager * declManager
virtual void ServerClientBegin(int clientNum)=0
virtual void EntitySetAxis(idEntity *ent, const idMat3 &axis)
virtual void GetMapLoadingGUI(char gui[MAX_STRING_CHARS])=0
virtual const char * GetUniqueEntityName(const char *classname) const
virtual void SpawnPlayer(int clientNum)=0
virtual idUserInterface * StartMenu()=0
virtual ~idGameEdit(void)
virtual void MapShutdown(void)=0
virtual void EntityStopSound(idEntity *ent)
virtual allowReply_t ServerAllowClient(int numClients, const char *IP, const char *guid, const char *password, char reason[MAX_STRING_CHARS])=0
virtual void PlayerGetOrigin(idVec3 &org) const
virtual void TriggerSelected()
virtual void SetServerInfo(const idDict &serverInfo)=0
idSoundSystem * soundSystem
virtual escReply_t HandleESC(idUserInterface **gui)=0
virtual const idDict & GetPersistentPlayerInfo(int clientNum)=0
virtual const char * HandleGuiCommands(const char *menuCommand)=0
virtual void Init(void)=0
idFileSystem * fileSystem
virtual void ClientProcessReliableMessage(int clientNum, const idBitMsg &msg)=0
idAASFileManager * AASFileManager
virtual void ANIM_CreateAnimFrame(const idRenderModel *model, const idMD5Anim *anim, int numJoints, idJointMat *frame, int time, const idVec3 &offset, bool remove_origin_offset)
virtual gameReturn_t ClientPrediction(int clientNum, const usercmd_t *clientCmds, bool lastPredictFrame)=0
virtual void SetPersistentPlayerInfo(int clientNum, const idDict &playerInfo)=0
virtual const char * ANIM_GetAnimNameFromEntityDef(const idDict *args, int animNum)
virtual const idDict * FindEntityDefDict(const char *name, bool makeDefault=true) const
virtual void ServerClientConnect(int clientNum, const char *guid)=0
virtual void MapCopyDictToEntity(const char *name, const idDict *dict) const
virtual void MapSetEntityKeyVal(const char *name, const char *key, const char *val) const
virtual void EntityGetAxis(idEntity *ent, idMat3 &axis) const
virtual void PlayerGetEyePosition(idVec3 &org) const
virtual const idDict * GetUserInfo(int clientNum)=0
idSoundEmitter * referenceSound
virtual void SetLocalClient(int clientNum)=0
virtual bool Draw(int clientNum)=0
virtual void MapSave(const char *path=NULL) const
virtual bool InitFromSaveGame(const char *mapName, idRenderWorld *renderWorld, idSoundWorld *soundWorld, idFile *saveGameFile)=0
virtual void PlayerGetViewAngles(idAngles &angles) const
virtual void EntityDelete(idEntity *ent)
GLsizei GLsizei GLenum GLenum const GLvoid * data
virtual void AddSelectedEntity(idEntity *ent)
virtual void PlayerGetAxis(idMat3 &axis) const
virtual gameReturn_t RunFrame(const usercmd_t *clientCmds)=0
virtual idRenderModel * ANIM_GetModelFromName(const char *modelName)
virtual idRenderModel * AF_CreateMesh(const idDict &args, idVec3 &meshOrigin, idMat3 &meshAxis, bool &poseIsSet)
virtual int ANIM_GetNumFrames(const idMD5Anim *anim)
const idSoundShader * shader
idUserInterfaceManager * uiManager
virtual const idMD5Anim * ANIM_GetAnimFromEntityDef(const char *classname, const char *animname)
virtual int GetSelectedEntities(idEntity *list[], int max)
virtual void ThrottleUserInfo(void)=0
virtual void EntitySetModel(idEntity *ent, const char *val)
idRenderModelManager * renderModelManager
virtual void EntitySetOrigin(idEntity *ent, const idVec3 &org)
virtual void InitFromNewMap(const char *mapName, idRenderWorld *renderWorld, idSoundWorld *soundWorld, bool isServer, bool isClient, int randseed)=0
virtual bool AF_SpawnEntity(const char *fileName)
virtual int ANIM_GetLength(const idMD5Anim *anim)
virtual int MapGetEntitiesMatchingClassWithString(const char *classname, const char *match, const char *list[], const int max) const
virtual void ServerWriteSnapshot(int clientNum, int sequence, idBitMsg &msg, byte *clientInPVS, int numPVSClients)=0
virtual const idVec3 & ANIM_GetModelOffsetFromEntityDef(const char *classname)
virtual bool PlayerIsValid() const
virtual void ParseSpawnArgsToRenderLight(const idDict *args, renderLight_t *renderLight)
virtual const idDict * MapGetEntityDict(const char *name) const
virtual void ParseSpawnArgsToRenderEntity(const idDict *args, renderEntity_t *renderEntity)
virtual const idMD5Anim * ANIM_GetAnim(const char *fileName)
virtual void ClearEntitySelection(void)
virtual void EntityGetOrigin(idEntity *ent, idVec3 &org) const
virtual void SpawnEntityDef(const idDict &args, idEntity **ent)
virtual void SwitchTeam(int clientNum, int team)=0
virtual void GetClientStats(int clientNum, char *data, const int len)=0
idCVarSystem * cvarSystem
virtual const idDict * EntityGetSpawnArgs(idEntity *ent) const
virtual void ParseSpawnArgsToRefSound(const idDict *args, refSound_t *refSound)
virtual int GetTimeGroupTime(int timeGroup)=0
virtual void ServerProcessReliableMessage(int clientNum, const idBitMsg &msg)=0
const int GAME_API_VERSION
virtual void ClientReadSnapshot(int clientNum, int sequence, const int gameFrame, const int gameTime, const int dupeUsercmds, const int aheadOfServer, const idBitMsg &msg)=0
virtual idRenderModel * ANIM_GetModelFromEntityDef(const char *classname)
virtual bool ClientApplySnapshot(int clientNum, int sequence)=0
virtual void EntityChangeSpawnArgs(idEntity *ent, const idDict *newArgs)
idCVar password("password","", CVAR_GAME|CVAR_NOCHEAT,"client password used when connecting")
virtual bool DownloadRequest(const char *IP, const char *guid, const char *paks, char urls[MAX_STRING_CHARS])=0
virtual void SelectTimeGroup(int timeGroup)=0
virtual bool ServerApplySnapshot(int clientNum, int sequence)=0
virtual void HandleMainMenuCommands(const char *menuCommand, idUserInterface *gui)=0
virtual idEntity * FindEntity(const char *name) const
virtual void SaveGame(idFile *saveGameFile)=0
virtual void MapEntityTranslate(const char *name, const idVec3 &v) const
idCollisionModelManager * collisionModelManager
virtual int MapGetUniqueMatchingKeyVals(const char *key, const char *list[], const int max) const
virtual void EntityUpdateVisuals(idEntity *ent)