summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_airport.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-14 21:16:21 +0000
committeryexo <yexo@openttd.org>2009-02-14 21:16:21 +0000
commit16954ba37806a4510e626d5ceb29f8114c275a3d (patch)
tree0080f4623a8ee03c92d581adb1d7f6de837db053 /src/ai/api/ai_airport.hpp
parentbce1bcb0f27affa6678c3f657c06955afbf4b47b (diff)
downloadopenttd-16954ba37806a4510e626d5ceb29f8114c275a3d.tar.xz
(svn r15489) -Change [API CHANGE]: Remove AIAirport::AirportAvailable. AIAirport::IsValidAirportType now only returns true for available AirportTypes.
Diffstat (limited to 'src/ai/api/ai_airport.hpp')
-rw-r--r--src/ai/api/ai_airport.hpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ai/api/ai_airport.hpp b/src/ai/api/ai_airport.hpp
index 559d9c6ae..88d208043 100644
--- a/src/ai/api/ai_airport.hpp
+++ b/src/ai/api/ai_airport.hpp
@@ -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);
@@ -70,12 +70,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.
* @return The width in tiles.