Quake II RTX doxygen  1.0 dev
client_state_s Struct Reference

#include <client.h>

Public Attributes

int timeoutcount
 
unsigned lastTransmitTime
 
unsigned lastTransmitCmdNumber
 
unsigned lastTransmitCmdNumberReal
 
qboolean sendPacketNow
 
usercmd_t cmd
 
usercmd_t cmds [CMD_BACKUP]
 
unsigned cmdNumber
 
short predicted_origins [CMD_BACKUP][3]
 
client_history_t history [CMD_BACKUP]
 
int initialSeq
 
float predicted_step
 
unsigned predicted_step_time
 
unsigned predicted_step_frame
 
vec3_t predicted_origin
 
vec3_t predicted_angles
 
vec3_t predicted_velocity
 
vec3_t prediction_error
 
centity_tsolidEntities [MAX_PACKET_ENTITIES]
 
int numSolidEntities
 
entity_state_t baselines [MAX_EDICTS]
 
entity_state_t entityStates [MAX_PARSE_ENTITIES]
 
int numEntityStates
 
msgEsFlags_t esFlags
 
server_frame_t frames [UPDATE_BACKUP]
 
unsigned frameflags
 
server_frame_t frame
 
server_frame_t oldframe
 
int servertime
 
int serverdelta
 
byte dcs [CS_BITMAP_BYTES]
 
vec3_t viewangles
 
vec3_t localmove
 
vec2_t mousemove
 
int time
 
float lerpfrac
 
refdef_t refdef
 
float fov_x
 
float fov_y
 
int lightlevel
 
vec3_t v_forward
 
vec3_t v_right
 
vec3_t v_up
 
qboolean thirdPersonView
 
vec3_t playerEntityOrigin
 
vec3_t playerEntityAngles
 
char layout [MAX_NET_STRING]
 
int inventory [MAX_ITEMS]
 
int serverstate
 
int servercount
 
char gamedir [MAX_QPATH]
 
int clientNum
 
int maxclients
 
pmoveParams_t pmp
 
char baseconfigstrings [MAX_CONFIGSTRINGS][MAX_QPATH]
 
char configstrings [MAX_CONFIGSTRINGS][MAX_QPATH]
 
char mapname [MAX_QPATH]
 
bsp_t * bsp
 
qhandle_t model_draw [MAX_MODELS]
 
mmodel_t * model_clip [MAX_MODELS]
 
qhandle_t sound_precache [MAX_SOUNDS]
 
qhandle_t image_precache [MAX_IMAGES]
 
clientinfo_t clientinfo [MAX_CLIENTS]
 
clientinfo_t baseclientinfo
 
char weaponModels [MAX_CLIENTWEAPONMODELS][MAX_QPATH]
 
int numWeaponModels
 

Detailed Description

Definition at line 174 of file client.h.

Member Data Documentation

◆ baseclientinfo

◆ baseconfigstrings

char client_state_s::baseconfigstrings[MAX_CONFIGSTRINGS][MAX_QPATH]

Definition at line 288 of file client.h.

Referenced by CL_EmitDemoSnapshot(), CL_FirstDemoFrame(), and CL_Seek_f().

◆ baselines

entity_state_t client_state_s::baselines[MAX_EDICTS]

◆ bsp

◆ clientinfo

◆ clientNum

int client_state_s::clientNum

◆ cmd

usercmd_t client_state_s::cmd

Definition at line 182 of file client.h.

Referenced by CL_FinalizeCmd(), CL_KeyState(), CL_PredictMovement(), and CL_UpdateCmd().

◆ cmdNumber

unsigned client_state_s::cmdNumber

◆ cmds

usercmd_t client_state_s::cmds[CMD_BACKUP]

Definition at line 183 of file client.h.

Referenced by CL_FinalizeCmd(), CL_PredictMovement(), CL_SendBatchedCmd(), and CL_SendDefaultCmd().

◆ configstrings

◆ dcs

byte client_state_s::dcs[CS_BITMAP_BYTES]

Definition at line 223 of file client.h.

Referenced by CL_ParseConfigstring(), CL_Record_f(), CL_Seek_f(), CL_Suspend_f(), and resume_record().

◆ entityStates

entity_state_t client_state_s::entityStates[MAX_PARSE_ENTITIES]

◆ esFlags

msgEsFlags_t client_state_s::esFlags

Definition at line 207 of file client.h.

Referenced by CL_ParseBaseline(), CL_ParseDeltaEntity(), CL_ParseServerData(), and entity_update().

◆ fov_x

float client_state_s::fov_x

Definition at line 254 of file client.h.

Referenced by CL_CalcViewValues(), CL_MouseMove(), V_RenderView(), and vkpt_freecam_mousemove().

◆ fov_y

float client_state_s::fov_y

Definition at line 255 of file client.h.

Referenced by CL_CalcViewValues(), CL_MouseMove(), V_RenderView(), and vkpt_freecam_mousemove().

◆ frame

◆ frameflags

unsigned client_state_s::frameflags

Definition at line 210 of file client.h.

Referenced by CL_ParseFrame(), CL_Seek_f(), SCR_DrawTurtle(), SCR_LagSample(), and set_active_state().

◆ frames

server_frame_t client_state_s::frames[UPDATE_BACKUP]

Definition at line 209 of file client.h.

Referenced by CL_EmitDemoFrame(), CL_EmitDemoSnapshot(), CL_ParseFrame(), ping_avg(), and ping_min().

◆ gamedir

char client_state_s::gamedir[MAX_QPATH]

◆ history

