tile.h
changeset 1749 711c154a1fb7
parent 1394 79cb56d80a3a
child 1852 a7f9f961c5e1
--- a/tile.h	Mon May 02 18:22:16 2005 +0000
+++ b/tile.h	Mon May 02 18:53:06 2005 +0000
@@ -18,6 +18,18 @@
 	MP_UNMOVABLE
 } TileType;
 
+/* XXX: This should be moved out to a new file (rail.h) along with some other
+ * cleanups. I'll do that after 0.4) */
+typedef enum {
+	RAILTYPE_RAIL   = 0,
+	RAILTYPE_MONO   = 1,
+	RAILTYPE_MAGLEV = 2,
+	RAILTYPE_END,
+	RAILTYPE_MASK   = 0x3,
+	INVALID_RAILTYPE = 0xFF,
+} RailType;
+
+
 void SetMapExtraBits(TileIndex tile, byte flags);
 uint GetMapExtraBits(TileIndex tile);