UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
chrReservations_s Struct Reference

How many TUs (and of what type) did a player reserve for a unit? More...

#include <chr_shared.h>

Public Member Functions

 chrReservations_s ()
 

Data Fields

int reaction
 
int crouch
 
int shot
 
FiremodeSettings shotSettings
 

Detailed Description

How many TUs (and of what type) did a player reserve for a unit?

See also
CL_ActorUsableTUs
CL_ActorReservedTUs
CL_ActorReserveTUs

Definition at line 179 of file chr_shared.h.

Constructor & Destructor Documentation

chrReservations_s::chrReservations_s ( )
inline

Definition at line 192 of file chr_shared.h.

Field Documentation

int chrReservations_s::crouch

Did the player reserve TUs for crouching (or standing up)? Depends exclusively on TU_CROUCH.

Definition at line 185 of file chr_shared.h.

Referenced by CL_ActorReservationChange(), CL_ActorReservedTUs(), CL_ActorReserveTUs(), G_ActorHasEnoughTUsReactionFire(), G_ActorReserveTUs(), G_ClientStateChange(), G_Damage(), G_ReactionFireSettingsReserveTUs(), and Edict::getReservedTUs().

int chrReservations_s::reaction

Did the player activate RF with a usable firemode? (And at the same time storing the TU-costs of this firemode)

Definition at line 181 of file chr_shared.h.

Referenced by CL_ActorReservationChange(), CL_ActorReservedTUs(), G_ActorReserveTUs(), G_ClientAction(), and Edict::getReservedTUs().

FiremodeSettings chrReservations_s::shotSettings

Stores what type of firemode & weapon (and hand) was used for "shot" reservation.

Definition at line 189 of file chr_shared.h.

Referenced by CL_GenerateCharacter(), HUD_PopupFiremodeReservation(), and HUD_SetShootReservation().


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