]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
new cvar: r_font_nonpoweroftwo (to save GPU VRAM for fonts)
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index aa99f79bb5cc4da732f7d8297e5b668a8f06b1d0..37fcc8044fb87051d91eb7cfbd3e3715f7bfe2c1 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #ifndef SYS_H
 #define SYS_H
 
+extern cvar_t sys_usenoclockbutbenchmark;
 
 //
 // DLL management
@@ -85,6 +86,8 @@ void Sys_AllowProfiling (qboolean enable);
 
 double Sys_DoubleTime (void);
 
+void Sys_ProvideSelfFD (void);
+
 char *Sys_ConsoleInput (void);
 
 /// called to yield for a little bit so as not to hog cpu when paused or debugging
@@ -95,5 +98,9 @@ void Sys_SendKeyEvents (void);
 
 char *Sys_GetClipboardData (void);
 
+extern qboolean 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
+
 #endif