diff options
author | yexo <yexo@openttd.org> | 2010-05-09 15:59:30 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-05-09 15:59:30 +0000 |
commit | 37928e29f7f15680b946a1451fe202601d3ef81f (patch) | |
tree | c90ae0b8d246d65155338ee18043ca14b7d4d885 /src/ai/api/ai_industry.hpp.sq | |
parent | 96c1fd61735ecc73dea18bd1cdf58c18b3b1a5c8 (diff) | |
download | openttd-37928e29f7f15680b946a1451fe202601d3ef81f.tar.xz |
(svn r19773) -Add: [NoAI] AIIndustry::GetIndustryID(TileIndex)
Diffstat (limited to 'src/ai/api/ai_industry.hpp.sq')
-rw-r--r-- | src/ai/api/ai_industry.hpp.sq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_industry.hpp.sq b/src/ai/api/ai_industry.hpp.sq index ed1dd0c32..86c7d90b7 100644 --- a/src/ai/api/ai_industry.hpp.sq +++ b/src/ai/api/ai_industry.hpp.sq @@ -28,6 +28,7 @@ void SQAIIndustry_Register(Squirrel *engine) SQAIIndustry.DefSQStaticMethod(engine, &AIIndustry::GetIndustryCount, "GetIndustryCount", 1, "."); SQAIIndustry.DefSQStaticMethod(engine, &AIIndustry::IsValidIndustry, "IsValidIndustry", 2, ".i"); + SQAIIndustry.DefSQStaticMethod(engine, &AIIndustry::GetIndustryID, "GetIndustryID", 2, ".i"); SQAIIndustry.DefSQStaticMethod(engine, &AIIndustry::GetName, "GetName", 2, ".i"); SQAIIndustry.DefSQStaticMethod(engine, &AIIndustry::IsCargoAccepted, "IsCargoAccepted", 3, ".ii"); SQAIIndustry.DefSQStaticMethod(engine, &AIIndustry::GetStockpiledCargo, "GetStockpiledCargo", 3, ".ii"); |