@ CMD_BUILD_DOCK
build a dock
@ CMD_RENAME_STATION
rename a station
@ CMD_REMOVE_ROAD_STOP
remove a road stop
RoadStopType
Types of RoadStops.
CommandCost CmdOpenCloseAirport(DoCommandFlag flags, StationID station_id)
Open/close an airport to incoming aircraft.
Axis
Allow incrementing of DiagDirDiff variables.
@ CMD_BUILD_ROAD_STOP
build a road stop
@ CMD_BUILD_RAIL_STATION
build a rail station
enum StationClassID byte CommandCost CmdBuildAirport(DoCommandFlag flags, TileIndex tile, byte airport_type, byte layout, StationID station_to_join, bool allow_adjacent)
Place an Airport.
DoCommandFlag
List of flags for a command.
CommandCost CmdRemoveRoadStop(DoCommandFlag flags, TileIndex tile, uint8 width, uint8 height, RoadStopType stop_type, bool remove_road)
Remove bus or truck stops.
RailType
Enumeration for all possible railtypes.
Common return value for all commands.
@ CMDT_OTHER_MANAGEMENT
Renaming stuff, changing company colours, placing signs, etc.
@ CMD_AUTO
set the DC_AUTO flag on this command
CommandCost CmdBuildRailStation(DoCommandFlag flags, TileIndex tile_org, RailType rt, Axis axis, byte numtracks, byte plat_len, StationClassID spec_class, byte spec_index, StationID station_to_join, bool adjacent)
Build rail station.
@ CMDT_ROUTE_MANAGEMENT
Modifications to route management (orders, groups, etc).
@ CMD_REMOVE_FROM_RAIL_STATION
remove a (rectangle of) tiles from a rail station
CommandCost CmdBuildRoadStop(DoCommandFlag flags, TileIndex tile, uint8 width, uint8 length, RoadStopType stop_type, bool is_drive_through, DiagDirection ddir, RoadType rt, StationID station_to_join, bool adjacent)
Build a bus or truck stop.
DiagDirection
Enumeration for diagonal directions.
CommandCost CmdRemoveFromRailStation(DoCommandFlag flags, TileIndex start, TileIndex end, bool keep_rail)
Remove a single tile from a rail station.
@ CMD_BUILD_AIRPORT
build an airport
@ CMD_NO_WATER
set the DC_NO_WATER flag on this command
@ CMD_OPEN_CLOSE_AIRPORT
open/close an airport to incoming aircraft
CommandCost CmdRenameStation(DoCommandFlag flags, StationID station_id, const std::string &text)
Rename a station.
RoadType
The different roadtypes we support.
CommandCost CmdBuildDock(DoCommandFlag flags, TileIndex tile, StationID station_to_join, bool adjacent)
Build a dock/haven.
@ CMDT_LANDSCAPE_CONSTRUCTION
Construction and destruction of objects on the map.