X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=sys.h;h=5f277e7861f13f0e0eedad9b7f1526ca08845cca;hb=75bb9b3239f87d7c9e7f809dd83507166cd39079;hp=9a1fe32fbe77e8fd70b21eea7737e74b7495da59;hpb=f5f66087e671a5f7f2ca91db5f8a2b920d5f1926;p=xonotic%2Fdarkplaces.git diff --git a/sys.h b/sys.h index 9a1fe32f..5f277e78 100644 --- a/sys.h +++ b/sys.h @@ -28,6 +28,9 @@ typedef struct sys_s const char **argv; int selffd; int outfd; + int nicelevel; + qbool nicepossible; + qbool isnice; } sys_t; extern sys_t sys; @@ -60,10 +63,12 @@ dllfunction_t; * \param handle * \param fcts */ -qboolean Sys_LoadLibrary (const char** dllnames, dllhandle_t* handle, const dllfunction_t *fcts); +qbool Sys_LoadLibrary (const char** dllnames, dllhandle_t* handle, const dllfunction_t *fcts); void Sys_UnloadLibrary (dllhandle_t* handle); void* Sys_GetProcAddress (dllhandle_t handle, const char* name); +int Sys_CheckParm (const char *parm); + /// called early in Host_Init void Sys_InitConsole (void); /// called after command system is initialized but before first Con_Print @@ -96,7 +101,7 @@ void Sys_Quit (int returnvalue); #ifdef __cplusplus extern "C" #endif -void Sys_AllowProfiling (qboolean enable); +void Sys_AllowProfiling (qbool enable); typedef struct sys_cleantime_s { @@ -119,7 +124,7 @@ void Sys_SendKeyEvents (void); char *Sys_GetClipboardData (void); -extern qboolean sys_supportsdlgetticks; +extern qbool sys_supportsdlgetticks; unsigned int Sys_SDL_GetTicks (void); // wrapper to call SDL_GetTicks void Sys_SDL_Delay (unsigned int milliseconds); // wrapper to call SDL_Delay