@@ -434,4 +434,13 @@ static inline bool HasSemaphores(TileInd
return (_map3_hi[tile] & SIG_SEMAPHORE_MASK);
}
/**
* Return the rail type of tile, or INVALID_RAILTYPE if this is no rail tile.
* Note that there is no check if the given trackdir is actually present on
* the tile!
* The given trackdir is used when there are (could be) multiple rail types on
* one tile.
*/
RailType GetTileRailType(TileIndex tile, byte trackdir);
#endif // RAIL_H