| 18758 | } |
| 18759 | |
| 18760 | void cFodder::Window_UpdateScreenSize() { |
| 18761 | |
| 18762 | // We can override the window |
| 18763 | mWindow->SetScreenSize(getWindowSize()); |
| 18764 | mWindow->SetOriginalRes(getWindowSize()); |
| 18765 | |
| 18766 | |
| 18767 | // This next section is done |
| 18768 | // |
| 18769 | // If we're playing back a demo |
| 18770 | if (mParams->mDemoPlayback && g_Fodder->mVersionCurrent) { |
| 18771 | // And the current platform, does not match the platform the demo was recorded with |
| 18772 | if (mGame_Data.mDemoRecorded.mRecordedPlatform != mVersionCurrent->mPlatform && mGame_Data.mDemoRecorded.mRecordedPlatform != ePlatform::Any ) { |
| 18773 | // Alter the screen size, to the other platforms |
| 18774 | switch (mGame_Data.mDemoRecorded.mRecordedPlatform) { |
| 18775 | case ePlatform::Amiga: // Viewing Amiga recording on PC Data |
| 18776 | mWindow->SetScreenSize({ 320,225 }); |
| 18777 | break; |
| 18778 | case ePlatform::PC: // Viewing PC recording on Amiga Data |
| 18779 | mWindow->SetScreenSize({ 320,200 }); |
| 18780 | break; |
| 18781 | case ePlatform::Any: |
| 18782 | break; |
| 18783 | } |
| 18784 | } |
| 18785 | } |
| 18786 | } |
| 18787 | |
| 18788 | void cFodder::About() { |
| 18789 |
nothing calls this directly
no test coverage detected