diff options
Diffstat (limited to 'road.h')
-rw-r--r-- | road.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -20,6 +20,11 @@ static inline RoadBits GetRoadBits(TileIndex tile) return GB(_m[tile].m5, 0, 4); } +static inline RoadBits GetCrossingRoadBits(TileIndex tile) +{ + return _m[tile].m5 & 8 ? ROAD_Y : ROAD_X; +} + typedef enum RoadType { ROAD_NORMAL, ROAD_CROSSING, |