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

Method Briefing_Show_Ready

Source/Fodder.cpp:10238–10269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10236}
10237
10238void cFodder::Briefing_Show_Ready() {
10239
10240 if (mVersionCurrent->isDemo() && !mGame_Data.mCampaign.isCustom() && !mGame_Data.mCampaign.isRandom())
10241 return;
10242
10243 mGraphics->SetActiveSpriteSheet(eGFX_BRIEFING);
10244
10245 Briefing_Draw_Mission_Title(0x2C);
10246 Briefing_Draw_Phase();
10247 Briefing_Draw_With();
10248
10249 mSurface->Save();
10250 mMouse_Exit_Loop = false;
10251
10252 do {
10253 Music_Increase_Channel_Volume();
10254
10255 if (mPhase_Aborted) {
10256 mBriefing_Aborted = -1;
10257 mMouseButtonStatus = -1;
10258 break;
10259 }
10260
10261 Video_Sleep();
10262
10263 } while (!mMouse_Exit_Loop);
10264
10265 mMouse_Exit_Loop = false;
10266
10267 Image_FadeOut();
10268 Mouse_Setup();
10269}
10270
10271void cFodder::Briefing_Draw_With() {
10272 std::stringstream With;

Callers

nothing calls this directly

Calls 5

isDemoMethod · 0.80
SaveMethod · 0.80
isCustomMethod · 0.45
isRandomMethod · 0.45
SetActiveSpriteSheetMethod · 0.45

Tested by

no test coverage detected