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

Method intro_main

Source/Fodder.cpp:19184–19208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19182}
19183
19184void cFodder::intro_main() {
19185 if (!mIntroDone) {
19186 mImage_Aborted = 0;
19187 mVersionPlatformSwitchDisabled = true;
19188
19189 if (!mParams->mSkipIntro) {
19190 mWindow->SetScreenSize(mVersionCurrent->GetSecondScreenSize());
19191
19192 // Show the intro for retail releases (and the PC Format demo)
19193 if (mVersionCurrent->isRetail() || mVersionCurrent->isPCFormat()) {
19194 intro_Retail();
19195 }
19196 else {
19197 // Amiga The One has an intro too
19198 if (mVersionCurrent->isAmigaTheOne()) {
19199 intro_AmigaTheOne();
19200 }
19201 }
19202 }
19203
19204 mGraphics->Load_pStuff();
19205 mVersionPlatformSwitchDisabled = false;
19206 mIntroDone = true;
19207 }
19208}
19209
19210void cFodder::MapTiles_Draw() {
19211 mMapTile_ColumnOffset = 0;

Callers

nothing calls this directly

Calls 6

SetScreenSizeMethod · 0.80
GetSecondScreenSizeMethod · 0.80
isRetailMethod · 0.80
isPCFormatMethod · 0.80
isAmigaTheOneMethod · 0.80
Load_pStuffMethod · 0.45

Tested by

no test coverage detected