AttackWeap Class Reference

Structure to store the weapons which a unit can use to perform an attack. More...

#include <attack.h>

List of all members.

Public Types

enum  Target { nothing, vehicle, building, object }

Public Attributes

int count
int strength [16]
int num [16]
int typ [16]
enum AttackWeap::Target target


Detailed Description

Structure to store the weapons which a unit can use to perform an attack.

See also:
attackpossible

Definition at line 288 of file attack.h.


Member Enumeration Documentation

enum AttackWeap::Target

Enumerator:
nothing 
vehicle 
building 
object 

Definition at line 296 of file attack.h.


Member Data Documentation

int AttackWeap::count

Definition at line 291 of file attack.h.

Referenced by tsearchreactionfireingunits::attack(), attackpossible28(), attackpossible2n(), attackpossible2u(), tunitattacksobject::setup(), tunitattacksbuilding::setup(), and tunitattacksunit::setup().

int AttackWeap::strength[16]

Definition at line 292 of file attack.h.

Referenced by tsearchreactionfireingunits::attack(), attackpossible28(), attackpossible2n(), attackpossible2u(), tunitattacksobject::setup(), tunitattacksbuilding::setup(), and tunitattacksunit::setup().

int AttackWeap::num[16]

Definition at line 293 of file attack.h.

Referenced by tsearchreactionfireingunits::attack(), attackpossible28(), attackpossible2n(), attackpossible2u(), tunitattacksobject::setup(), and tunitattacksbuilding::setup().

int AttackWeap::typ[16]

Definition at line 294 of file attack.h.

Referenced by attackpossible28(), attackpossible2n(), and attackpossible2u().

enum AttackWeap::Target AttackWeap::target

Referenced by attackpossible28(), attackpossible2n(), and attackpossible2u().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:46:21 2012 for Advanced Strategic Command by  doxygen 1.5.1