]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
host: Add "restless" variable to host_t. True means don't sleep (timedemo, etc)
[xonotic/darkplaces.git] / quakedef.h
index da2673453195490d70f56ba2f3d6b38460455eec..9ade07f699b72e0bfe2d68caa784ede54b888288 100644 (file)
@@ -534,6 +534,7 @@ typedef struct host_s
        int framecount; // incremented every frame, never reset (checked by Host_Error and Host_SaveConfig_f)
        double realtime; // the accumulated mainloop time since application started (with filtering), without any slowmo or clamping
        double dirtytime; // the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame
+       qboolean restless; // don't sleep
 } host_t;
 
 extern host_t host;