summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2014-09-21 16:20:48 +0000
committerfonsinchen <fonsinchen@openttd.org>2014-09-21 16:20:48 +0000
commit2128f1e92906563fc7237b8a43f6fa723de70e7c (patch)
treee24003162545fddee51081d131c0232acc997765 /src/ai
parent73d273ffd63d809234c6fa5744d13e520e3e480b (diff)
downloadopenttd-2128f1e92906563fc7237b8a43f6fa723de70e7c.tar.xz
(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and via
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_instance.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ai/ai_instance.cpp b/src/ai/ai_instance.cpp
index 1c304c856..c03e74599 100644
--- a/src/ai/ai_instance.cpp
+++ b/src/ai/ai_instance.cpp
@@ -171,6 +171,17 @@ void AIInstance::RegisterAPI()
SQAISignList_Register(this->engine);
SQAIStation_Register(this->engine);
SQAIStationList_Register(this->engine);
+ SQAIStationList_Cargo_Register(this->engine);
+ SQAIStationList_CargoPlanned_Register(this->engine);
+ SQAIStationList_CargoPlannedByFrom_Register(this->engine);
+ SQAIStationList_CargoPlannedByVia_Register(this->engine);
+ SQAIStationList_CargoPlannedFromByVia_Register(this->engine);
+ SQAIStationList_CargoPlannedViaByFrom_Register(this->engine);
+ SQAIStationList_CargoWaiting_Register(this->engine);
+ SQAIStationList_CargoWaitingByFrom_Register(this->engine);
+ SQAIStationList_CargoWaitingByVia_Register(this->engine);
+ SQAIStationList_CargoWaitingFromByVia_Register(this->engine);
+ SQAIStationList_CargoWaitingViaByFrom_Register(this->engine);
SQAIStationList_Vehicle_Register(this->engine);
SQAISubsidy_Register(this->engine);
SQAISubsidyList_Register(this->engine);