MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / trackCircuitIteratorsMatch

Function trackCircuitIteratorsMatch

src/openrct2/ride/TrackIteration.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 bool trackCircuitIteratorsMatch(const TrackCircuitIterator* firstIt, const TrackCircuitIterator* secondIt)
87 {
88 return (
89 firstIt->currentZ == secondIt->currentZ && firstIt->currentDirection == secondIt->currentDirection
90 && firstIt->current.x == secondIt->current.x && firstIt->current.y == secondIt->current.y);
91 }
92
93 void trackGetBack(const CoordsXYE& input, CoordsXYE* output)
94 {

Callers 4

findTrackGapFunction · 0.85
RideGetTrackLengthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected