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

Method getRotation

src/OpenLoco/src/Viewport.cpp:32–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30namespace OpenLoco::Ui
31{
32 int Viewport::getRotation() const
33 {
34 return WindowManager::getCurrentRotation(); // Eventually this should become a variable of the viewport
35 }
36
37 void Viewport::setRotation(int32_t value)
38 {

Callers 15

getMapCoordinatesFromPosFunction · 0.45
getSurfaceLocFromUiFunction · 0.45
viewportRotateMethod · 0.45
createViewportFunction · 0.45
getRoadProgressAtCursorFunction · 0.45
getTrackProgressAtCursorFunction · 0.45
initViewportFunction · 0.45
initViewportFunction · 0.45
initViewportFunction · 0.45

Calls 1

getCurrentRotationFunction · 0.85

Tested by

no test coverage detected