diff options
author | matthijs <matthijs@openttd.org> | 2005-05-02 18:53:06 +0000 |
---|---|---|
committer | matthijs <matthijs@openttd.org> | 2005-05-02 18:53:06 +0000 |
commit | 3b3a2b890f82c8978f8d0f4579ba8372a9925af4 (patch) | |
tree | 3803f1b217464299f3576f9ba97efb8df19e66d9 /tile.h | |
parent | 5a35c8cc4e6598a98f6c78c4126fd7d12cd9e46e (diff) | |
download | openttd-3b3a2b890f82c8978f8d0f4579ba8372a9925af4.tar.xz |
(svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx)
Diffstat (limited to 'tile.h')
-rw-r--r-- | tile.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -18,6 +18,18 @@ typedef enum TileType { 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); |