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

Function updateEnd2

src/OpenLoco/src/Intro.cpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 static void updateEnd2([[maybe_unused]] Gfx::DrawingContext& drawingCtx)
44 {
45 _state = State::none;
46 Gfx::loadDefaultPalette();
47 Gfx::invalidateScreen();
48 resetSubsystems();
49 Gui::init();
50 Title::reset();
51 }
52
53 static void updateNone([[maybe_unused]] Gfx::DrawingContext& drawingCtx) {}
54

Callers 1

updateFunction · 0.85

Calls 5

loadDefaultPaletteFunction · 0.85
invalidateScreenFunction · 0.85
resetSubsystemsFunction · 0.85
initFunction · 0.70
resetFunction · 0.70

Tested by

no test coverage detected