QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
client.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  client_state_t
 
struct  client_static_t
 
struct  scoreboard_t
 
struct  usercmd_s
 

Macros

#define FPD_DEFAULT   (FPD_HIDE_PERCENTE | FPD_NO_TEAMSKIN)
 
#define FPD_HIDE_ITEM   0x0400
 
#define FPD_HIDE_PERCENTE   0x0020
 
#define FPD_HIDE_POINT   0x0080
 
#define FPD_LIMIT_PITCH   0x4000
 
#define FPD_LIMIT_YAW   0x8000
 
#define FPD_MAXPITCH   1000
 
#define FPD_MAXYAW   2000
 
#define FPD_NO_MACROS   0x0001
 
#define FPD_NO_STRIGGER   0x0004
 
#define FPD_NO_TEAMCOLOR   0x0200
 
#define FPD_NO_TEAMSKIN   0x0100
 
#define FPD_NO_TIMERS   0x0002
 
#define MAX_DEMONAME   16
 
#define MAX_DEMOS   8
 

Typedefs

typedef struct usercmd_s usercmd_t
 

Enumerations

enum  cactive_t {
  ca_dedicated, ca_disconnected, ca_connected, ca_active,
  ca_disconnected, ca_demostart, ca_connected, ca_onserver,
  ca_active
}
 
enum  dltype_t {
  dl_none, dl_model, dl_sound, dl_skin,
  dl_single, dl_none, dl_model, dl_sound,
  dl_skin, dl_single
}
 
enum  signon_t {
  so_none, so_prespawn, so_spawn, so_begin,
  so_active
}
 

Functions

void CL_BaseMove (usercmd_t *cmd)
 
void CL_ClearEnts (void)
 
void CL_ClearState (void)
 
void CL_ClearTEnts (void)
 
void CL_Cmd_ForwardToServer (void)
 
void CL_Demo_Init (void)
 
void CL_Disconnect (void)
 
void CL_Disconnect_f (void)
 
void CL_EstablishConnection (const char *host)
 
int CL_GetMessage (void)
 
void CL_Init (struct cbuf_s *cbuf)
 
void CL_Init_Entity (struct entity_s *ent)
 
void CL_InitCvars (void)
 
void CL_Input_Init (void)
 
float CL_KeyState (kbutton_t *key)
 
void CL_NewTranslation (int slot, struct skin_s *skin)
 
void CL_NextDemo (void)
 
void CL_ParseParticleEffect (void)
 
void CL_ParseServerMessage (void)
 
void CL_ParseTEnt (void)
 
int CL_ReadFromServer (void)
 
void CL_Record (const char *argv1, int track)
 
void CL_RelinkEntities (void)
 
void CL_SendCmd (void)
 
void CL_SendMove (usercmd_t *cmd)
 
void CL_SetState (cactive_t state)
 
void CL_Shutdown (void)
 
void CL_Signon1 (void)
 
void CL_Signon2 (void)
 
void CL_Signon3 (void)
 
void CL_Signon4 (void)
 
void CL_SignonReply (void)
 
void CL_StopPlayback (void)
 
void CL_StopRecording (void)
 
void CL_TEnts_Init (void)
 
void CL_TransformEntity (struct entity_s *ent, const vec3_t angles, qboolean force)
 
void CL_UpdateScreen (double realtime)
 
void CL_UpdateTEnts (void)
 
void CL_WriteToServer (usercmd_t *cmd)
 
void Cvar_Info (struct cvar_s *var)
 
void V_ParseDamage (void)
 
void V_PrepBlend (void)
 
void V_Register (void)
 
void V_RenderView (void)
 
void V_SetContentsColor (int contents)
 
void V_StartPitchDrift (void)
 
void V_StopPitchDrift (void)
 
void V_UpdatePalette (void)
 

Variables

client_state_t cl
 
struct cvar_scl_anglespeedkey
 
struct cvar_scl_autofire
 
struct cvar_scl_backspeed
 
struct cvar_scl_color
 
struct cvar_scl_cshift_bonus
 
struct cvar_scl_cshift_contents
 
struct cvar_scl_cshift_damage
 
struct cvar_scl_cshift_powerup
 
entity_t cl_entities [MAX_EDICTS]
 
byte cl_forcelink [MAX_EDICTS]
 
struct cvar_scl_forwardspeed
 
struct cvar_scl_movespeedkey
 
double cl_msgtime [MAX_EDICTS]
 
struct cvar_scl_name
 
struct cvar_scl_nolerp
 
struct cvar_scl_pitchdriftspeed
 
struct cvar_scl_pitchspeed
 
struct cvar_scl_shownet
 
struct cvar_scl_sidespeed
 
struct cvar_scl_upspeed
 
struct cvar_scl_writecfg
 
struct cvar_scl_yawspeed
 
client_static_t cls
 
struct cvar_sdemo_gzip
 
struct cvar_sdemo_speed
 
int fps_count
 
struct cvar_shud_sbar
 
kbutton_t in_attack
 
kbutton_t in_back
 
kbutton_t in_down
 
kbutton_t in_forward
 
kbutton_t in_jump
 
kbutton_t in_left
 
kbutton_t in_lookdown
 
kbutton_t in_lookup
 
kbutton_t in_moveleft
 
kbutton_t in_moveright
 
kbutton_t in_right
 
kbutton_t in_up
 
kbutton_t in_use
 
struct cvar_slookspring
 
struct cvar_sm_forward
 
struct cvar_sm_pitch
 
struct cvar_sm_side
 
struct cvar_sm_yaw
 
