vkQuake2 doxygen  1.0 dev
client_state_t Struct Reference

#include <client.h>

Public Attributes

int timeoutcount
 
int timedemo_frames
 
int timedemo_start
 
qboolean refresh_prepped
 
qboolean sound_prepped
 
qboolean force_refdef
 
int parse_entities
 
usercmd_t cmd
 
usercmd_t cmds [CMD_BACKUP]
 
int cmd_time [CMD_BACKUP]
 
short predicted_origins [CMD_BACKUP][3]
 
float predicted_step
 
unsigned predicted_step_time
 
vec3_t predicted_origin
 
vec3_t predicted_angles
 
vec3_t prediction_error
 
frame_t frame
 
int surpressCount
 
frame_t frames [UPDATE_BACKUP]
 
vec3_t viewangles
 
int time
 
float lerpfrac
 
refdef_t refdef
 
vec3_t v_forward
 
vec3_t v_right
 
vec3_t v_up
 
char layout [1024]
 
int inventory [MAX_ITEMS]
 
FILE * cinematic_file
 
int cinematictime
 
int cinematicframe
 
char cinematicpalette [768]
 
qboolean cinematicpalette_active
 
qboolean attractloop
 
int servercount
 
char gamedir [MAX_QPATH]
 
int playernum
 
char configstrings [MAX_CONFIGSTRINGS][MAX_QPATH]
 
struct model_smodel_draw [MAX_MODELS]
 
struct cmodel_smodel_clip [MAX_MODELS]
 
struct sfx_ssound_precache [MAX_SOUNDS]
 
struct image_simage_precache [MAX_IMAGES]
 
clientinfo_t clientinfo [MAX_CLIENTS]
 
clientinfo_t baseclientinfo
 

Detailed Description

Definition at line 91 of file client.h.

Member Data Documentation

◆ attractloop

qboolean client_state_t::attractloop

◆ baseclientinfo

clientinfo_t client_state_t::baseclientinfo

◆ cinematic_file

FILE* client_state_t::cinematic_file

Definition at line 144 of file client.h.

Referenced by Huff1TableInit(), SCR_PlayCinematic(), SCR_ReadNextFrame(), and SCR_StopCinematic().

◆ cinematicframe

int client_state_t::cinematicframe

Definition at line 146 of file client.h.

Referenced by SCR_PlayCinematic(), SCR_ReadNextFrame(), and SCR_RunCinematic().

◆ cinematicpalette

char client_state_t::cinematicpalette[768]

Definition at line 147 of file client.h.

Referenced by SCR_DrawCinematic(), SCR_PlayCinematic(), and SCR_ReadNextFrame().

◆ cinematicpalette_active

qboolean client_state_t::cinematicpalette_active

◆ cinematictime

◆ clientinfo

clientinfo_t client_state_t::clientinfo[MAX_CLIENTS]

Definition at line 169 of file client.h.

Referenced by CL_AddPacketEntities(), CL_ParseClientinfo(), and SCR_ExecuteLayoutString().

◆ cmd

usercmd_t client_state_t::cmd

Definition at line 104 of file client.h.

Referenced by CL_SendCmd().

◆ cmd_time

int client_state_t::cmd_time[CMD_BACKUP]

Definition at line 106 of file client.h.

Referenced by CL_AddNetgraph(), and CL_SendCmd().

◆ cmds

usercmd_t client_state_t::cmds[CMD_BACKUP]

Definition at line 105 of file client.h.

Referenced by CL_PredictMovement(), and CL_SendCmd().

◆ configstrings

◆ force_refdef

qboolean client_state_t::force_refdef

◆ frame

◆ frames

frame_t client_state_t::frames[UPDATE_BACKUP]

◆ gamedir

char client_state_t::gamedir[MAX_QPATH]

Definition at line 155 of file client.h.

Referenced by CL_ParseServerData(), and CL_Record_f().

◆ image_precache

struct image_s* client_state_t::image_precache[MAX_IMAGES]

Definition at line 167 of file client.h.

Referenced by CL_ParseConfigString(), and CL_PrepRefresh().

◆ inventory

◆ layout

char client_state_t::layout[1024]

Definition at line 138 of file client.h.

Referenced by CL_ParseServerMessage(), and SCR_DrawLayout().

◆ lerpfrac

float client_state_t::lerpfrac

◆ model_clip

struct cmodel_s* client_state_t::model_clip[MAX_MODELS]

◆ model_draw

struct model_s* client_state_t::model_draw[MAX_MODELS]

◆ parse_entities

int client_state_t::parse_entities

Definition at line 102 of file client.h.

Referenced by CL_DeltaEntity(), CL_ParseFrame(), and CL_ParsePacketEntities().

