diff options
author | zuu <zuu@openttd.org> | 2014-02-06 19:25:39 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2014-02-06 19:25:39 +0000 |
commit | 5165be2698a9d92de4b675b0dece9057e92484bf (patch) | |
tree | 2939c724ef744237783100bf3368f03a195ed572 /src/script/api/game | |
parent | ebcc8462b7d09d36ff74843748ab5277a81bc409 (diff) | |
download | openttd-5165be2698a9d92de4b675b0dece9057e92484bf.tar.xz |
(svn r26303) -Add: [nogo] ScriptStoryPageList() - a list of all story pages
Diffstat (limited to 'src/script/api/game')
-rw-r--r-- | src/script/api/game/game_story_page.hpp.sq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_story_page.hpp.sq b/src/script/api/game/game_story_page.hpp.sq index 1d0fe6ced..dba324eaa 100644 --- a/src/script/api/game/game_story_page.hpp.sq +++ b/src/script/api/game/game_story_page.hpp.sq @@ -32,6 +32,7 @@ void SQGSStoryPage_Register(Squirrel *engine) SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::New, "New", 3, ".i."); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::NewElement, "NewElement", 5, ".iii."); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::UpdateElement, "UpdateElement", 4, ".ii."); + SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::GetPageSort, "GetPageSort", 2, ".i"); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::SetTitle, "SetTitle", 3, ".i."); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::Show, "Show", 2, ".i"); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::Remove, "Remove", 2, ".i"); |