Codechange: Don't use globals for story/goal/sign/group command proc return values.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user