]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
attempt to optimize SND_PaintChannelFrom8 a little bit
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 958037fee6c81c4d7bf3512f6f3ac47e887b74de..e8de6bb1aa9615220f7a8c3859db845e32f29fd8 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // sys.h -- non-portable functions
 
+#ifndef SYS_H
+#define SYS_H
+
 //
 // file IO
 //
@@ -36,11 +39,6 @@ int Sys_FileWrite (int handle, void *data, int count);
 int    Sys_FileTime (char *path);
 void Sys_mkdir (char *path);
 
-//
-// memory protection
-//
-void Sys_MakeCodeWriteable (unsigned long startaddr, unsigned long length);
-
 //
 // system IO
 //
@@ -54,7 +52,7 @@ void Sys_Printf (char *fmt, ...);
 
 void Sys_Quit (void);
 
-double Sys_FloatTime (void);
+double Sys_DoubleTime (void);
 
 char *Sys_ConsoleInput (void);
 
@@ -65,3 +63,10 @@ void Sys_Sleep (void);
 void Sys_SendKeyEvents (void);
 // Perform Key_Event () callbacks until the input que is empty
 
+// called after Com_InitArgv
+void Sys_Shared_EarlyInit (void);
+// called after Host_init
+void Sys_Shared_LateInit (void);
+
+#endif
+