Codechange: Un-bitstuff station/depot/waypoint commands.
This commit is contained in:
@@ -11,11 +11,14 @@
|
||||
#define WAYPOINT_CMD_H
|
||||
|
||||
#include "command_type.h"
|
||||
#include "station_type.h"
|
||||
|
||||
CommandProc CmdBuildRailWaypoint;
|
||||
CommandProc CmdRemoveFromRailWaypoint;
|
||||
CommandProc CmdBuildBuoy;
|
||||
CommandProc CmdRenameWaypoint;
|
||||
enum StationClassID : byte;
|
||||
|
||||
CommandCost CmdBuildRailWaypoint(DoCommandFlag flags, TileIndex start_tile, Axis axis, byte width, byte height, StationClassID spec_class, byte spec_index, StationID station_to_join, bool adjacent);
|
||||
CommandCost CmdRemoveFromRailWaypoint(DoCommandFlag flags, TileIndex start, TileIndex end, bool keep_rail);
|
||||
CommandCost CmdBuildBuoy(DoCommandFlag flags, TileIndex tile);
|
||||
CommandCost CmdRenameWaypoint(DoCommandFlag flags, StationID waypoint_id, const std::string &text);
|
||||
|
||||
DEF_CMD_TRAIT(CMD_BUILD_RAIL_WAYPOINT, CmdBuildRailWaypoint, 0, CMDT_LANDSCAPE_CONSTRUCTION)
|
||||
DEF_CMD_TRAIT(CMD_REMOVE_FROM_RAIL_WAYPOINT, CmdRemoveFromRailWaypoint, 0, CMDT_LANDSCAPE_CONSTRUCTION)
|
||||
|
Reference in New Issue
Block a user