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_SHIP_DEPOT
build a ship depot
@ CMD_BUILD_CANAL
build a canal
@ CMD_BUILD_LOCK
build a lock
@ CMD_AUTO
set the DC_AUTO flag on this command
Axis
Allow incrementing of DiagDirDiff variables.
CommandCost CmdBuildLock(DoCommandFlag flags, TileIndex tile)
Builds a lock.
CommandCost CmdBuildShipDepot(DoCommandFlag flags, TileIndex tile, Axis axis)
Build a ship depot.
CommandCost CmdBuildCanal(DoCommandFlag flags, TileIndex tile, TileIndex start_tile, WaterClass wc, bool diagonal)
Build a piece of canal.
Map accessors for water tiles.
WaterClass
classes of water (for WATER_TILE_CLEAR water tile type).