OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
gameExport_s Struct Reference

Public Attributes

int apiversion
 
void(* Init )(int startTime, int randomSeed)
 
void(* Shutdown )(void)
 
void(* Cleanup )(qboolean samemap)
 
void(* Precache )(void)
 
void(* SetMap )(const char *mapName)
 
void(* Restart )()
 
void(* SetTime )(int svsStartTime, int svsTime)
 
void(* SpawnEntities )(char *entstring, int levelTime)
 
const char *(* ClientConnect )(int clientNum, qboolean firstTime, qboolean differentMap)
 
void(* ClientBegin )(gentity_t *ent, usercmd_t *cmd)
 
void(* ClientUserinfoChanged )(gentity_t *ent, const char *userinfo)
 
void(* ClientDisconnect )(gentity_t *ent)
 
void(* ClientCommand )(gentity_t *ent)
 
void(* ClientThink )(gentity_t *ent, usercmd_t *cmd, usereyes_t *eyeinfo)
 
void(* BotBegin )(gentity_t *ent)
 
void(* BotThink )(gentity_t *ent, int msec)
 
void(* PrepFrame )(void)
 
void(* RunFrame )(int levelTime, int frameTime)
 
void(* ServerSpawned )(void)
 
void(* RegisterSounds )()
 
qboolean(* AllowPaused )()
 
qboolean(* ConsoleCommand )(void)
 
void(* ArchivePersistant )(const char *name, qboolean loading)
 
void(* WriteLevel )(const char *filename, qboolean autosave, byte **savedCgameState, size_t *savedCgameStateSize)
 
qboolean(* ReadLevel )(const char *filename, byte **savedCgameState, size_t *savedCgameStateSize)
 
qboolean(* LevelArchiveValid )(const char *filename)
 
void(* ArchiveInteger )(int *i)
 
void(* ArchiveFloat )(float *fl)
 
void(* ArchiveString )(char *s)
 
void(* ArchiveSvsTime )(int *pi)
 
orientation_t(* TIKI_Orientation )(gentity_t *edict, int num)
 
void(* DebugCircle )(float *org, float radius, float r, float g, float b, float alpha, qboolean horizontal)
 
void(* SetFrameNumber )(int frameNumber)
 
void(* SoundCallback )(int entNum, soundChannel_t channelNumber, const char *name)
 
profGame_tprofStruct
 
struct gentity_sgentities
 
int gentitySize
 
int num_entities
 
int max_entities
 
const char * errorMessage
 

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