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

Function initialise

src/OpenLoco/src/Graphics/Gfx.cpp:212–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210 }
211
212 void initialise()
213 {
214 initialiseCharacterWidths();
215
216 loadDefaultPalette();
217
218 auto& drawingEngine = getDrawingEngine();
219 auto& drawingCtx = drawingEngine.getDrawingContext();
220 drawingCtx.clearSingle(PaletteIndex::black0);
221 }
222
223 // 0x004CD406
224 void invalidateScreen()

Callers 1

importSaveToGameStateFunction · 0.50

Calls 3

loadDefaultPaletteFunction · 0.85
clearSingleMethod · 0.80

Tested by

no test coverage detected