diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 979ccd45baa9a38169661ba379a341cae8619c3b (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/station_map.h | |
parent | 4169bfba0604b33bad92389bd3eb6f9acde89f49 (diff) | |
download | openttd-979ccd45baa9a38169661ba379a341cae8619c3b.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/station_map.h')
-rw-r--r-- | src/station_map.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/station_map.h b/src/station_map.h index f71fd217a..527a0e5e1 100644 --- a/src/station_map.h +++ b/src/station_map.h @@ -58,16 +58,16 @@ enum { BUS_SIZE_EXT = GFX_BASE_END - GFX_BUS_BASE_EXT, }; -typedef enum HangarTiles { +enum HangarTile { HANGAR_TILE_0 = 32, HANGAR_TILE_1 = 65, HANGAR_TILE_2 = 86, HANGAR_TILE_3 = 129, // added for west facing hangar HANGAR_TILE_4 = 130, // added for north facing hangar HANGAR_TILE_5 = 131 // added for east facing hangar -} HangarTiles; +}; -typedef enum StationType { +enum StationType { STATION_RAIL, STATION_AIRPORT, STATION_TRUCK, @@ -75,7 +75,7 @@ typedef enum StationType { STATION_OILRIG, STATION_DOCK, STATION_BUOY -} StationType; +}; StationType GetStationType(TileIndex); |