diff options
author | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:57 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:57 +0000 |
commit | 0e5e8fff12a3c91f0198afb25c03eb71b2248005 (patch) | |
tree | 235af65c5215b3417adad3be39b39ad8e85208b0 /src/ai | |
parent | d3b7b89493e025654d218fb77da095649b4f6ba2 (diff) | |
download | openttd-0e5e8fff12a3c91f0198afb25c03eb71b2248005.tar.xz |
(svn r23416) -Add: [NoAI] API for querying infrastructure costs.
Diffstat (limited to 'src/ai')
-rw-r--r-- | src/ai/ai_instance.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp index 446f06756..a3131b45b 100644 --- a/src/ai/ai_instance.cpp +++ b/src/ai/ai_instance.cpp @@ -53,6 +53,7 @@ #include "../script/api/ai/ai_industrylist.hpp.sq" #include "../script/api/ai/ai_industrytype.hpp.sq" #include "../script/api/ai/ai_industrytypelist.hpp.sq" +#include "../script/api/ai/ai_infrastructure.hpp.sq" #include "../script/api/ai/ai_list.hpp.sq" #include "../script/api/ai/ai_log.hpp.sq" #include "../script/api/ai/ai_map.hpp.sq" @@ -153,6 +154,7 @@ void AIInstance::RegisterAPI() SQAIIndustryList_CargoProducing_Register(this->engine); SQAIIndustryType_Register(this->engine); SQAIIndustryTypeList_Register(this->engine); + SQAIInfrastructure_Register(this->engine); SQAILog_Register(this->engine); SQAIMap_Register(this->engine); SQAIMarine_Register(this->engine); |