/** * 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 */ public static void MakeRailWaypoint(this TileIndex t, Owner o, StationID sid, Axis a, byte section, RailType rt) { MakeStation(t, o, sid, StationType.STATION_WAYPOINT, section + a); t.SetRailType(rt); SetRailStationReservation(t, false); }