diff options
author | frosch <frosch@openttd.org> | 2009-03-30 20:48:10 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-03-30 20:48:10 +0000 |
commit | f55be81e3c8031cffd229b0347f2268fe0a1eafd (patch) | |
tree | f0de1a132f0bdff1175626a0d737372ae7590d8e /src/ai/api/ai_industrytype.hpp.sq | |
parent | 3bbf0fc87b34ccab4f3bb91e1690981aecd80c7d (diff) | |
download | openttd-f55be81e3c8031cffd229b0347f2268fe0a1eafd.tar.xz |
(svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry.
Diffstat (limited to 'src/ai/api/ai_industrytype.hpp.sq')
-rw-r--r-- | src/ai/api/ai_industrytype.hpp.sq | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ai/api/ai_industrytype.hpp.sq b/src/ai/api/ai_industrytype.hpp.sq index 0d4c60787..a84cc2489 100644 --- a/src/ai/api/ai_industrytype.hpp.sq +++ b/src/ai/api/ai_industrytype.hpp.sq @@ -28,6 +28,9 @@ void SQAIIndustryType_Register(Squirrel *engine) { SQAIIndustryType.DefSQStaticMethod(engine, &AIIndustryType::CanProspectIndustry, "CanProspectIndustry", 2, ".i"); SQAIIndustryType.DefSQStaticMethod(engine, &AIIndustryType::BuildIndustry, "BuildIndustry", 3, ".ii"); SQAIIndustryType.DefSQStaticMethod(engine, &AIIndustryType::ProspectIndustry, "ProspectIndustry", 2, ".i"); + SQAIIndustryType.DefSQStaticMethod(engine, &AIIndustryType::IsBuiltOnWater, "IsBuiltOnWater", 2, ".i"); + SQAIIndustryType.DefSQStaticMethod(engine, &AIIndustryType::HasHeliport, "HasHeliport", 2, ".i"); + SQAIIndustryType.DefSQStaticMethod(engine, &AIIndustryType::HasDock, "HasDock", 2, ".i"); SQAIIndustryType.PostRegister(engine); } |