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

Function noViewportPresent

src/OpenLoco/src/Ui/Windows/CompanyWindow.cpp:474–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472 }
473
474 static void noViewportPresent(Window* const self, const SavedView& view)
475 {
476 ViewportFlags vpFlags = ViewportFlags::none;
477 if (Config::get().gridlinesOnLandscape)
478 {
479 vpFlags |= ViewportFlags::gridlines_on_landscape;
480 }
481 sub_434223(self, view, vpFlags);
482 }
483
484 static void invalidViewport(Window* const self)
485 {

Callers 1

viewportRotateFunction · 0.85

Calls 2

sub_434223Function · 0.85
getFunction · 0.50

Tested by

no test coverage detected