summaryrefslogtreecommitdiff
path: root/src/game
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/game
parent73d273ffd63d809234c6fa5744d13e520e3e480b (diff)
downloadopenttd-2128f1e92906563fc7237b8a43f6fa723de70e7c.tar.xz
(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and via
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_instance.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp
index 9d030f296..c5e5c7f05 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -173,6 +173,17 @@ void GameInstance::RegisterAPI()
SQGSSignList_Register(this->engine);
SQGSStation_Register(this->engine);
SQGSStationList_Register(this->engine);
+ SQGSStationList_Cargo_Register(this->engine);
+ SQGSStationList_CargoPlanned_Register(this->engine);
+ SQGSStationList_CargoPlannedByFrom_Register(this->engine);
+ SQGSStationList_CargoPlannedByVia_Register(this->engine);
+ SQGSStationList_CargoPlannedFromByVia_Register(this->engine);
+ SQGSStationList_CargoPlannedViaByFrom_Register(this->engine);
+ SQGSStationList_CargoWaiting_Register(this->engine);
+ SQGSStationList_CargoWaitingByFrom_Register(this->engine);
+ SQGSStationList_CargoWaitingByVia_Register(this->engine);
+ SQGSStationList_CargoWaitingFromByVia_Register(this->engine);
+ SQGSStationList_CargoWaitingViaByFrom_Register(this->engine);
SQGSStationList_Vehicle_Register(this->engine);
SQGSStoryPage_Register(this->engine);
SQGSStoryPageElementList_Register(this->engine);