1 typedef enum host_state_e
13 int framecount; // incremented every frame, never reset (checked by Host_Error and Host_SaveConfig_f)
14 double realtime; // the accumulated mainloop time since application started (with filtering), without any slowmo or clamping
15 double dirtytime; // the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame
16 double sleeptime; // time spent sleeping overall
17 qbool restless; // don't sleep
18 qbool paused; // global paused state, pauses both client and server
23 void (*ConnectLocal)(void);
29 void Host_InitCommands(void);
31 double Host_Frame(double time);
32 void Host_Shutdown(void);
33 void Host_StartVideo(void);
34 void Host_Error(const char *error, ...) DP_FUNC_PRINTF(1) DP_FUNC_NORETURN;
35 void Host_NoOperation_f(cmd_state_t *cmd);
36 void Host_LockSession(void);
37 void Host_UnlockSession(void);
38 void Host_AbortCurrentFrame(void);