]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
oops, this is in the server VM
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 41deb0170ee6934b7009c5d89e44c0524ce56f35..23f16b2781ae1440652216855e962a92a597e7cc 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -68,7 +68,13 @@ void Sys_PrintToTerminal(const char *text);
 // (may) output text to terminal which launched program
 
 void Sys_Shutdown (void); //INFO: This is only called by Host_Shutdown so we dont need testing for recursion
-void Sys_Quit (void);
+void Sys_Quit (int returnvalue);
+
+// on some build/platform combinations (such as Linux gcc with the -pg
+// profiling option) this can turn on/off profiling, used primarily to limit
+// profiling to certain areas of the code, such as ingame performance without
+// regard for loading/shutdown performance (-profilegameonly on commandline)
+void Sys_AllowProfiling (qboolean enable);
 
 double Sys_DoubleTime (void);