summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2014-02-06 19:25:39 +0000
committerzuu <zuu@openttd.org>2014-02-06 19:25:39 +0000
commit5165be2698a9d92de4b675b0dece9057e92484bf (patch)
tree2939c724ef744237783100bf3368f03a195ed572 /src/game
parentebcc8462b7d09d36ff74843748ab5277a81bc409 (diff)
downloadopenttd-5165be2698a9d92de4b675b0dece9057e92484bf.tar.xz
(svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pages
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_instance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp
index bd588e039..c61fb26f2 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -67,6 +67,7 @@
#include "../script/api/game/game_station.hpp.sq"
#include "../script/api/game/game_stationlist.hpp.sq"
#include "../script/api/game/game_story_page.hpp.sq"
+#include "../script/api/game/game_storypagelist.hpp.sq"
#include "../script/api/game/game_subsidy.hpp.sq"
#include "../script/api/game/game_subsidylist.hpp.sq"
#include "../script/api/game/game_testmode.hpp.sq"
@@ -171,6 +172,7 @@ void GameInstance::RegisterAPI()
SQGSStationList_Register(this->engine);
SQGSStationList_Vehicle_Register(this->engine);
SQGSStoryPage_Register(this->engine);
+ SQGSStoryPageList_Register(this->engine);
SQGSSubsidy_Register(this->engine);
SQGSSubsidyList_Register(this->engine);
SQGSTestMode_Register(this->engine);