MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / EngineSetup

Method EngineSetup

Source/UnitTesting.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53}
54void cUnitTesting::EngineSetup() {
55 g_Fodder->mIntroDone = false;
56
57 g_Fodder->mSurface->palette_SetToBlack();
58 g_Fodder->mSurface->paletteNew_SetToBlack();
59 g_Fodder->mSurface->surfaceSetToPalette();
60 g_Fodder->mSurface->resetPaletteAdjusting();
61
62 g_Fodder->mPhase_TryingAgain = false;
63 g_Fodder->Mouse_Setup();
64}
65
66void cUnitTesting::setDemoName() {
67 // Set demo file name

Callers

nothing calls this directly

Calls 5

palette_SetToBlackMethod · 0.80
paletteNew_SetToBlackMethod · 0.80
surfaceSetToPaletteMethod · 0.80
resetPaletteAdjustingMethod · 0.80
Mouse_SetupMethod · 0.80

Tested by

no test coverage detected