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

Method tad

src/OpenLoco/src/Vehicles/Routing.cpp:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 TrackAndDirection::_TrackAndDirection tad() const
53 {
54 return TrackAndDirection::_TrackAndDirection((trackAndDirection & 0x1F8) >> 3, trackAndDirection & 0x7);
55 }
56
57 TrackAndDirection::_RoadAndDirection rad() const
58 {

Callers 9

findOccupationByBlockFunction · 0.80
setSignalsOccupiedStateFunction · 0.80
sub_4A2D4CFunction · 0.80
findAllUsableTrackPiecesFunction · 0.80
setReverseSignalOccupiedFunction · 0.80
sub_4A2AA1Function · 0.80
applyTrackModToTrackFunction · 0.80
removeTrackModToTrackFunction · 0.80

Calls 1

_TrackAndDirectionClass · 0.85

Tested by

no test coverage detected