35 #include "../idlib/precompiled.h"
69 if ( spawnArgs.GetBool(
"no_stamina" ) ) {
88 kv = spawnArgs.MatchPrefix(
"call" );
97 kv = spawnArgs.MatchPrefix(
"call", kv );
float GetFloat(const char *key, const char *defaultString="0") const
idStr & SetFileExtension(const char *extension)
assert(prefInfo.fullscreenBtn)
void DelayedStart(int delay)
void Save(idRestoreGame *savefile)
const idStr & GetKey(void) const
virtual int ReadFile(const char *relativePath, void **buffer, ID_TIME_T *timestamp=NULL)=0
void void void void void Error(const char *fmt,...) const id_attribute((format(printf
idFileSystem * fileSystem
void CompileFile(const char *filename)
const idEventDef EV_SafeRemove("remove", NULL)
#define EVENT(event, function)
const char * GetMapName(void) const
idCVar g_gravity("g_gravity", DEFAULT_GRAVITY_STRING, CVAR_GAME|CVAR_FLOAT,"")
bool GetBool(const char *key, const char *defaultString="0") const
const idStr & GetValue(void) const
const float DEFAULT_GRAVITY
#define CLASS_DECLARATION(nameofsuperclass, nameofclass)
const char * c_str(void) const
void Restore(idRestoreGame *savefile)
const idEventDef EV_Remove("<immediateremove>", NULL)
function_t * FindFunction(const char *name) const
char * va(const char *fmt,...)
void SetFloat(const float value)
idCVar pm_stamina("pm_stamina","24", CVAR_GAME|CVAR_NETWORKSYNC|CVAR_FLOAT,"length of time player can run")