(svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID().

This commit is contained in:
yexo
2009-02-23 21:07:01 +00:00
parent c144d8fa90
commit 11ce4538b4
3 changed files with 2 additions and 16 deletions

View File

@@ -15,18 +15,10 @@ public:
static const char *GetClassName() { return "AIIndustry"; }
/**
* Gets the maximum industry index; there are no valid industries with a
* higher index.
* @return The maximum industry index.
* @post Return value is always non-negative.
*/
static IndustryID GetMaxIndustryID();
/**
* Gets the number of industries. This is different than GetMaxIndustryID()
* because of the way OpenTTD works internally.
* Gets the number of industries.
* @return The number of industries.
* @post Return value is always non-negative.
* @note The maximum valid IndustryID can be higher then the value returned.
*/
static int32 GetIndustryCount();