vkQuake2 doxygen  1.0 dev
gclient_s Struct Reference

#include <g_local.h>

Public Attributes

player_state_t ps
 
int ping
 
client_persistant_t pers
 
client_respawn_t resp
 
pmove_state_t old_pmove
 
qboolean showscores
 
qboolean showinventory
 
qboolean showhelp
 
qboolean showhelpicon
 
int ammo_index
 
int buttons
 
int oldbuttons
 
int latched_buttons
 
qboolean weapon_thunk
 
gitem_tnewweapon
 
int damage_armor
 
int damage_parmor
 
int damage_blood
 
int damage_knockback
 
vec3_t damage_from
 
float killer_yaw
 
weaponstate_t weaponstate
 
vec3_t kick_angles
 
vec3_t kick_origin
 
float v_dmg_roll
 
float v_dmg_pitch
 
float v_dmg_time
 
float fall_time
 
float fall_value
 
float damage_alpha
 
float bonus_alpha
 
vec3_t damage_blend
 
vec3_t v_angle
 
float bobtime
 
vec3_t oldviewangles
 
vec3_t oldvelocity
 
float next_drown_time
 
int old_waterlevel
 
int breather_sound
 
int machinegun_shots
 
int anim_end
 
int anim_priority
 
qboolean anim_duck
 
qboolean anim_run
 
float quad_framenum
 
float invincible_framenum
 
float breather_framenum
 
float enviro_framenum
 
qboolean grenade_blew_up
 
float grenade_time
 
int silencer_shots
 
int weapon_sound
 
float pickup_msg_time
 
float flood_locktill
 
float flood_when [10]
 
int flood_whenhead
 
float respawn_time
 
edict_tchase_target
 
qboolean update_chase
 

Detailed Description

Definition at line 883 of file g_local.h.

Member Data Documentation

◆ ammo_index

◆ anim_duck

qboolean gclient_s::anim_duck

Definition at line 941 of file g_local.h.

Referenced by G_SetClientFrame().

◆ anim_end

◆ anim_priority

◆ anim_run

qboolean gclient_s::anim_run

Definition at line 942 of file g_local.h.

Referenced by G_SetClientFrame().

◆ bobtime

float gclient_s::bobtime

Definition at line 928 of file g_local.h.

Referenced by ClientEndServerFrame(), and G_SetClientEvent().

◆ bonus_alpha

float gclient_s::bonus_alpha

Definition at line 925 of file g_local.h.

Referenced by SV_CalcBlend(), and Touch_Item().

◆ breather_framenum

float gclient_s::breather_framenum

◆ breather_sound

int gclient_s::breather_sound

Definition at line 934 of file g_local.h.

Referenced by P_WorldEffects().

◆ buttons

int gclient_s::buttons

◆ chase_target

edict_t* gclient_s::chase_target

◆ damage_alpha

float gclient_s::damage_alpha

Definition at line 924 of file g_local.h.

Referenced by P_DamageFeedback(), and SV_CalcBlend().

◆ damage_armor

int gclient_s::damage_armor

Definition at line 911 of file g_local.h.

Referenced by P_DamageFeedback(), and T_Damage().

◆ damage_blend

vec3_t gclient_s::damage_blend

Definition at line 926 of file g_local.h.

Referenced by P_DamageFeedback(), and SV_CalcBlend().

◆ damage_blood

int gclient_s::damage_blood

Definition at line 913 of file g_local.h.

Referenced by P_DamageFeedback(), and T_Damage().

◆ damage_from

vec3_t gclient_s::damage_from

Definition at line 915 of file g_local.h.

Referenced by P_DamageFeedback(), and T_Damage().

◆ damage_knockback

int gclient_s::damage_knockback

Definition at line 914 of file g_local.h.

Referenced by P_DamageFeedback(), and T_Damage().

◆ damage_parmor

int gclient_s::damage_parmor

Definition at line 912 of file g_local.h.

Referenced by P_DamageFeedback(), and T_Damage().

◆ enviro_framenum

float gclient_s::enviro_framenum

◆ fall_time

float gclient_s::fall_time

Definition at line 923 of file g_local.h.

Referenced by P_FallingDamage(), and SV_CalcViewOffset().

◆ fall_value

float gclient_s::fall_value

Definition at line 923 of file g_local.h.

Referenced by P_FallingDamage(), and SV_CalcViewOffset().

◆ flood_locktill

float gclient_s::flood_locktill

Definition at line 957 of file g_local.h.

◆ flood_when

float gclient_s::flood_when[10]

Definition at line 958 of file g_local.h.

◆ flood_whenhead

int gclient_s::flood_whenhead

Definition at line 959 of file g_local.h.

