diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 19:51:52 +0000 |
commit | 5a620d1c6592057b500f0889eef8949dc1e95e4b (patch) | |
tree | dabae6247490fdea860bea292bb8eee49ce46fe4 /src/road_map.h | |
parent | 1a515e6344028854c855671c19f49d8f869eb18f (diff) | |
download | openttd-5a620d1c6592057b500f0889eef8949dc1e95e4b.tar.xz |
(svn r22406) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/road_map.h')
-rw-r--r-- | src/road_map.h | 7 |
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) |