Disable intro fade effects for opengl mode

This commit is contained in:
nukeykt 2019-11-21 03:13:34 +09:00 committed by Christoph Oelckers
parent 27a3945583
commit 0f874f6979

View file

@ -3200,18 +3200,21 @@ void DoTitle()
videoSetViewableArea(0, 0, xdim - 1, ydim - 1); videoSetViewableArea(0, 0, xdim - 1, ydim - 1);
BlackOut(); if (videoGetRenderMode() == REND_CLASSIC)
BlackOut();
overwritesprite(0, 0, kPublisherLogo, 0, 2, kPalNormal); overwritesprite(0, 0, kPublisherLogo, 0, 2, kPalNormal);
videoNextPage(); videoNextPage();
FadeIn(); if (videoGetRenderMode() == REND_CLASSIC)
FadeIn();
ClearAllKeys(); ClearAllKeys();
WaitAnyKey(2); WaitAnyKey(2);
FadeOut(0); if (videoGetRenderMode() == REND_CLASSIC)
FadeOut(0);
SetOverscan(BASEPAL); SetOverscan(BASEPAL);
@ -3220,17 +3223,20 @@ void DoTitle()
overwritesprite(0, 0, nScreenTile, 0, 2, kPalNormal); overwritesprite(0, 0, nScreenTile, 0, 2, kPalNormal);
videoNextPage(); videoNextPage();
FadeIn(); if (videoGetRenderMode() == REND_CLASSIC)
FadeIn();
PlayLogoSound(); PlayLogoSound();
WaitAnyKey(2); WaitAnyKey(2);
FadeOut(0); if (videoGetRenderMode() == REND_CLASSIC)
FadeOut(0);
ClearAllKeys(); ClearAllKeys();
PlayMovie("book.mov"); PlayMovie("book.mov");
FadeOut(0); if (videoGetRenderMode() == REND_CLASSIC)
FadeOut(0);
SetOverscan(BASEPAL); SetOverscan(BASEPAL);
GrabPalette(); GrabPalette();