diff options
author | yexo <yexo@openttd.org> | 2010-08-19 15:19:40 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-08-19 15:19:40 +0000 |
commit | 6c7384cabd9ffe684697f98a65a32871500284f8 (patch) | |
tree | 5fc1db4722624c680022fa6d0b5647dcb136b98a /src/ai/api/ai_industrytype.hpp | |
parent | 1fe3ce9993fbb54dcb87eb1e6487cd2a2d049bbf (diff) | |
download | openttd-6c7384cabd9ffe684697f98a65a32871500284f8.tar.xz |
(svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractList
Diffstat (limited to 'src/ai/api/ai_industrytype.hpp')
-rw-r--r-- | src/ai/api/ai_industrytype.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp index 2d0e48b31..154016cf8 100644 --- a/src/ai/api/ai_industrytype.hpp +++ b/src/ai/api/ai_industrytype.hpp @@ -14,7 +14,7 @@ #include "ai_object.hpp" #include "ai_error.hpp" -#include "ai_list.hpp" +#include "ai_abstractlist.hpp" /** * Class that handles all industry-type related functions. @@ -55,7 +55,7 @@ public: * @pre IsValidIndustryType(industry_type). * @return The CargoIDs of all cargotypes this industry could produce. */ - static AIList *GetProducedCargo(IndustryType industry_type); + static AIAbstractList *GetProducedCargo(IndustryType industry_type); /** * Get a list of CargoID accepted by this industry-type. @@ -65,7 +65,7 @@ public: * @pre IsValidIndustryType(industry_type). * @return The CargoIDs of all cargotypes this industry accepts. */ - static AIList *GetAcceptedCargo(IndustryType industry_type); + static AIAbstractList *GetAcceptedCargo(IndustryType industry_type); /** * Is this industry type a raw industry? |