summaryrefslogtreecommitdiff
path: root/src/road_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/road_map.h')
-rw-r--r--src/road_map.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/road_map.h b/src/road_map.h
index 62f125dbb..bbc7b01e2 100644
--- a/src/road_map.h
+++ b/src/road_map.h
@@ -260,6 +260,7 @@ enum DisallowedRoadDirections {
DRD_END
};
DECLARE_ENUM_AS_BIT_SET(DisallowedRoadDirections)
+/** Helper information for extract tool. */
template <> struct EnumPropsT<DisallowedRoadDirections> : MakeEnumPropsT<DisallowedRoadDirections, byte, DRD_NONE, DRD_END, DRD_END, 2> {};
/**
@@ -311,7 +312,7 @@ static inline Axis GetCrossingRailAxis(TileIndex t)
/**
* Get the road bits of a level crossing.
- * @param t The tile to query.
+ * @param tile The tile to query.
* @return The present road bits.
*/
static inline RoadBits GetCrossingRoadBits(TileIndex tile)
@@ -321,7 +322,7 @@ static inline RoadBits GetCrossingRoadBits(TileIndex tile)
/**
* Get the rail track of a level crossing.
- * @param t The tile to query.
+ * @param tile The tile to query.
* @return The rail track.
*/
static inline Track GetCrossingRailTrack(TileIndex tile)
@@ -331,7 +332,7 @@ static inline Track GetCrossingRailTrack(TileIndex tile)
/**
* Get the rail track bits of a level crossing.
- * @param t The tile to query.
+ * @param tile The tile to query.
* @return The rail track bits.
*/
static inline TrackBits GetCrossingRailBits(TileIndex tile)