summaryrefslogtreecommitdiff
path: root/src/tile.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/tile.h
parent36bb92ae241403d61dc7a3e5a1696b615be61395 (diff)
downloadopenttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/tile.h')
-rw-r--r--src/tile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tile.h b/src/tile.h
index ac7eb93a7..7894bb514 100644
--- a/src/tile.h
+++ b/src/tile.h
@@ -8,7 +8,7 @@
#include "map.h"
#include "slope.h"
-typedef enum TileTypes {
+enum TileType {
MP_CLEAR,
MP_RAILWAY,
MP_STREET,
@@ -20,13 +20,13 @@ typedef enum TileTypes {
MP_INDUSTRY,
MP_TUNNELBRIDGE,
MP_UNMOVABLE,
-} TileType;
+};
-typedef enum TropicZones {
+enum TropicZone {
TROPICZONE_INVALID = 0,
TROPICZONE_DESERT = 1,
TROPICZONE_RAINFOREST = 2,
-} TropicZone;
+};
Slope GetTileSlope(TileIndex tile, uint *h);
uint GetTileZ(TileIndex tile);