17std::tuple<CommandCost, SignID>
CmdPlaceSign(DoCommandFlags flags,
TileIndex tile,
const std::string &text);
Common return value for all commands.
Types related to commands.
@ OtherManagement
Renaming stuff, changing company colours, placing signs, etc.
@ Deity
the command may be executed by COMPANY_DEITY
Commands
List of commands.
@ RenameSign
rename a sign
Types related to the graphics and/or input devices.
CommandCost CmdRenameSign(DoCommandFlags flags, SignID sign_id, const std::string &text, Colours text_colour)
Rename a sign.
CommandCost CmdMoveSign(DoCommandFlags flags, SignID sign_id, TileIndex tile)
Move a sign to the given coordinates.
std::tuple< CommandCost, SignID > CmdPlaceSign(DoCommandFlags flags, TileIndex tile, const std::string &text)
Place a sign at the given coordinates.
CommandCost CmdRenameSign(DoCommandFlags flags, SignID sign_id, const std::string &text, Colours text_colour)
Rename a sign.
CommandCost CmdMoveSign(DoCommandFlags flags, SignID sign_id, TileIndex tile)
Move a sign to the given coordinates.
std::tuple< CommandCost, SignID > CmdPlaceSign(DoCommandFlags flags, TileIndex tile, const std::string &text)
Place a sign at the given coordinates.
void CcPlaceSign(Commands, const CommandCost &result, SignID new_sign)
Callback function that is called after a sign is placed.
PoolID< uint16_t, struct SignIDTag, 64000, 0xFFFF > SignID
The type of the IDs of signs.
StrongType::Typedef< uint32_t, struct TileIndexTag, StrongType::Compare, StrongType::Integer, StrongType::Compatible< int32_t >, StrongType::Compatible< int64_t > > TileIndex
The index/ID of a Tile.