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

Public Member Functions

void reset ()
 

Data Fields

pos3_t to
 
pos3_t stop
 
shoot_types_t shootType
 
byte shots
 
Edicttarget
 
const fireDef_tfd
 
int z_align
 

Detailed Description

Definition at line 38 of file g_ai.cpp.

Member Function Documentation

void AiAction::reset ( )
inline

Field Documentation

const fireDef_t* AiAction::fd

the firemode to use for shooting

Definition at line 45 of file g_ai.cpp.

Referenced by AI_ActorThink(), and AI_FindBestFiredef().

shoot_types_t AiAction::shootType

the shoot type

Definition at line 42 of file g_ai.cpp.

Referenced by AI_ActorThink(), AI_FighterCalcActionScore(), AI_FindBestFiredef(), and AI_PrepBestAction().

byte AiAction::shots

how many shots can this actor do - only set this if the target is an actor

Definition at line 43 of file g_ai.cpp.

Referenced by AI_ActorThink(), AI_FighterCalcActionScore(), and AI_FindBestFiredef().

pos3_t AiAction::stop

grid pos to end turn at (e.g. hiding spots)

Definition at line 41 of file g_ai.cpp.

Referenced by AI_ActorThink(), AI_CivilianCalcActionScore(), AI_FighterCalcActionScore(), and AI_PanicCalcActionScore().

Edict* AiAction::target

the target edict

Definition at line 44 of file g_ai.cpp.

Referenced by AI_ActorThink(), AI_FighterCalcActionScore(), AI_FindBestFiredef(), and AI_PrepBestAction().

pos3_t AiAction::to

grid pos to walk to for performing the action

Definition at line 40 of file g_ai.cpp.

Referenced by AI_CivilianCalcActionScore(), AI_FighterCalcActionScore(), AI_PanicCalcActionScore(), and AI_PrepBestAction().

int AiAction::z_align

the z-align for every shot

Definition at line 46 of file g_ai.cpp.

Referenced by AI_ActorThink(), and AI_FindBestFiredef().


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