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

Function zoomViewIn

src/OpenLoco/src/Input/Shortcuts.cpp:80–91  ·  view source on GitHub ↗

0x004BF115

Source from the content-addressed store, hash-verified

78
79 // 0x004BF115
80 static void zoomViewIn()
81 {
82 Window* main = WindowManager::getMainWindow();
83 if (main == nullptr)
84 {
85 return;
86 }
87
88 main->viewportZoomIn(false);
89 TownManager::updateLabels();
90 StationManager::updateLabels();
91 }
92
93 // 0x004BF12C
94 static void rotateView()

Callers

nothing calls this directly

Calls 3

getMainWindowFunction · 0.85
viewportZoomInMethod · 0.80
updateLabelsFunction · 0.50

Tested by

no test coverage detected