◆ image_precache

◆ initialSeq

int client_state_s::initialSeq

Definition at line 187 of file client.h.

Referenced by CL_MeasureStats(), and set_active_state().

◆ inventory

◆ lastTransmitCmdNumber

unsigned client_state_s::lastTransmitCmdNumber

Definition at line 178 of file client.h.

Referenced by CL_SendBatchedCmd(), CL_SendCmd(), CL_SendDefaultCmd(), and CL_SendKeepAlive().

◆ lastTransmitCmdNumberReal

unsigned client_state_s::lastTransmitCmdNumberReal

◆ lastTransmitTime

unsigned client_state_s::lastTransmitTime

Definition at line 177 of file client.h.

Referenced by CL_SendBatchedCmd(), CL_SendDefaultCmd(), CL_SendKeepAlive(), and ready_to_send().

◆ layout

char client_state_s::layout[MAX_NET_STRING]

◆ lerpfrac

float client_state_s::lerpfrac

◆ lightlevel

int client_state_s::lightlevel

Definition at line 256 of file client.h.

Referenced by CL_SendBatchedCmd(), CL_SendDefaultCmd(), and V_SetLightLevel().

◆ localmove

vec3_t client_state_s::localmove

Definition at line 234 of file client.h.

Referenced by CL_PredictMovement(), and CL_UpdateCmd().

◆ mapname

◆ maxclients

int client_state_s::maxclients

◆ model_clip

mmodel_t* client_state_s::model_clip[MAX_MODELS]

◆ model_draw

qhandle_t client_state_s::model_draw[MAX_MODELS]

◆ mousemove

vec2_t client_state_s::mousemove

Definition at line 238 of file client.h.

Referenced by CL_FinalizeCmd(), CL_MouseMove(), and CL_UpdateCmd().

◆ numEntityStates

int client_state_s::numEntityStates

◆ numSolidEntities

int client_state_s::numSolidEntities

Definition at line 200 of file client.h.

Referenced by CL_ClipMoveToEntities(), CL_DeltaFrame(), CL_PointContents(), and entity_update().

◆ numWeaponModels

int client_state_s::numWeaponModels

◆ oldframe

server_frame_t client_state_s::oldframe

◆ playerEntityAngles

vec3_t client_state_s::playerEntityAngles

Definition at line 264 of file client.h.

Referenced by CL_AddPacketEntities(), and CL_CalcViewValues().

◆ playerEntityOrigin

◆ pmp

pmoveParams_t client_state_s::pmp

◆ predicted_angles

vec3_t client_state_s::predicted_angles

◆ predicted_origin

vec3_t client_state_s::predicted_origin

Definition at line 193 of file client.h.

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

◆ predicted_origins

short client_state_s::predicted_origins[CMD_BACKUP][3]

Definition at line 185 of file client.h.

Referenced by CL_CheckPredictionError(), and CL_PredictMovement().

◆ predicted_step

float client_state_s::predicted_step

Definition at line 189 of file client.h.

Referenced by CL_CalcViewValues(), and CL_PredictMovement().

◆ predicted_step_frame

unsigned client_state_s::predicted_step_frame

Definition at line 191 of file client.h.

Referenced by CL_CheckPredictionError(), and CL_PredictMovement().

◆ predicted_step_time

unsigned client_state_s::predicted_step_time

Definition at line 190 of file client.h.

Referenced by CL_CalcViewValues(), and CL_PredictMovement().

◆ predicted_velocity

vec3_t client_state_s::predicted_velocity

Definition at line 195 of file client.h.

Referenced by CL_PredictMovement(), CL_Ups_m(), and set_active_state().

◆ prediction_error

vec3_t client_state_s::prediction_error

Definition at line 196 of file client.h.

Referenced by CL_CalcViewValues(), and CL_CheckPredictionError().

◆ refdef

◆ sendPacketNow

qboolean client_state_s::sendPacketNow

◆ servercount

int client_state_s::servercount

Definition at line 276 of file client.h.

Referenced by CL_ParseServerData(), CL_Record_f(), emit_gamestate(), and SCR_FinishCinematic().

◆ serverdelta

int client_state_s::serverdelta

Definition at line 215 of file client.h.

Referenced by CL_DeltaFrame(), CL_Seek_f(), and set_active_state().

◆ serverstate

int client_state_s::serverstate

Definition at line 275 of file client.h.

Referenced by CL_ParseCenterPrint(), CL_ParsePrint(), and CL_ParseServerData().

◆ servertime

◆ solidEntities

centity_t* client_state_s::solidEntities[MAX_PACKET_ENTITIES]

Definition at line 199 of file client.h.

Referenced by CL_ClipMoveToEntities(), CL_PointContents(), and entity_update().

◆ sound_precache

qhandle_t client_state_s::sound_precache[MAX_SOUNDS]

◆ thirdPersonView

qboolean client_state_s::thirdPersonView

◆ time

int client_state_s::time

◆ timeoutcount

int client_state_s::timeoutcount

Definition at line 175 of file client.h.

Referenced by CL_CheckTimeout().

◆ v_forward

vec3_t client_state_s::v_forward

◆ v_right

vec3_t client_state_s::v_right

◆ v_up

vec3_t client_state_s::v_up

◆ viewangles

vec3_t client_state_s::viewangles

◆ weaponModels

char client_state_s::weaponModels[MAX_CLIENTWEAPONMODELS][MAX_QPATH]

Definition at line 311 of file client.h.

Referenced by check_player(), CL_LoadClientinfo(), and CL_RegisterVWepModels().