--- a/src/ai/api/ai_industry.hpp Tue Apr 29 21:06:16 2008 +0000
+++ b/src/ai/api/ai_industry.hpp Tue Apr 29 21:34:17 2008 +0000
@@ -95,6 +95,14 @@
static TileIndex GetLocation(IndustryID industry_id);
/**
+ * Get the number of stations around an industry.
+ * @param industry_id The index of the industry.
+ * @pre IsValidIndustry(industry_id).
+ * @return The number of stations around an industry.
+ */
+ static int32 GetAmountOfStationsAround(IndustryID industry_id);
+
+ /**
* Get the manhattan distance from the tile to the AIIndustry::GetLocation()
* of the industry.
* @param industry_id The industry to get the distance to.