]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
host: Introduce host.h and use it, instead of quakedef.h
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 9a1fe32fbe77e8fd70b21eea7737e74b7495da59..5f277e7861f13f0e0eedad9b7f1526ca08845cca 100644 (file)
--- 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