From c2387dbf3c938a11f735a715db5f9744c2400473 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 18 Jun 2014 09:23:39 +0300 Subject: FULLPIPE: Implemented ModalIntro::update() --- engines/fullpipe/modal.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'engines/fullpipe/modal.cpp') diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp index 6f99200529..6777ed987e 100644 --- a/engines/fullpipe/modal.cpp +++ b/engines/fullpipe/modal.cpp @@ -198,11 +198,9 @@ bool ModalIntro::init(int counterdiff) { } void ModalIntro::update() { - warning("STUB: ModalIntro::update()"); - if (g_fp->_currentScene) { if (_introFlags & 1) { - //sceneFade(virt, g_currentScene, 1); + g_fp->sceneFade(g_fp->_currentScene, true); _stillRunning = 255; _introFlags &= 0xfe; @@ -210,12 +208,12 @@ void ModalIntro::update() { g_fp->playSound(SND_INTR_019, 0); } else if (_introFlags & 2) { if (g_vars->sceneIntro_needBlackout) { - //vrtRectangle(*(_DWORD *)virt, 0, 0, 0, 800, 600); + g_fp->drawAlphaRectangle(0, 0, 800, 600, 0); g_vars->sceneIntro_needBlackout = 0; _stillRunning = 0; _introFlags &= 0xfd; } else { - //sceneFade(virt, g_currentScene, 0); + g_fp->sceneFade(g_fp->_currentScene, false); _stillRunning = 0; _introFlags &= 0xfd; } -- cgit v1.2.3