(svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)
This commit is contained in:
10
rail_map.h
10
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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user