summaryrefslogtreecommitdiff
path: root/ttd.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-29 15:12:40 +0000
committertron <tron@openttd.org>2005-01-29 15:12:40 +0000
commit97ae59fe1a0248b95dbfff27f84cfeb87742f050 (patch)
treee38584a427c9b3f39a3b8dc39ada303239edb4fa /ttd.h
parent797355cb7ea1e4e33b20a64bdb3de6b1a492eeab (diff)
downloadopenttd-97ae59fe1a0248b95dbfff27f84cfeb87742f050.tar.xz
(svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int.
This makes it necessary to rename TileType() to GetTileType() because a type and a function may not share the same name.
Diffstat (limited to 'ttd.h')
-rw-r--r--ttd.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/ttd.h b/ttd.h
index af8033f27..9e9127156 100644
--- a/ttd.h
+++ b/ttd.h
@@ -86,20 +86,6 @@ enum SwitchModes {
SM_START_SCENARIO = 10,
};
-enum MapTileTypes {
- MP_CLEAR,
- MP_RAILWAY,
- MP_STREET,
- MP_HOUSE,
- MP_TREES,
- MP_STATION,
- MP_WATER,
- MP_VOID, // invisible tiles at the SW and SE border
- MP_INDUSTRY,
- MP_TUNNELBRIDGE,
- MP_UNMOVABLE
-};
-
typedef enum TransportTypes {
/* These constants are for now linked to the representation of bridges
* and tunnels, so they can be used by GetTileTrackStatus_TunnelBridge