Compounds | |
| class | CityLessThreatened |
| compare two cities to see which is less threatened. More... | |
| class | IsNeutralCity |
| used by the ai player to find all the neutral cities. More... | |
| class | Player |
| A computer controlled player. More... | |
| class | SmallerDistToCity |
Typedefs | |
| typedef vector< City * >::iterator | CityIter |
| typedef vector< MilitaryUnit * >::iterator | UnitIter |
| typedef pair< MilitaryUnit *, FLOAT > | UnitDist |
| typedef vector< vector< FLOAT > > | ThreatMap |
Variables | |
| const float | threatMapScale = 1.0f/3.0f |
| const float | unitThreatIncr = 1.0f/7.0f |
| The value to inrement a map cell that is threatened by a unit, i.e. how threatening a unit is to a cell. | |
|
|
Definition at line 28 of file AI.cpp. Referenced by AI::Player::update(). |
|
|
Definition at line 37 of file AI.h. Referenced by AI::Player::threatMap(). |
|
|
Definition at line 169 of file AI.cpp. Referenced by AI::Player::sendUnitsToCity(). |
|
|
Definition at line 29 of file AI.cpp. Referenced by AI::Player::buildThreatMap(), AI::Player::sendUnitsToCity(), and AI::Player::update(). |
|
|
|
|
|
The value to inrement a map cell that is threatened by a unit, i.e. how threatening a unit is to a cell.
|
1.3-rc2