diff options
author | celestar <celestar@openttd.org> | 2006-12-27 12:38:02 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-12-27 12:38:02 +0000 |
commit | d95e2c2dd10a0dfc1704962a68a2bd32b635d158 (patch) | |
tree | 28100daed109de06e979123edd0601487ecc8261 /rail_map.h | |
parent | d92103d6ff97ae413e2e6eae602e04b05addaf17 (diff) | |
download | openttd-d95e2c2dd10a0dfc1704962a68a2bd32b635d158.tar.xz |
(svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)
Diffstat (limited to 'rail_map.h')
-rw-r--r-- | rail_map.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/rail_map.h b/rail_map.h index c3bfc9681..902d4e6a4 100644 --- a/rail_map.h +++ b/rail_map.h @@ -87,11 +87,6 @@ static inline RailType GetRailTypeCrossing(TileIndex t) return (RailType)GB(_m[t].m4, 0, 4); } -static inline RailType GetRailTypeOnBridge(TileIndex t) -{ - return (RailType)GB(_m[t].m3, 4, 4); -} - static inline void SetRailType(TileIndex t, RailType r) { SB(_m[t].m3, 0, 4, r); @@ -103,11 +98,6 @@ static inline void SetRailTypeCrossing(TileIndex t, RailType r) SB(_m[t].m4, 0, 4, r); } -static inline void SetRailTypeOnBridge(TileIndex t, RailType r) -{ - SB(_m[t].m3, 4, 4, r); -} - static inline TrackBits GetTrackBits(TileIndex tile) { |