Common return value for all commands.
Types related to commands.
@ CMDT_OTHER_MANAGEMENT
Renaming stuff, changing company colours, placing signs, etc.
DoCommandFlag
List of flags for a command.
Commands
List of commands.
@ CMD_PLACE_SIGN
place a sign
@ CMD_RENAME_SIGN
rename a sign
@ CMD_DEITY
the command may be executed by COMPANY_DEITY
std::tuple< CommandCost, SignID > CmdPlaceSign(DoCommandFlag 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(DoCommandFlag flags, SignID sign_id, const std::string &text)
Rename a sign.
uint16_t SignID
The type of the IDs of signs.