
Public Member Functions | |
| void | calc_threat_vehicletype (const VehicleType *_fzt) |
| CalculateThreat_VehicleType (AI *_ai) | |
| virtual | ~CalculateThreat_VehicleType () |
Protected Member Functions | |
| virtual int | getdamage (void) |
| virtual int | getexpirience (void) |
| virtual int | getammunition (int i) |
| virtual int | getheight (void) |
Protected Attributes | |
| AI * | ai |
| const VehicleType * | fzt |
| int | weapthreat [8] |
| int | value |
Definition at line 35 of file valuation.cpp.
| CalculateThreat_VehicleType::CalculateThreat_VehicleType | ( | AI * | _ai | ) | [inline] |
| virtual CalculateThreat_VehicleType::~CalculateThreat_VehicleType | ( | ) | [inline, virtual] |
Definition at line 50 of file valuation.cpp.
| virtual int CalculateThreat_VehicleType::getdamage | ( | void | ) | [inline, protected, virtual] |
Reimplemented in CalculateThreat_Vehicle.
Definition at line 43 of file valuation.cpp.
Referenced by calc_threat_vehicletype().
| virtual int CalculateThreat_VehicleType::getexpirience | ( | void | ) | [inline, protected, virtual] |
Reimplemented in CalculateThreat_Vehicle.
Definition at line 44 of file valuation.cpp.
Referenced by calc_threat_vehicletype().
| virtual int CalculateThreat_VehicleType::getammunition | ( | int | i | ) | [inline, protected, virtual] |
Reimplemented in CalculateThreat_Vehicle.
Definition at line 45 of file valuation.cpp.
Referenced by calc_threat_vehicletype().
| virtual int CalculateThreat_VehicleType::getheight | ( | void | ) | [inline, protected, virtual] |
Reimplemented in CalculateThreat_Vehicle.
Definition at line 46 of file valuation.cpp.
Referenced by calc_threat_vehicletype().
| void CalculateThreat_VehicleType::calc_threat_vehicletype | ( | const VehicleType * | _fzt | ) |
Definition at line 66 of file valuation.cpp.
References ai, UnitWeapon::count, fzt, getammunition(), getdamage(), getexpirience(), getheight(), AI::getMap(), WeapDist::getWeaponStrength(), maxmalq, SingleWeapon::maxstrength, SingleWeapon::mindistance, SingleWeapon::offensive(), SingleWeapon::shootable(), SingleWeapon::sourceheight, SingleWeapon::targ, UnitWeapon::weapon, VehicleType::weapons, and weapthreat.
Referenced by CalculateThreat_Vehicle::calc_threat_vehicle().
AI* CalculateThreat_VehicleType::ai [protected] |
Definition at line 37 of file valuation.cpp.
Referenced by CalculateThreat_Vehicle::calc_threat_vehicle(), calc_threat_vehicletype(), and CalculateThreat_VehicleType().
const VehicleType* CalculateThreat_VehicleType::fzt [protected] |
int CalculateThreat_VehicleType::weapthreat[8] [protected] |
int CalculateThreat_VehicleType::value [protected] |
Definition at line 41 of file valuation.cpp.
Referenced by CalculateThreat_Vehicle::calc_threat_vehicle().
1.5.1