struct cvar_snoskins
 
double realtime
 
qboolean recording
 
void(* write_angles )(sizebuf_t *sb, const vec3_t angles)
 

Macro Definition Documentation

#define FPD_DEFAULT   (FPD_HIDE_PERCENTE | FPD_NO_TEAMSKIN)
#define FPD_HIDE_ITEM   0x0400
#define FPD_HIDE_PERCENTE   0x0020
#define FPD_HIDE_POINT   0x0080
#define FPD_LIMIT_PITCH   0x4000
#define FPD_LIMIT_YAW   0x8000
#define FPD_MAXPITCH   1000
#define FPD_MAXYAW   2000
#define FPD_NO_MACROS   0x0001
#define FPD_NO_STRIGGER   0x0004
#define FPD_NO_TEAMCOLOR   0x0200
#define FPD_NO_TEAMSKIN   0x0100
#define FPD_NO_TIMERS   0x0002
#define MAX_DEMONAME   16
#define MAX_DEMOS   8

Typedef Documentation

typedef struct usercmd_s usercmd_t

Enumeration Type Documentation

enum cactive_t
Enumerator
ca_dedicated 
ca_disconnected 
ca_connected 
ca_active 
ca_disconnected 
ca_demostart 
ca_connected 
ca_onserver 
ca_active 
enum dltype_t
Enumerator
dl_none 
dl_model 
dl_sound 
dl_skin 
dl_single 
dl_none 
dl_model 
dl_sound 
dl_skin 
dl_single 
enum signon_t
Enumerator
so_none 
so_prespawn 
so_spawn 
so_begin 
so_active 

Function Documentation

void CL_BaseMove ( usercmd_t cmd)
void CL_ClearEnts ( void  )
void CL_ClearState ( void  )
void CL_ClearTEnts ( void  )
void CL_Cmd_ForwardToServer ( void  )
void CL_Demo_Init ( void  )
void CL_Disconnect ( void  )
void CL_Disconnect_f ( void  )
void CL_EstablishConnection ( const char *  host)
int CL_GetMessage ( void  )
void CL_Init ( struct cbuf_s cbuf)
void CL_Init_Entity ( struct entity_s ent)
void CL_InitCvars ( void  )
void CL_Input_Init ( void  )
float CL_KeyState ( kbutton_t key)
void CL_NewTranslation ( int  slot,
struct skin_s skin 
)
void CL_NextDemo ( void  )
void CL_ParseParticleEffect ( void  )
void CL_ParseServerMessage ( void  )
void CL_ParseTEnt ( void  )
int CL_ReadFromServer ( void  )
void CL_Record ( const char *  argv1,
int  track 
)
void CL_RelinkEntities ( void  )
void CL_SendCmd ( void  )
void CL_SendMove ( usercmd_t cmd)
void CL_SetState ( cactive_t  state)
void CL_Shutdown ( void  )
void CL_Signon1 ( void  )
void CL_Signon2 ( void  )
void CL_Signon3 ( void  )
void CL_Signon4 ( void  )
void CL_SignonReply ( void  )
void CL_StopPlayback ( void  )
void CL_StopRecording ( void  )
void CL_TEnts_Init ( void  )
void CL_TransformEntity ( struct entity_s ent,
const vec3_t  angles,
qboolean  force 
)
void CL_UpdateScreen ( double  realtime)
void CL_UpdateTEnts ( void  )
void CL_WriteToServer ( usercmd_t cmd)
void Cvar_Info ( struct cvar_s var)
void V_ParseDamage ( void  )
void V_PrepBlend ( void  )
void V_Register ( void  )
void V_RenderView ( void  )
void V_SetContentsColor ( int  contents)
void V_StartPitchDrift ( void  )
void V_StopPitchDrift ( void  )
void V_UpdatePalette ( void  )

Variable Documentation

struct cvar_s* cl_anglespeedkey
struct cvar_s* cl_autofire
struct cvar_s* cl_backspeed
struct cvar_s* cl_color
struct cvar_s* cl_cshift_bonus
struct cvar_s* cl_cshift_contents
struct cvar_s* cl_cshift_damage
struct cvar_s* cl_cshift_powerup
entity_t cl_entities[MAX_EDICTS]
byte cl_forcelink[MAX_EDICTS]
struct cvar_s* cl_forwardspeed
struct cvar_s* cl_movespeedkey
double cl_msgtime[MAX_EDICTS]
struct cvar_s * cl_name
struct cvar_s* cl_nolerp
struct cvar_s* cl_pitchdriftspeed
struct cvar_s* cl_pitchspeed
struct cvar_s* cl_shownet
struct cvar_s* cl_sidespeed
struct cvar_s* cl_upspeed
struct cvar_s* cl_writecfg
struct cvar_s* cl_yawspeed
struct cvar_s* demo_gzip
struct cvar_s* demo_speed
int fps_count
struct cvar_s* hud_sbar
kbutton_t in_attack
kbutton_t in_back
kbutton_t in_down
kbutton_t in_forward
kbutton_t in_jump
kbutton_t in_left
kbutton_t in_lookdown
kbutton_t in_lookup
kbutton_t in_moveleft
kbutton_t in_moveright
kbutton_t in_right
kbutton_t in_up
kbutton_t in_use
struct cvar_s* lookspring
struct cvar_s* m_forward
struct cvar_s* m_pitch
struct cvar_s* m_side
struct cvar_s* m_yaw
struct cvar_s* noskins
double realtime
qboolean recording
void(* write_angles)(sizebuf_t *sb, const vec3_t angles)