10#ifndef WAYPOINT_FUNC_H
11#define WAYPOINT_FUNC_H
Common return value for all commands.
Types related to commands.
Axis
Allow incrementing of DiagDirDiff variables.
Header file for NewGRF stations.
PoolID< uint16_t, struct StationClassIDTag, UINT16_MAX, UINT16_MAX > StationClassID
Class IDs for stations.
The different types of rail.
RailType
Enumeration for all possible railtypes.
Types related to stations.
Representation of a waypoint.
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.
Axis GetAxisForNewRailWaypoint(TileIndex tile)
Get the axis for a new rail waypoint.
Axis GetAxisForNewRoadWaypoint(TileIndex tile)
Get the axis for a new road waypoint.
CommandCost RemoveBuoy(TileIndex tile, DoCommandFlags flags)
Remove a buoy.
void DrawWaypointSprite(int x, int y, StationClassID station_class, uint16_t station_type, RailType railtype)
Draw a waypoint.
void ShowWaypointWindow(const Waypoint *wp)
Show the window for the given waypoint.