diff options
author | Paul Gilbert | 2015-03-16 22:42:19 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-16 22:42:19 -0400 |
commit | 0ee3f1895f6b6dcf4bbb70ba309fb66d0ca39613 (patch) | |
tree | d46bcb7028a37a0eb61d7650db5ad0770d8adc87 /engines/sherlock/scalpel/scalpel.cpp | |
parent | b762bebf27ce7c231dd17fc05bc32f72911e6ed5 (diff) | |
download | scummvm-rg350-0ee3f1895f6b6dcf4bbb70ba309fb66d0ca39613.tar.gz scummvm-rg350-0ee3f1895f6b6dcf4bbb70ba309fb66d0ca39613.tar.bz2 scummvm-rg350-0ee3f1895f6b6dcf4bbb70ba309fb66d0ca39613.zip |
SHERLOCK: Beginnings of animation sequence loop
Diffstat (limited to 'engines/sherlock/scalpel/scalpel.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/engines/sherlock/scalpel/scalpel.cpp b/engines/sherlock/scalpel/scalpel.cpp index 0b651bbb69..90a93de1b1 100644 --- a/engines/sherlock/scalpel/scalpel.cpp +++ b/engines/sherlock/scalpel/scalpel.cpp @@ -45,21 +45,21 @@ void ScalpelEngine::initialize() { * Show the opening sequence */ void ScalpelEngine::showOpening() { - if (!_events->isKeyPressed()) - showCityCutscene(); - if (!_events->isKeyPressed()) - showAlleyCutscene(); - if (!_events->isKeyPressed()) - showStreetCutscene(); - if (!_events->isKeyPressed()) - showOfficeCutscene(); + if (!showCityCutscene()) + return; + if (!showAlleyCutscene()) + return; + if (!showStreetCutscene()) + return; + if (!showOfficeCutscene()) + return; _events->clearEvents(); _sound->stopMusic(); } -void ScalpelEngine::showCityCutscene() { - byte palette[PALETTE_SIZE]; +bool ScalpelEngine::showCityCutscene() { +// byte palette[PALETTE_SIZE]; _sound->playMusic("prolog1.mus"); _titleOverride = "title.lib"; @@ -67,21 +67,21 @@ void ScalpelEngine::showCityCutscene() { _animation->playPrologue("26open1", 1, 255, true, 2); // TODO + return true; } -void ScalpelEngine::showAlleyCutscene() { - +bool ScalpelEngine::showAlleyCutscene() { + return true; } -void ScalpelEngine::showStreetCutscene() { - +bool ScalpelEngine::showStreetCutscene() { + return true; } -void ScalpelEngine::showOfficeCutscene() { - +bool ScalpelEngine::showOfficeCutscene() { + return true; } - } // End of namespace Scalpel } // End of namespace Scalpel |