]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - quakedef.h
host: Use new global host.sleeptime instead of svs variable outside server code
[xonotic/darkplaces.git] / quakedef.h
index 3aefc0601459924d400300f61dbeece87a50eeca..3547b384d7eba6d1891e3b6544131b8a72424fdb 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
+       double sleeptime; // time spent sleeping overall
        qboolean restless; // don't sleep
        qboolean paused; // global paused state, pauses both client and server
 } host_t;