summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-12-03 23:40:57 +0000
committermichi_cc <michi_cc@openttd.org>2011-12-03 23:40:57 +0000
commit0e5e8fff12a3c91f0198afb25c03eb71b2248005 (patch)
tree235af65c5215b3417adad3be39b39ad8e85208b0 /src/ai
parentd3b7b89493e025654d218fb77da095649b4f6ba2 (diff)
downloadopenttd-0e5e8fff12a3c91f0198afb25c03eb71b2248005.tar.xz
(svn r23416) -Add: [NoAI] API for querying infrastructure costs.
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_instance.cpp2
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);