| 16925 | } |
| 16926 | |
| 16927 | void cFodder::WonGame() { |
| 16928 | |
| 16929 | if (mParams->mSinglePhase) |
| 16930 | return; |
| 16931 | |
| 16932 | mMouseX = -1; |
| 16933 | mMouseY = -1; |
| 16934 | |
| 16935 | mWindow->SetScreenSize(mVersionCurrent->GetSecondScreenSize()); |
| 16936 | |
| 16937 | if (mVersionCurrent->isAmigaTheOne()) { |
| 16938 | // mGraphics->Load_And_Draw_Image("PRETENTIOUS2", 0x100); |
| 16939 | mGraphics->Load_And_Draw_Image("PRETENTIOUS3", 0x100); |
| 16940 | } else { |
| 16941 | Music_Play(17); |
| 16942 | mGraphics->Load_And_Draw_Image("WON", 0x100); |
| 16943 | } |
| 16944 | |
| 16945 | Image_FadeIn(); |
| 16946 | mMouse_Exit_Loop = false; |
| 16947 | |
| 16948 | for (int count = 10000; count >= 0; --count) { |
| 16949 | Video_Sleep(); |
| 16950 | |
| 16951 | if (mPhase_Aborted || mMouse_Exit_Loop) |
| 16952 | break; |
| 16953 | } |
| 16954 | |
| 16955 | Image_FadeOut(); |
| 16956 | |
| 16957 | mWindow->SetScreenSize(mVersionCurrent->GetScreenSize()); |
| 16958 | } |
| 16959 | |
| 16960 | int16 cFodder::Sprite_Handle_Troop_Get_Frame_For_Direction(sSprite* pSprite) { |
| 16961 | int16 FrameNumber = pSprite->field_10; |
nothing calls this directly
no test coverage detected