(svn r22764) -Add: [NoAI] AITile::GetTownAuthority().
This commit is contained in:
@@ -449,6 +449,13 @@ public:
|
||||
*/
|
||||
static bool IsWithinTownInfluence(TileIndex tile, TownID town_id);
|
||||
|
||||
/**
|
||||
* Find the town which has authority for the tile.
|
||||
* The rating of your company in this town will be checked and affected when
|
||||
* building stations, trees etc.
|
||||
*/
|
||||
static TownID GetTownAuthority(TileIndex tile);
|
||||
|
||||
/**
|
||||
* Find the town that is closest to a tile. Stations you build at this tile
|
||||
* will belong to this town.
|
||||
|
Reference in New Issue
Block a user