◆ grenade_blew_up

qboolean gclient_s::grenade_blew_up

Definition at line 950 of file g_local.h.

Referenced by MoveClientToIntermission(), and Weapon_Grenade().

◆ grenade_time

float gclient_s::grenade_time

◆ invincible_framenum

float gclient_s::invincible_framenum

◆ kick_angles

◆ kick_origin

◆ killer_yaw

float gclient_s::killer_yaw

Definition at line 917 of file g_local.h.

Referenced by ClientThink(), SV_CalcViewOffset(), and UpdateChaseCam().

◆ latched_buttons

int gclient_s::latched_buttons

Definition at line 903 of file g_local.h.

Referenced by ClientBeginServerFrame(), ClientThink(), Weapon_Generic(), and Weapon_Grenade().

◆ machinegun_shots

int gclient_s::machinegun_shots

Definition at line 936 of file g_local.h.

Referenced by ChangeWeapon(), and Machinegun_Fire().

◆ newweapon

◆ next_drown_time

float gclient_s::next_drown_time

Definition at line 932 of file g_local.h.

Referenced by P_WorldEffects().

◆ old_pmove

pmove_state_t gclient_s::old_pmove

Definition at line 892 of file g_local.h.

Referenced by ClientThink().

◆ old_waterlevel

int gclient_s::old_waterlevel

Definition at line 933 of file g_local.h.

Referenced by P_WorldEffects().

◆ oldbuttons

int gclient_s::oldbuttons

Definition at line 902 of file g_local.h.

Referenced by ClientThink().

◆ oldvelocity

vec3_t gclient_s::oldvelocity

Definition at line 930 of file g_local.h.

Referenced by ClientEndServerFrame(), P_FallingDamage(), and trigger_push_touch().

◆ oldviewangles

vec3_t gclient_s::oldviewangles

Definition at line 929 of file g_local.h.

Referenced by ClientEndServerFrame(), and SV_CalcGunOffset().

◆ pers

◆ pickup_msg_time

float gclient_s::pickup_msg_time

Definition at line 955 of file g_local.h.

Referenced by G_SetStats(), and Touch_Item().

◆ ping

int gclient_s::ping

Definition at line 887 of file g_local.h.

Referenced by Cmd_PlayerList_f().

◆ ps

◆ quad_framenum

float gclient_s::quad_framenum

◆ resp

◆ respawn_time

float gclient_s::respawn_time

Definition at line 961 of file g_local.h.

Referenced by ClientBeginServerFrame(), Cmd_Kill_f(), and spectator_respawn().

◆ showhelp

qboolean gclient_s::showhelp

Definition at line 896 of file g_local.h.

Referenced by Cmd_Help_f(), Cmd_PutAway_f(), Cmd_Score_f(), and G_SetStats().

◆ showhelpicon

qboolean gclient_s::showhelpicon

Definition at line 897 of file g_local.h.

◆ showinventory

qboolean gclient_s::showinventory

Definition at line 895 of file g_local.h.

Referenced by Cmd_Help_f(), Cmd_PutAway_f(), Cmd_Score_f(), and G_SetStats().

◆ showscores

qboolean gclient_s::showscores

◆ silencer_shots

int gclient_s::silencer_shots

Definition at line 952 of file g_local.h.

Referenced by PlayerNoise(), Think_Weapon(), and Use_Silencer().

◆ update_chase

qboolean gclient_s::update_chase

Definition at line 964 of file g_local.h.

Referenced by ChaseNext(), ChasePrev(), and GetChaseTarget().

◆ v_angle

◆ v_dmg_pitch

float gclient_s::v_dmg_pitch

Definition at line 922 of file g_local.h.

Referenced by P_DamageFeedback(), SV_CalcViewOffset(), and weapon_bfg_fire().

◆ v_dmg_roll

float gclient_s::v_dmg_roll

Definition at line 922 of file g_local.h.

Referenced by P_DamageFeedback(), SV_CalcViewOffset(), and weapon_bfg_fire().

◆ v_dmg_time

float gclient_s::v_dmg_time

Definition at line 922 of file g_local.h.

Referenced by P_DamageFeedback(), SV_CalcViewOffset(), and weapon_bfg_fire().

◆ weapon_sound

int gclient_s::weapon_sound

◆ weapon_thunk

qboolean gclient_s::weapon_thunk

Definition at line 905 of file g_local.h.

Referenced by ClientBeginServerFrame(), and ClientThink().

◆ weaponstate

weaponstate_t gclient_s::weaponstate

Definition at line 919 of file g_local.h.

Referenced by ChangeWeapon(), Weapon_Generic(), and Weapon_Grenade().