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

used in shot probability calculations (pseudo shots) More...

#include <g_combat.h>

Public Member Functions

 shot_mock_s ()
 

Data Fields

int enemyCount
 
int friendCount
 
int civilian
 
int self
 
int damage
 
bool allow_self
 

Detailed Description

used in shot probability calculations (pseudo shots)

Definition at line 31 of file g_combat.h.

Constructor & Destructor Documentation

shot_mock_s::shot_mock_s ( )
inline

Definition at line 39 of file g_combat.h.

References OBJZERO.

Field Documentation

bool shot_mock_s::allow_self

Definition at line 37 of file g_combat.h.

Referenced by G_SplashDamage(), and G_UpdateShotMock().

int shot_mock_s::civilian

shot would hit that much civilians

Definition at line 34 of file g_combat.h.

Referenced by AI_CalcShotDamage(), G_UpdateShotMock(), and ReactionFire::shoot().

int shot_mock_s::damage

Definition at line 36 of file g_combat.h.

Referenced by AI_CalcShotDamage(), and G_UpdateShotMock().

int shot_mock_s::enemyCount

shot would hit that much enemies

Definition at line 32 of file g_combat.h.

Referenced by AI_CalcShotDamage(), G_UpdateShotMock(), and ReactionFire::shoot().

int shot_mock_s::friendCount

shot would hit that much friends

Definition at line 33 of file g_combat.h.

Referenced by AI_CalcShotDamage(), G_UpdateShotMock(), and ReactionFire::shoot().

int shot_mock_s::self
Todo:
incorrect actor facing or shotOrg, or bug in trace code?

Definition at line 35 of file g_combat.h.


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