9 typedef enum host_state_e
21 int framecount; // incremented every frame, never reset (checked by Host_Error and Host_SaveConfig_f)
22 double realtime; // the accumulated mainloop time since application started (with filtering), without any slowmo or clamping
23 double dirtytime; // the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame
24 double sleeptime; // time spent sleeping overall
25 qbool restless; // don't sleep
26 qbool paused; // global paused state, pauses both client and server
31 void (*ConnectLocal)(void);
37 void Host_InitCommands(void);
39 double Host_Frame(double time);
40 void Host_Shutdown(void);
41 void Host_StartVideo(void);
42 void Host_Error(const char *error, ...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN;
43 void Host_NoOperation_f(cmd_state_t *cmd);
44 void Host_LockSession(void);
45 void Host_UnlockSession(void);
46 void Host_AbortCurrentFrame(void);