Common return value for all commands.
Types related to commands.
@ LandscapeConstruction
Construction and destruction of objects on the map.
@ Auto
set the DoCommandFlag::Auto flag on this command
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.
CommandCost CmdPlantTree(DoCommandFlags flags, TileIndex tile, TileIndex start_tile, uint8_t tree_to_plant, bool diagonal)
Plant a tree.
void PlaceTree(TileIndex tile, uint32_t r, bool keep_density=false)
Make a random tree tile of the given tile.
CommandCost CmdPlantTree(DoCommandFlags flags, TileIndex tile, TileIndex start_tile, uint8_t tree_to_plant, bool diagonal)
Plant a tree.