Common return value for all commands.
Types related to commands.
@ CMDT_OTHER_MANAGEMENT
Renaming stuff, changing company colours, placing signs, etc.
@ Deity
the command may be executed by COMPANY_DEITY
Commands
List of commands.
@ CMD_PLACE_SIGN
place a sign
@ CMD_RENAME_SIGN
rename a sign
std::tuple< CommandCost, SignID > CmdPlaceSign(DoCommandFlags flags, TileIndex tile, const std::string &text)
Place a sign at the given coordinates.
void CcPlaceSign(Commands cmd, const CommandCost &result, SignID new_sign)
Callback function that is called after a sign is placed.
CommandCost CmdRenameSign(DoCommandFlags flags, SignID sign_id, const std::string &text)
Rename a sign.