]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
major overhaul for thread-safety - many global variables and static
[xonotic/darkplaces.git] / quakedef.h
index e90be22ecb4493a3f33b7c0a729fc60182ddd726..f656b26f4eb6521bdc2576161f4d81be66c213ca 100644 (file)
@@ -395,6 +395,7 @@ extern char engineversion[128];
 #include "keys.h"
 #include "console.h"
 #include "menu.h"
 #include "keys.h"
 #include "console.h"
 #include "menu.h"
+#include "csprogs.h"
 
 extern qboolean noclip_anglehack;
 
 
 extern qboolean noclip_anglehack;
 
@@ -501,6 +502,8 @@ qboolean Sys_HaveSSE2(void);
 extern int host_framecount;
 /// not bounded in any way, changed at start of every frame, never reset
 extern double realtime;
 extern int host_framecount;
 /// not bounded in any way, changed at start of every frame, never reset
 extern double realtime;
+/// equal to Sys_DirtyTime() at the start of this host frame
+extern double host_dirtytime;
 
 void Host_InitCommands(void);
 void Host_Main(void);
 
 void Host_InitCommands(void);
 void Host_Main(void);