#include <baseaiinterface.h>
Public Member Functions | |
| void | reset (void) |
| AiThreat (void) | |
| AiThreat & | operator+= (const AiThreat &t) |
| void | read (tnstream &stream) |
| void | write (tnstream &stream) |
Public Attributes | |
| int | threatTypes |
| int | threat [aiValueTypeNum] |
Since a given unit may usually not attack all kinds of units ( satellites, submarines, etc ), there are several different groups of unitTypes, with a different threat rating each
Definition at line 38 of file baseaiinterface.h.
|
|
Definition at line 43 of file baseaiinterface.h. References reset(). |
|
|
Definition at line 44 of file baseaiinterface.h. References threat, and threatTypes. |
|
|
Definition at line 1818 of file gamemap.cpp. References threat, and threatTypes. Referenced by AiValue::read(). |
|
|
Definition at line 1903 of file gamemap.cpp. References aiValueTypeNum, and threat. Referenced by AiThreat(), and AiValue::reset(). |
|
|
Definition at line 1809 of file gamemap.cpp. References threat, threatTypes, and tnstream::writeInt(). Referenced by AiValue::write(). |
|
|
Definition at line 41 of file baseaiinterface.h. Referenced by CalculateThreat_Vehicle::calc_threat_vehicle(), CalculateThreat_VehicleType::calc_threat_vehicletype(), operator+=(), read(), reset(), AI::showFieldInformation(), and write(). |
|
|
Definition at line 40 of file baseaiinterface.h. Referenced by operator+=(), read(), and write(). |
1.4.2