diff options
author | zuu <zuu@openttd.org> | 2013-06-09 12:57:22 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2013-06-09 12:57:22 +0000 |
commit | 33ad9774fb7c51f1ec706851c7a96a7ced5ff622 (patch) | |
tree | af64b06f63d6168eef04bf09172732f6af896027 /src/script/api/game | |
parent | a49a4eec6e9b9fd7a9520af882a38697dd3a0ed3 (diff) | |
download | openttd-33ad9774fb7c51f1ec706851c7a96a7ced5ff622.tar.xz |
(svn r25352) -Feature: GameScript API for selecting a story page to view
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 abc9500d1..1d0fe6ced 100644 --- a/src/script/api/game/game_story_page.hpp.sq +++ b/src/script/api/game/game_story_page.hpp.sq @@ -33,6 +33,7 @@ void SQGSStoryPage_Register(Squirrel *engine) SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::NewElement, "NewElement", 5, ".iii."); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::UpdateElement, "UpdateElement", 4, ".ii."); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::SetTitle, "SetTitle", 3, ".i."); + SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::Show, "Show", 2, ".i"); SQGSStoryPage.DefSQStaticMethod(engine, &ScriptStoryPage::Remove, "Remove", 2, ".i"); SQGSStoryPage.PostRegister(engine); |