(svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed.

This commit is contained in:
yexo
2009-02-19 09:01:34 +00:00
parent c0e7ddeb9e
commit 459a855e60
15 changed files with 81 additions and 82 deletions

View File

@@ -62,10 +62,10 @@ public:
static bool IsHangarTile(TileIndex tile);
/**
* Checks whether the given tile is actually a tile with a airport.
* Checks whether the given tile is actually a tile with an airport.
* @param tile The tile to check.
* @pre AIMap::IsValidTile(tile).
* @return True if and only if the tile has a airport.
* @return True if and only if the tile has an airport.
*/
static bool IsAirportTile(TileIndex tile);
@@ -128,7 +128,7 @@ public:
static bool BuildAirport(TileIndex tile, AirportType type, StationID station_id);
/**
* Removes a airport.
* Removes an airport.
* @param tile Any tile of the airport.
* @pre AIMap::IsValidTile(tile).
* @exception AIError::ERR_OWNED_BY_ANOTHER_COMPANY
@@ -151,7 +151,7 @@ public:
* @param tile The tile to check.
* @param type The AirportType to check.
* @return The amount of noise added to the nearest town.
* @note The noise will be added to the town with TownID GetNearestTown(itle, type).
* @note The noise will be added to the town with TownID GetNearestTown(tile, type).
*/
static int GetNoiseLevelIncrease(TileIndex tile, AirportType type);