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

Method getSlopeDirection

src/openrct2/ride/TrackDesign.cpp:2023–2026  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2021}
2022
2023Direction TrackDesignSceneryElement::getSlopeDirection() const
2024{
2025 return (flags >> 5) % kNumOrthogonalDirections;
2026}
2027
2028void TrackDesignSceneryElement::setSlopeDirection(Direction slope)
2029{

Callers 3

TrackDesignMirrorSceneryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected