#ifndef SYS_H
#define SYS_H
+typedef struct sys_s
+{
+ int argc;
+ const char **argv;
+ int selffd;
+ int outfd;
+ int nicelevel;
+ qbool nicepossible;
+ qbool isnice;
+} sys_t;
+
+extern sys_t sys;
+
extern cvar_t sys_usenoclockbutbenchmark;
//
* \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
#ifdef __cplusplus
extern "C"
#endif
-void Sys_AllowProfiling (qboolean enable);
+void Sys_AllowProfiling (qbool enable);
typedef struct sys_cleantime_s
{
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