UFO: Alien Invasion
|
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 |
How many TUs (and of what type) did a player reserve for a unit?
Definition at line 179 of file chr_shared.h.
|
inline |
Definition at line 192 of file chr_shared.h.
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().
int chrReservations_s::shot |
If non-zero we reserved a shot in this turn.
Definition at line 188 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().
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().