summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_industrytype.hpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-01-23 22:09:31 +0000
committerfrosch <frosch@openttd.org>2009-01-23 22:09:31 +0000
commitac7883fe9396fca915ce59567a7d71ae417d16ae (patch)
treea684a4b2e814389040ffa69997da5301631bfe62 /src/ai/api/ai_industrytype.hpp
parent30241be9e581e8adc14ac10ebdf2cfa613ba1608 (diff)
downloadopenttd-ac7883fe9396fca915ce59567a7d71ae417d16ae.tar.xz
(svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries 'features'.
Diffstat (limited to 'src/ai/api/ai_industrytype.hpp')
-rw-r--r--src/ai/api/ai_industrytype.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp
index 2e38166b3..a7ef9acc1 100644
--- a/src/ai/api/ai_industrytype.hpp
+++ b/src/ai/api/ai_industrytype.hpp
@@ -33,6 +33,8 @@ public:
/**
* Get a list of CargoID possible produced by this industry-type.
+ * WARNING This is function only returns the default cargos of the industry type.
+ * Industries can specify new cargotypes on construction.
* @param industry_type The type to get the CargoIDs for.
* @pre IsValidIndustryType(industry_type).
* @return The CargoIDs of all cargotypes this industry could produce.
@@ -41,6 +43,8 @@ public:
/**
* Get a list of CargoID accepted by this industry-type.
+ * WARNING This is function only returns the default cargos of the industry type.
+ * Industries can specify new cargotypes on construction.
* @param industry_type The type to get the CargoIDs for.
* @pre IsValidIndustryType(industry_type).
* @return The CargoIDs of all cargotypes this industry accepts.