X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=host.h;h=6c4f5f60da74afac5b1426fa0ea9d96b0543572a;hb=d72036a01474e96e5de4dcab8756b052ae9e834e;hp=26465423839b5523830ae599f25370180699f1c6;hpb=4d34e0a632cbc401712f46e10bb9864438b0881f;p=xonotic%2Fdarkplaces.git diff --git a/host.h b/host.h index 26465423..6c4f5f60 100644 --- a/host.h +++ b/host.h @@ -20,10 +20,10 @@ typedef struct host_static_s { jmp_buf abortframe; int state; - int framecount; // incremented every frame, never reset (checked by Host_Error and Host_SaveConfig_f) + unsigned 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 + double sleeptime; // time spent sleeping after the last frame qbool restless; // don't sleep qbool paused; // global paused state, pauses both client and server cmd_buf_t *cbuf;