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

Method Briefing_Show_PreReady

Source/Fodder.cpp:10218–10236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10216}
10217
10218void cFodder::Briefing_Show_PreReady() {
10219
10220 if (mVersionCurrent->isDemo() && !mGame_Data.mCampaign.isCustom() && !mGame_Data.mCampaign.isRandom())
10221 return;
10222
10223 if (!mVersionCurrent->hasGfx(eGFX_BRIEFING) && !mGame_Data.mCampaign.isRandom())
10224 VersionSwitch(mVersionDefault);
10225
10226 mWindow->SetScreenSize(mVersionCurrent->GetScreenSize());
10227 mSurface->clearBuffer();
10228 mGraphics->PaletteSet();
10229
10230 mGraphics->SetActiveSpriteSheet(eGFX_BRIEFING);
10231
10232 Briefing_Draw_Mission_Title(0x2C);
10233 Briefing_Draw_Phase();
10234
10235 Image_FadeIn();
10236}
10237
10238void cFodder::Briefing_Show_Ready() {
10239

Callers

nothing calls this directly

Calls 9

isDemoMethod · 0.80
hasGfxMethod · 0.80
SetScreenSizeMethod · 0.80
clearBufferMethod · 0.80
isCustomMethod · 0.45
isRandomMethod · 0.45
GetScreenSizeMethod · 0.45
PaletteSetMethod · 0.45
SetActiveSpriteSheetMethod · 0.45

Tested by

no test coverage detected