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/command.cpp | |
parent | a49a4eec6e9b9fd7a9520af882a38697dd3a0ed3 (diff) | |
download | openttd-33ad9774fb7c51f1ec706851c7a96a7ced5ff622.tar.xz |
(svn r25352) -Feature: GameScript API for selecting a story page to view
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp index 38dc43521..d0d08ca31 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -159,6 +159,7 @@ CommandProc CmdCreateStoryPage; CommandProc CmdCreateStoryPageElement; CommandProc CmdUpdateStoryPageElement; CommandProc CmdSetStoryPageTitle; +CommandProc CmdShowStoryPage; CommandProc CmdRemoveStoryPage; CommandProc CmdLevelLand; @@ -309,6 +310,7 @@ static const Command _command_proc_table[] = { DEF_CMD(CmdCreateStoryPageElement, CMD_STR_CTRL | CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_CREATE_STORY_PAGE_ELEMENT DEF_CMD(CmdUpdateStoryPageElement, CMD_STR_CTRL | CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_UPDATE_STORY_PAGE_ELEMENT DEF_CMD(CmdSetStoryPageTitle, CMD_STR_CTRL | CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_SET_STORY_PAGE_TITLE + DEF_CMD(CmdShowStoryPage, CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_SHOW_STORY_PAGE DEF_CMD(CmdRemoveStoryPage, CMD_STR_CTRL | CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_REMOVE_STORY_PAGE DEF_CMD(CmdLevelLand, CMD_ALL_TILES | CMD_NO_TEST | CMD_AUTO, CMDT_LANDSCAPE_CONSTRUCTION), // CMD_LEVEL_LAND; test run might clear tiles multiple times, in execution that only happens once |