(svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence().

This commit is contained in:
frosch 2011-08-19 21:18:32 +00:00
parent cdb6239d76
commit 3d39fa8824
3 changed files with 6 additions and 3 deletions

View File

@ -117,7 +117,8 @@ public:
/** /**
* Find out if this station is within the rating influence of a town. * Find out if this station is within the rating influence of a town.
* Stations within the radius influence the rating of the town. * The service quality of stations with signs within this radius
* influences the rating of the town.
* @param station_id The station to check. * @param station_id The station to check.
* @param town_id The town to check. * @param town_id The town to check.
* @return True if the tile is within the rating influence of the town. * @return True if the tile is within the rating influence of the town.

View File

@ -441,7 +441,8 @@ public:
/** /**
* Find out if this tile is within the rating influence of a town. * Find out if this tile is within the rating influence of a town.
* Stations on this tile influence the rating of the town. * If a station sign would be on this tile, the servicing quality of the station would
* influence the rating of the town.
* @param tile The tile to check. * @param tile The tile to check.
* @param town_id The town to check. * @param town_id The town to check.
* @return True if the tile is within the rating influence of the town. * @return True if the tile is within the rating influence of the town.

View File

@ -209,7 +209,8 @@ public:
/** /**
* Find out if this tile is within the rating influence of a town. * Find out if this tile is within the rating influence of a town.
* Stations on this tile influence the rating of the town. * If a station sign would be on this tile, the servicing quality of the station would
* influence the rating of the town.
* @param town_id The town to check. * @param town_id The town to check.
* @param tile The tile to check. * @param tile The tile to check.
* @pre IsValidTown(town_id). * @pre IsValidTown(town_id).