summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-03-07 12:11:48 +0000
commit24c4d5b06d231785db01500360c26815d8fe4d15 (patch)
tree757477dbdc02025cc29690a4e66e40f872cab02b /src/station_map.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.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.h8
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);