diff options
Diffstat (limited to 'src/story_cmd.h')
-rw-r--r-- | src/story_cmd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/story_cmd.h b/src/story_cmd.h index 9dbfd412a..29b1b45f2 100644 --- a/src/story_cmd.h +++ b/src/story_cmd.h @@ -16,8 +16,8 @@ #include "story_type.h" #include "vehicle_type.h" -CommandCost CmdCreateStoryPage(DoCommandFlag flags, CompanyID company, const std::string &text); -CommandCost CmdCreateStoryPageElement(DoCommandFlag flags, TileIndex tile, StoryPageID page_id, StoryPageElementType type, uint32 reference, const std::string &text); +std::tuple<CommandCost, StoryPageID> CmdCreateStoryPage(DoCommandFlag flags, CompanyID company, const std::string &text); +std::tuple<CommandCost, StoryPageElementID> CmdCreateStoryPageElement(DoCommandFlag flags, TileIndex tile, StoryPageID page_id, StoryPageElementType type, uint32 reference, const std::string &text); CommandCost CmdUpdateStoryPageElement(DoCommandFlag flags, TileIndex tile, StoryPageElementID page_element_id, uint32 reference, const std::string &text); CommandCost CmdSetStoryPageTitle(DoCommandFlag flags, StoryPageID page_id, const std::string &text); CommandCost CmdSetStoryPageDate(DoCommandFlag flags, StoryPageID page_id, Date date); |