* Make the given tile a rail waypoint tile. * @param t the tile to make a rail waypoint * @param o the owner of the waypoint * @param sid the waypoint to which this tile belongs * @param a the axis of this tile * @param section the StationGfx to be used for this tile * @param rt the railtype of this tile */
| 757 | * @param rt the railtype of this tile |
| 758 | */ |
| 759 | inline void MakeRailWaypoint(Tile t, Owner o, StationID sid, Axis a, uint8_t section, RailType rt) |
| 760 | { |
| 761 | MakeStation(t, o, sid, StationType::RailWaypoint, section + a); |
| 762 | SetRailType(t, rt); |
| 763 | SetRailStationReservation(t, false); |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * Make the given tile a roadstop tile. |
no test coverage detected