|
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 186 of file chr_shared.h.
|
inline |
Definition at line 199 of file chr_shared.h.
References crouch, reaction, shot, and shotSettings.
| int chrReservations_t::crouch |
Did the player reserve TUs for crouching (or standing up)? Depends exclusively on TU_CROUCH.
Definition at line 192 of file chr_shared.h.
Referenced by chrReservations_s(), CL_ActorReservationChange(), CL_ActorReservedTUs(), CL_ActorReserveTUs(), G_ActorHasEnoughTUsReactionFire(), G_ActorReserveTUs(), G_ClientStateChange(), G_Damage(), G_EventActorSendReservations(), G_ReactionFireSettingsReserveTUs(), and Edict::getReservedTUs().
| int chrReservations_t::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 188 of file chr_shared.h.
Referenced by chrReservations_s(), CL_ActorReservationChange(), CL_ActorReservedTUs(), G_ActorReserveTUs(), G_ClientAction(), G_EventActorSendReservations(), and Edict::getReservedTUs().
| int chrReservations_t::shot |
If non-zero we reserved a shot in this turn.
Definition at line 195 of file chr_shared.h.
Referenced by chrReservations_s(), CL_ActorReservationChange(), CL_ActorReservedTUs(), CL_ActorReserveTUs(), G_ActorHasEnoughTUsReactionFire(), G_ActorReserveTUs(), G_ClientStateChange(), G_Damage(), G_EventActorSendReservations(), G_ReactionFireSettingsReserveTUs(), and Edict::getReservedTUs().
| FiremodeSettings chrReservations_t::shotSettings |
Stores what type of firemode & weapon (and hand) was used for "shot" reservation.
Definition at line 196 of file chr_shared.h.
Referenced by chrReservations_s(), CL_GenerateCharacter(), HUD_PopupFiremodeReservation(), and HUD_SetShootReservation().