MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / rad

Method rad

src/OpenLoco/src/Vehicles/Routing.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 TrackAndDirection::_RoadAndDirection rad() const
58 {
59 return TrackAndDirection::_RoadAndDirection((trackAndDirection & 0x78) >> 3, trackAndDirection & 0x7);
60 }
61 };
62
63 // Note: This is not binary identical to vanilla so cannot be hooked!

Callers 4

findAllUsableRoadPiecesFunction · 0.80
applyRoadModToRoadFunction · 0.80
removeRoadModToTrackFunction · 0.80

Calls 1

_RoadAndDirectionClass · 0.85

Tested by

no test coverage detected