(svn r15489) -Change [API CHANGE]: Remove AIAirport::AirportAvailable. AIAirport::IsValidAirportType now only returns true for available AirportTypes.
This commit is contained in:
@@ -47,9 +47,9 @@ public:
|
||||
};
|
||||
|
||||
/**
|
||||
* Checks whether the given AirportType is valid.
|
||||
* Checks whether the given AirportType is valid and available.
|
||||
* @param type The AirportType to check.
|
||||
* @return True if and only if the AirportTypeis valid.
|
||||
* @return True if and only if the AirportType is valid and available.
|
||||
*/
|
||||
static bool IsValidAirportType(AirportType type);
|
||||
|
||||
@@ -69,12 +69,6 @@ public:
|
||||
*/
|
||||
static bool IsAirportTile(TileIndex tile);
|
||||
|
||||
/**
|
||||
* Check if a certain airport type is already available.
|
||||
* @param type The type of airport to check.
|
||||
*/
|
||||
static bool AirportAvailable(AirportType type);
|
||||
|
||||
/**
|
||||
* Get the width of this type of airport.
|
||||
* @param type The type of airport.
|
||||
|
Reference in New Issue
Block a user