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

Function getTrackSubPositon

src/OpenLoco/src/Map/Track/SubpositionData.cpp:18933–18936  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18931 }
18932
18933 std::span<const MoveInfo> getTrackSubPositon(const uint16_t trackAndDirection)
18934 {
18935 return _4D9724[trackAndDirection];
18936 }
18937
18938 std::span<const MoveInfo> getRoadPlacementSubPositon(const uint16_t trackAndDirection)
18939 {

Callers 6

getTrackProgressAtCursorFunction · 0.85
sub_4ADB47Method · 0.85
updateTrackMotionFunction · 0.85
placeDownVehicleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected