Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 279 of file attack.h.


Member Enumeration Documentation

enum AttackWeap::Target
 

Enumeration values:
nothing 
vehicle 
building 
object 

Definition at line 287 of file attack.h.


Member Data Documentation

int AttackWeap::count
 

Definition at line 282 of file attack.h.

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

int AttackWeap::num[16]
 

Definition at line 284 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 283 of file attack.h.

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

enum AttackWeap::Target AttackWeap::target
 

Referenced by attackpossible28(), attackpossible2n(), attackpossible2u(), and VehicleAttack::execute().

int AttackWeap::typ[16]
 

Definition at line 285 of file attack.h.

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


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:16:16 2008 for Advanced Strategic Command by  doxygen 1.4.2