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_BUILD_OBJECT_AREA
build an area of objects
@ CMD_BUILD_OBJECT
build an object
@ CMD_NO_TEST
the command's output may differ between test and execute due to town rating changes etc.
@ CMD_AUTO
set the DC_AUTO flag on this command
@ CMD_NO_WATER
set the DC_NO_WATER flag on this command
@ CMD_DEITY
the command may be executed by COMPANY_DEITY
CommandCost CmdBuildObjectArea(DoCommandFlag flags, TileIndex tile, TileIndex start_tile, ObjectType type, uint8_t view, bool diagonal)
Construct multiple objects in an area.
CommandCost CmdBuildObject(DoCommandFlag flags, TileIndex tile, ObjectType type, uint8_t view)
Build an object object.
Types related to object tiles.
uint16_t ObjectType
Types of objects.