10 #ifndef LANDSCAPE_CMD_H
11 #define LANDSCAPE_CMD_H
Common return value for all commands.
Types related to commands.
@ CMDT_LANDSCAPE_CONSTRUCTION
Construction and destruction of objects on the map.
DoCommandFlag
List of flags for a command.
@ CMD_LANDSCAPE_CLEAR
demolish a tile
@ CMD_CLEAR_AREA
clear an area
@ CMD_NO_TEST
the command's output may differ between test and execute due to town rating changes etc.
@ CMD_DEITY
the command may be executed by COMPANY_DEITY
CommandCost CmdLandscapeClear(DoCommandFlag flags, TileIndex tile)
Clear a piece of landscape.
std::tuple< CommandCost, Money > CmdClearArea(DoCommandFlag flags, TileIndex tile, TileIndex start_tile, bool diagonal)
Clear a big piece of landscape.