UFO: Alien Invasion
Loading...
Searching...
No Matches
shot_mock_t Struct Reference

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

#include <g_combat.h>

Collaboration diagram for shot_mock_t:
Collaboration graph

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.

Member Function Documentation

◆ shot_mock_s()

shot_mock_t::shot_mock_s ( )
inline

Definition at line 39 of file g_combat.h.

References OBJZERO.

Field Documentation

◆ allow_self

bool shot_mock_t::allow_self

Definition at line 37 of file g_combat.h.

Referenced by G_SplashDamage(), and G_UpdateShotMock().

◆ civilian

int shot_mock_t::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().

◆ damage

int shot_mock_t::damage

Definition at line 36 of file g_combat.h.

Referenced by AI_CalcShotDamage(), and G_UpdateShotMock().

◆ enemyCount

int shot_mock_t::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().

◆ friendCount

int shot_mock_t::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().

◆ self

int shot_mock_t::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: