From 0f874f69797c7872a407a008ae4650557b769f36 Mon Sep 17 00:00:00 2001 From: nukeykt Date: Thu, 21 Nov 2019 03:13:34 +0900 Subject: [PATCH] Disable intro fade effects for opengl mode --- source/exhumed/src/exhumed.cpp | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/source/exhumed/src/exhumed.cpp b/source/exhumed/src/exhumed.cpp index ceb146282..e2a138059 100644 --- a/source/exhumed/src/exhumed.cpp +++ b/source/exhumed/src/exhumed.cpp @@ -3200,18 +3200,21 @@ void DoTitle() videoSetViewableArea(0, 0, xdim - 1, ydim - 1); - BlackOut(); + if (videoGetRenderMode() == REND_CLASSIC) + BlackOut(); overwritesprite(0, 0, kPublisherLogo, 0, 2, kPalNormal); videoNextPage(); - FadeIn(); + if (videoGetRenderMode() == REND_CLASSIC) + FadeIn(); ClearAllKeys(); WaitAnyKey(2); - FadeOut(0); + if (videoGetRenderMode() == REND_CLASSIC) + FadeOut(0); SetOverscan(BASEPAL); @@ -3220,17 +3223,20 @@ void DoTitle() overwritesprite(0, 0, nScreenTile, 0, 2, kPalNormal); videoNextPage(); - FadeIn(); + if (videoGetRenderMode() == REND_CLASSIC) + FadeIn(); PlayLogoSound(); WaitAnyKey(2); - FadeOut(0); + if (videoGetRenderMode() == REND_CLASSIC) + FadeOut(0); ClearAllKeys(); PlayMovie("book.mov"); - FadeOut(0); + if (videoGetRenderMode() == REND_CLASSIC) + FadeOut(0); SetOverscan(BASEPAL); GrabPalette();