]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
PR_Alloc/Free/FreeAll now report filename/fileline of their caller in the Mem_ calls...
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 1890fce29d071e3338fd9c8f4d834887ca95d4a9..afaf8ecc4adab8f4af1b74b73413bc7aef819927 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -44,14 +44,16 @@ typedef struct
 }
 dllfunction_t;
 
-qboolean Sys_LoadLibrary (const char* dllname, dllhandle_t* handle, const dllfunction_t *fcts);
+// "dllnames" is an NULL terminated array of possible names for the DLL you want to load
+qboolean 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);
 
-// called after Com_InitArgv
-void Sys_Shared_EarlyInit (void);
-// called after Host_init
-void Sys_Shared_LateInit (void);
+// called early in Host_Init
+void Sys_InitConsole (void);
+// called after command system is initialized but before first Con_Print
+void Sys_Init_Commands (void);
+
 
 // returns current timestamp
 char *Sys_TimeString(const char *timeformat);