#include <attack.h>
Inheritance diagram for AttackFormula:

Public Member Functions | |
| float | strength_experience (int experience) |
| float | strength_damage (int damage) |
| float | strength_attackbonus (int abonus) |
| float | strength_hemming (int ax, int ay, Vehicle *d_eht) |
| float | defense_experience (int experience) |
| float | defense_defensebonus (int defensebonus) |
| virtual | ~AttackFormula () |
Static Public Member Functions | |
| static float | getHemmingFactor (int relDir) |
|
|
|
|
|
Definition at line 129 of file attack.cpp. Referenced by tfight::calc(). |
|
|
Definition at line 113 of file attack.cpp. References actmap, cgp_experienceDivisorDefense, GameMap::getgameparameter(), and maxunitexperience. Referenced by tfight::calc(), and unitStrengthValue(). |
|
|
Definition at line 63 of file attack.cpp. References sidenum, and warning(). Referenced by strength_hemming(). |
|
|
Definition at line 122 of file attack.cpp. Referenced by tfight::calc(). |
|
|
Definition at line 100 of file attack.cpp. Referenced by tfight::calc(), CalculateThreat_VehicleType::calc_threat_vehicletype(), and unitStrengthValue(). |
|
|
Definition at line 105 of file attack.cpp. References actmap, cgp_experienceDivisorAttack, GameMap::getgameparameter(), and maxunitexperience. Referenced by tfight::calc(), CalculateThreat_VehicleType::calc_threat_vehicletype(), and unitStrengthValue(). |
|
||||||||||||||||
|
Definition at line 79 of file attack.cpp. References getdirection(), getHemmingFactor(), sidenum, Vehicle::xpos, and Vehicle::ypos. Referenced by tunitattacksunit::setup(). |
1.4.2