diff options
author | Eugene Sandulenko | 2014-06-18 09:23:39 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-06-18 09:37:36 +0300 |
commit | c2387dbf3c938a11f735a715db5f9744c2400473 (patch) | |
tree | ae4f32da2a5e430775b2cfddabb860fef9ca6e72 | |
parent | 5a8b613a97c63a3cb354f05eab6a5460d4ea45a6 (diff) | |
download | scummvm-rg350-c2387dbf3c938a11f735a715db5f9744c2400473.tar.gz scummvm-rg350-c2387dbf3c938a11f735a715db5f9744c2400473.tar.bz2 scummvm-rg350-c2387dbf3c938a11f735a715db5f9744c2400473.zip |
FULLPIPE: Implemented ModalIntro::update()
-rw-r--r-- | engines/fullpipe/modal.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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; } |