DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
host_static_t Struct Reference

#include <host.h>

Collaboration diagram for host_static_t:

Data Fields

jmp_buf abortframe
cmd_buf_tcbuf
double dirtytime
 the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame
unsigned int framecount
 incremented every frame, never reset, >0 means Host_AbortCurrentFrame() is possible
struct { 
   void(*   CL_SendCvar )(struct cmd_state_s *) 
   void(*   ConnectLocal )(void
   void(*   Disconnect )(qbool, const char *,...) 
   void(*   SV_SendCvar )(struct cmd_state_s *) 
   void(*   SV_Shutdown )(void
   void(*   ToggleMenu )(void
hook
qbool paused
 global paused state, pauses both client and server
double realtime
 the accumulated mainloop time since application started (with filtering), without any slowmo or clamping
qbool restless
 don't sleep
double sleeptime
 time spent sleeping after the last frame
int state

Detailed Description

Definition at line 41 of file host.h.

Field Documentation

◆ abortframe

jmp_buf host_static_t::abortframe

Definition at line 43 of file host.h.

◆ cbuf

cmd_buf_t* host_static_t::cbuf

Definition at line 51 of file host.h.

◆ CL_SendCvar

void(* host_static_t::CL_SendCvar) (struct cmd_state_s *)

Definition at line 58 of file host.h.

◆ ConnectLocal

void(* host_static_t::ConnectLocal) (void)

Definition at line 55 of file host.h.

◆ dirtytime

double host_static_t::dirtytime

the main loop wall time for this frame, equal to Sys_DirtyTime() at the start of this host frame

Definition at line 47 of file host.h.

◆ Disconnect

void(* host_static_t::Disconnect) (qbool, const char *,...)

Definition at line 56 of file host.h.

◆ framecount

unsigned int host_static_t::framecount

incremented every frame, never reset, >0 means Host_AbortCurrentFrame() is possible

Definition at line 45 of file host.h.

◆ [struct]

struct { ... } host_static_t::hook

◆ paused

qbool host_static_t::paused

global paused state, pauses both client and server

Definition at line 50 of file host.h.

◆ realtime

double host_static_t::realtime

the accumulated mainloop time since application started (with filtering), without any slowmo or clamping

Definition at line 46 of file host.h.

◆ restless

qbool host_static_t::restless

don't sleep

Definition at line 49 of file host.h.

◆ sleeptime

double host_static_t::sleeptime

time spent sleeping after the last frame

Definition at line 48 of file host.h.

◆ state

int host_static_t::state

Definition at line 44 of file host.h.

◆ SV_SendCvar

void(* host_static_t::SV_SendCvar) (struct cmd_state_s *)

Definition at line 59 of file host.h.

◆ SV_Shutdown

void(* host_static_t::SV_Shutdown) (void)

Definition at line 60 of file host.h.

◆ ToggleMenu

void(* host_static_t::ToggleMenu) (void)

Definition at line 57 of file host.h.


The documentation for this struct was generated from the following file: