mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r22763) -Fix [FS#4702]: Clarify the meaning of AIStation::IsWithinTownInfluence(), AITile::IsWithinTownInfluence() and AITown::IsWithinTownInfluence().
This commit is contained in:
parent
cdb6239d76
commit
3d39fa8824
@ -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.
|
||||||
|
@ -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.
|
||||||
|
@ -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).
|
||||||
|
Loading…
Reference in New Issue
Block a user