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

Function rotateView

src/OpenLoco/src/Input/Shortcuts.cpp:94–106  ·  view source on GitHub ↗

0x004BF12C

Source from the content-addressed store, hash-verified

92
93 // 0x004BF12C
94 static void rotateView()
95 {
96 Window* main = WindowManager::getMainWindow();
97 if (main == nullptr)
98 {
99 return;
100 }
101
102 main->viewportRotateRight();
103 TownManager::updateLabels();
104 StationManager::updateLabels();
105 Windows::MapWindow::centerOnViewPoint();
106 }
107
108 // 0x004BF148
109 static void rotateConstructionObject()

Callers

nothing calls this directly

Calls 4

getMainWindowFunction · 0.85
centerOnViewPointFunction · 0.85
viewportRotateRightMethod · 0.80
updateLabelsFunction · 0.50

Tested by

no test coverage detected