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

Method intro_Retail

Source/Fodder.cpp:16788–16825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16786}
16787
16788void cFodder::intro_Retail() {
16789
16790 // Disabled: GOG CD Version doesn't require the game manual check
16791 CopyProtection();
16792 mGraphics->Load_Sprite_Font();
16793
16794 Music_Play(CANNON_BASED(16, 20));
16795 Music_SetFullVolume();
16796
16797 if (mVersionCurrent->isCannonFodder1())
16798 intro_LegionMessage();
16799
16800 if (mVersionCurrent->isCannonFodder2())
16801 sleepLoop(1000);
16802
16803 mPhase_Aborted = false;
16804
16805 if (ShowImage_ForDuration("cftitle", CANNON_BASED(0x177, 0x280)))
16806 return;
16807
16808 if (intro_Play()) {
16809
16810 while (Music_Decrease_Channel_Volume()) {
16811 sleepLoop(1);
16812 }
16813
16814 return;
16815 }
16816
16817 if (ShowImage_ForDuration("virgpres", 0x15E))
16818 return;
16819
16820 if (ShowImage_ForDuration("sensprod", 0x15E))
16821 return;
16822
16823 if (ShowImage_ForDuration("cftitle", 0x258))
16824 return;
16825}
16826
16827void cFodder::intro_AmigaTheOne() {
16828 static bool ShownWarning = false;

Callers

nothing calls this directly

Calls 3

isCannonFodder1Method · 0.80
isCannonFodder2Method · 0.80
Load_Sprite_FontMethod · 0.45

Tested by

no test coverage detected