diff options
author | zuu <zuu@openttd.org> | 2014-02-06 19:48:19 +0000 |
---|---|---|
committer | zuu <zuu@openttd.org> | 2014-02-06 19:48:19 +0000 |
commit | 1dbd59e6ab9a917214d98c53a8ab8ca5b0d47223 (patch) | |
tree | 374556ba750817bdd6899dab980bd46ea6d37110 /src/command.cpp | |
parent | 57a88c9de2c68496c36c5646207541a28a3e31cc (diff) | |
download | openttd-1dbd59e6ab9a917214d98c53a8ab8ca5b0d47223.tar.xz |
(svn r26306) -Add: [nogo] More story APIs: RemovePageElement, GetCompany, GetDate, SetDate
Diffstat (limited to 'src/command.cpp')
-rw-r--r-- | src/command.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/command.cpp b/src/command.cpp index 6058c9735..7afd82185 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -160,8 +160,10 @@ CommandProc CmdCreateStoryPage; CommandProc CmdCreateStoryPageElement; CommandProc CmdUpdateStoryPageElement; CommandProc CmdSetStoryPageTitle; +CommandProc CmdSetStoryPageDate; CommandProc CmdShowStoryPage; CommandProc CmdRemoveStoryPage; +CommandProc CmdRemoveStoryPageElement; CommandProc CmdLevelLand; @@ -312,8 +314,10 @@ 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(CmdSetStoryPageDate, CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_SET_STORY_PAGE_DATE DEF_CMD(CmdShowStoryPage, CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_SHOW_STORY_PAGE DEF_CMD(CmdRemoveStoryPage, CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_REMOVE_STORY_PAGE + DEF_CMD(CmdRemoveStoryPageElement, CMD_DEITY, CMDT_OTHER_MANAGEMENT ), // CMD_REMOVE_STORY_ELEMENT_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 |