diff options
Diffstat (limited to 'src/qcommon/qcommon.h')
-rw-r--r-- | src/qcommon/qcommon.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index 1f9e744d..690e89c6 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -534,6 +534,7 @@ char *Cvar_InfoString_Big( int bit ); void Cvar_InfoStringBuffer( int bit, char *buff, int buffsize ); void Cvar_CheckRange( cvar_t *cv, float minVal, float maxVal, qboolean shouldBeIntegral ); +void Cvar_Restart(qboolean unsetVM); void Cvar_Restart_f( void ); void Cvar_CompleteCvarName( char *args, int argNum ); @@ -784,6 +785,7 @@ void QDECL Com_Printf( const char *fmt, ... ) __attribute__ ((format (printf, void QDECL Com_DPrintf( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2))); void QDECL Com_Error( int code, const char *fmt, ... ) __attribute__ ((format (printf, 2, 3))); void Com_Quit_f( void ); +void Com_GameRestart(int checksumFeed, qboolean clientRestart); int Com_Milliseconds( void ); // will be journaled properly unsigned Com_BlockChecksum( const void *buffer, int length ); @@ -961,6 +963,9 @@ void CL_FlushMemory( void ); void CL_StartHunkUsers( qboolean rendererOnly ); // start all the client stuff using the hunk +void CL_Snd_Restart(void); +// Restart sound subsystem + void Key_KeynameCompletion( void(*callback)(const char *s) ); // for keyname autocompletion @@ -1057,7 +1062,7 @@ qboolean Sys_StringToAdr( const char *s, netadr_t *a, netadrtype_t family ); qboolean Sys_IsLANAddress (netadr_t adr); void Sys_ShowIP(void); -void Sys_Mkdir( const char *path ); +qboolean Sys_Mkdir( const char *path ); char *Sys_Cwd( void ); void Sys_SetDefaultInstallPath(const char *path); char *Sys_DefaultInstallPath(void); @@ -1078,6 +1083,8 @@ void Sys_Sleep(int msec); qboolean Sys_LowPhysicalMemory( void ); +void Sys_SetEnv(const char *name, const char *value); + /* This is based on the Adaptive Huffman algorithm described in Sayood's Data * Compression book. The ranks are not actually stored, but implicitly defined * by the location of a node within a doubly-linked list */ |