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

Function zoomViewOut

src/OpenLoco/src/Input/Shortcuts.cpp:66–77  ·  view source on GitHub ↗

0x004BF0FE

Source from the content-addressed store, hash-verified

64
65 // 0x004BF0FE
66 static void zoomViewOut()
67 {
68 Window* main = WindowManager::getMainWindow();
69 if (main == nullptr)
70 {
71 return;
72 }
73
74 main->viewportZoomOut(false);
75 TownManager::updateLabels();
76 StationManager::updateLabels();
77 }
78
79 // 0x004BF115
80 static void zoomViewIn()

Callers

nothing calls this directly

Calls 3

getMainWindowFunction · 0.85
viewportZoomOutMethod · 0.80
updateLabelsFunction · 0.50

Tested by

no test coverage detected