diff options
author | Strangerke | 2017-11-17 07:53:59 +0100 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:40 +0000 |
commit | ca1acaf5ea76ef3c59f60e2307681b666dfd6264 (patch) | |
tree | 20f44c28517bfcddff381d24409e821315bef2ac /engines/supernova/state.cpp | |
parent | 888930660a5a4bef4fe00e69f267ce0d35492dd8 (diff) | |
download | scummvm-rg350-ca1acaf5ea76ef3c59f60e2307681b666dfd6264.tar.gz scummvm-rg350-ca1acaf5ea76ef3c59f60e2307681b666dfd6264.tar.bz2 scummvm-rg350-ca1acaf5ea76ef3c59f60e2307681b666dfd6264.zip |
SUPERNOVA: Implement guardNoticed()
Diffstat (limited to 'engines/supernova/state.cpp')
-rw-r--r-- | engines/supernova/state.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp index 11ef049e24..3450cdf476 100644 --- a/engines/supernova/state.cpp +++ b/engines/supernova/state.cpp @@ -651,7 +651,25 @@ void GameManager::search(int time) { } void GameManager::guardNoticed() { - warning("STUB: guardNoticed"); + _vm->paletteFadeOut(); + Room *r = _currentRoom; + _currentRoom = _rooms[GUARD]; + _vm->setCurrentImage(40); + _vm->renderBox(0, 0, 320, 200, 0); + _vm->renderImage(0); + _vm->paletteFadeIn(); + _vm->renderImage(2); + reply("Was war das für ein Geräusch?",2,5); + wait2(2); + reply("Ich werde mal nachsehen.",2,5); + _vm->paletteFadeOut(); + r->setSectionVisible(2, false); + r->setSectionVisible(5, false); + _currentRoom = r; + _guiEnabled = true; + drawMapExits(); + // new_room = true; + warning("SKIPPED: new_room"); } void GameManager::busted(int i) { |