(svn r5155) - Remove the bridge branch merge (revision r5070)
This commit is contained in:
10
rail_map.h
10
rail_map.h
@@ -81,6 +81,11 @@ 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);
|
||||
@@ -92,6 +97,11 @@ 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);
|
||||
}
|
||||
|
||||
|
||||
/** These are used to specify a single track.
|
||||
* Can be translated to a trackbit with TrackToTrackbit */
|
||||
|
||||
Reference in New Issue
Block a user