◆ playernum

◆ predicted_angles

vec3_t client_state_t::predicted_angles

Definition at line 113 of file client.h.

Referenced by CL_CalcViewValues(), CL_ParseFrame(), and CL_PredictMovement().

◆ predicted_origin

vec3_t client_state_t::predicted_origin

Definition at line 112 of file client.h.

Referenced by CL_CalcViewValues(), CL_ParseFrame(), and CL_PredictMovement().

◆ predicted_origins

short client_state_t::predicted_origins[CMD_BACKUP][3]

Definition at line 107 of file client.h.

Referenced by CL_CheckPredictionError(), and CL_PredictMovement().

◆ predicted_step

float client_state_t::predicted_step

Definition at line 109 of file client.h.

Referenced by CL_CalcViewValues(), and CL_PredictMovement().

◆ predicted_step_time

unsigned client_state_t::predicted_step_time

Definition at line 110 of file client.h.

Referenced by CL_CalcViewValues(), and CL_PredictMovement().

◆ prediction_error

vec3_t client_state_t::prediction_error

Definition at line 114 of file client.h.

Referenced by CL_CalcViewValues(), and CL_CheckPredictionError().

◆ refdef

◆ refresh_prepped

◆ servercount

int client_state_t::servercount

◆ sound_precache

struct sfx_s* client_state_t::sound_precache[MAX_SOUNDS]

◆ sound_prepped

qboolean client_state_t::sound_prepped

Definition at line 99 of file client.h.

Referenced by CL_ParseFrame(), S_AddLoopSounds(), and SCR_BeginLoadingPlaque().

◆ surpressCount

int client_state_t::surpressCount

Definition at line 117 of file client.h.

Referenced by CL_AddNetgraph(), and CL_ParseFrame().

◆ time

int client_state_t::time

Definition at line 127 of file client.h.

Referenced by CL_AddBeams(), CL_AddEntities(), CL_AddExplosions(), CL_AddLasers(), CL_AddPacketEntities(), CL_AddParticles(), CL_AddPlayerBeams(), CL_AllocDlight(), CL_AllocExplosion(), CL_BFGExplosionParticles(), CL_BfgParticles(), CL_BigTeleportParticles(), CL_BlasterParticles(), CL_BlasterParticles2(), CL_BlasterTrail(), CL_BlasterTrail2(), CL_BubbleTrail(), CL_BubbleTrail2(), CL_ColorExplosionParticles(), CL_ColorFlash(), CL_DebugTrail(), CL_DiminishingTrail(), CL_ExplosionParticles(), CL_FlagTrail(), CL_FlameEffects(), CL_Flashlight(), CL_FlyEffect(), CL_FlyParticles(), CL_ForceWall(), CL_Frame(), CL_GenericParticleEffect(), CL_Heatbeam(), CL_IonripperTrail(), CL_ItemRespawnParticles(), CL_LogoutEffect(), CL_MonsterPlasma_Shell(), CL_NewDlight(), CL_Nukeblast(), CL_ParseBeam(), CL_ParseBeam2(), CL_ParseFrame(), CL_ParseLaser(), CL_ParseLightning(), CL_ParseMuzzleFlash(), CL_ParseMuzzleFlash2(), CL_ParseNuke(), CL_ParsePlayerBeam(), CL_ParseSteam(), CL_ParseWidow(), CL_ParticleEffect(), CL_ParticleEffect2(), CL_ParticleEffect3(), CL_ParticleSmokeEffect(), CL_ParticleSteamEffect(), CL_ParticleSteamEffect2(), CL_ProcessSustain(), CL_QuadTrail(), CL_RailTrail(), CL_RocketTrail(), CL_RunDLights(), CL_RunLightStyles(), CL_SmokeTrail(), CL_TagTrail(), CL_TeleporterParticles(), CL_TeleportParticles(), CL_Tracker_Explode(), CL_Tracker_Shell(), CL_TrackerTrail(), CL_TrapParticles(), CL_Widowbeamout(), CL_WidowSplash(), SCR_CenterPrint(), and V_RenderView().

◆ timedemo_frames

int client_state_t::timedemo_frames

Definition at line 95 of file client.h.

Referenced by CL_Disconnect(), and V_RenderView().

◆ timedemo_start

int client_state_t::timedemo_start

Definition at line 96 of file client.h.

Referenced by CL_Disconnect(), and V_RenderView().

◆ timeoutcount

int client_state_t::timeoutcount

Definition at line 93 of file client.h.

Referenced by CL_ReadPackets().

◆ v_forward

vec3_t client_state_t::v_forward

◆ v_right

◆ v_up

vec3_t client_state_t::v_up

◆ viewangles

vec3_t client_state_t::viewangles