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 | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/water_map.h | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/water_map.h')
-rw-r--r-- | src/water_map.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/water_map.h b/src/water_map.h index 26bd92f2b..1f769c9af 100644 --- a/src/water_map.h +++ b/src/water_map.h @@ -3,25 +3,25 @@ #ifndef WATER_MAP_H #define WATER_MAP_H -typedef enum WaterTileType { +enum WaterTileType { WATER_TILE_CLEAR, WATER_TILE_COAST, WATER_TILE_LOCK, WATER_TILE_DEPOT, -} WaterTileType; +}; -typedef enum DepotPart { +enum DepotPart { DEPOT_NORTH = 0x80, DEPOT_SOUTH = 0x81, DEPOT_END = 0x84, -} DepotPart; +}; -typedef enum LockPart { +enum LockPart { LOCK_MIDDLE = 0x10, LOCK_LOWER = 0x14, LOCK_UPPER = 0x18, LOCK_END = 0x1C -} LockPart; +}; static inline WaterTileType GetWaterTileType(TileIndex t) { |