diff options
author | tron <tron@openttd.org> | 2006-03-19 12:06:12 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-03-19 12:06:12 +0000 |
commit | 77e5cf4bc1137805a8e69e6a8ce1370af09dd8d8 (patch) | |
tree | b86bb7662c2be1ce87ebc168346f1677af2a26e4 /rail.h | |
parent | ba53ec750a05c8e0e316c8f5838cfad7f9fd13de (diff) | |
download | openttd-77e5cf4bc1137805a8e69e6a8ce1370af09dd8d8.tar.xz |
(svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles
Diffstat (limited to 'rail.h')
-rw-r--r-- | rail.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -213,14 +213,6 @@ static inline bool IsPlainRailTile(TileIndex tile) return rtt == RAIL_TYPE_NORMAL || rtt == RAIL_TYPE_SIGNALS; } -/** - * Returns the tracks present on the given plain rail tile (IsPlainRailTile()) - */ -static inline TrackBits GetTrackBits(TileIndex tile) -{ - assert(GetRailTileType(tile) == RAIL_TYPE_NORMAL || GetRailTileType(tile) == RAIL_TYPE_SIGNALS); - return (TrackBits)(_m[tile].m5 & TRACK_BIT_MASK); -} /** * Returns whether the given track is present on the given tile. Tile must be |