diff options
author | rubidium <rubidium@openttd.org> | 2006-08-22 14:38:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-08-22 14:38:37 +0000 |
commit | 908d3bcfe6912b5e6270453bd6c3db8862a4d62b (patch) | |
tree | 2a3621a92a3d30384ea51e0898d08f035a559915 /rail_map.h | |
parent | 7ba3ea5f29b1c23a001a31dec5570c383a72861a (diff) | |
download | openttd-908d3bcfe6912b5e6270453bd6c3db8862a4d62b.tar.xz |
(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Diffstat (limited to 'rail_map.h')
-rw-r--r-- | rail_map.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/rail_map.h b/rail_map.h index cf099b53b..d4f0a0386 100644 --- a/rail_map.h +++ b/rail_map.h @@ -217,7 +217,7 @@ static inline bool IsSignalPresent(TileIndex t, byte signalbit) * normal boolean evaluation, since that will make future additions easier. */ typedef enum SignalStates { - SIGNAL_STATE_RED = 0, + SIGNAL_STATE_RED = 0, SIGNAL_STATE_GREEN = 1, } SignalState; @@ -280,19 +280,19 @@ RailType GetTileRailType(TileIndex tile, Trackdir trackdir); typedef enum RailGroundType { - RAIL_GROUND_BARREN = 0, - RAIL_GROUND_GRASS = 1, - RAIL_GROUND_FENCE_NW = 2, - RAIL_GROUND_FENCE_SE = 3, - RAIL_GROUND_FENCE_SENW = 4, - RAIL_GROUND_FENCE_NE = 5, - RAIL_GROUND_FENCE_SW = 6, - RAIL_GROUND_FENCE_NESW = 7, - RAIL_GROUND_FENCE_VERT1 = 8, - RAIL_GROUND_FENCE_VERT2 = 9, + RAIL_GROUND_BARREN = 0, + RAIL_GROUND_GRASS = 1, + RAIL_GROUND_FENCE_NW = 2, + RAIL_GROUND_FENCE_SE = 3, + RAIL_GROUND_FENCE_SENW = 4, + RAIL_GROUND_FENCE_NE = 5, + RAIL_GROUND_FENCE_SW = 6, + RAIL_GROUND_FENCE_NESW = 7, + RAIL_GROUND_FENCE_VERT1 = 8, + RAIL_GROUND_FENCE_VERT2 = 9, RAIL_GROUND_FENCE_HORIZ1 = 10, RAIL_GROUND_FENCE_HORIZ2 = 11, - RAIL_GROUND_ICE_DESERT = 12, + RAIL_GROUND_ICE_DESERT = 12, } RailGroundType; static inline void SetRailGroundType(TileIndex t, RailGroundType rgt) |