diff options
author | zuu <zuu@openttd.org> | 2014-02-06 19:41:56 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2014-02-06 19:41:56 +0000 |
commit | 57a88c9de2c68496c36c5646207541a28a3e31cc (patch) | |
tree | 8054ac7f8cbd5a44cf074d3c3585a747335389af /src/game | |
parent | 14d99c696198c113a7d0516d5524cae1c55ebd82 (diff) | |
download | openttd-57a88c9de2c68496c36c5646207541a28a3e31cc.tar.xz |
(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/game_instance.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index c61fb26f2..f4afc69b9 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_storypageelementlist.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" @@ -172,6 +173,7 @@ void GameInstance::RegisterAPI() SQGSStationList_Register(this->engine); SQGSStationList_Vehicle_Register(this->engine); SQGSStoryPage_Register(this->engine); + SQGSStoryPageElementList_Register(this->engine); SQGSStoryPageList_Register(this->engine); SQGSSubsidy_Register(this->engine); SQGSSubsidyList_Register(this->engine); |