diff options
author | Thanasis Antoniou | 2019-05-13 00:10:27 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-13 03:29:00 +0300 |
commit | 618d48dde8a9e83f0cfa01d48cecd9cbfca6bf0d (patch) | |
tree | f339efd13a39518021f6570d4ccbce8bbae5da87 /engines/bladerunner/script/scene/ps06.cpp | |
parent | c52cd1ea4cde0a81623737f6f6382da059f36a67 (diff) | |
download | scummvm-rg350-618d48dde8a9e83f0cfa01d48cecd9cbfca6bf0d.tar.gz scummvm-rg350-618d48dde8a9e83f0cfa01d48cecd9cbfca6bf0d.tar.bz2 scummvm-rg350-618d48dde8a9e83f0cfa01d48cecd9cbfca6bf0d.zip |
BLADERUNNER: Mainframe talkie restored
Diffstat (limited to 'engines/bladerunner/script/scene/ps06.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ps06.cpp | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/engines/bladerunner/script/scene/ps06.cpp b/engines/bladerunner/script/scene/ps06.cpp index d0624ef6a6..10797e350f 100644 --- a/engines/bladerunner/script/scene/ps06.cpp +++ b/engines/bladerunner/script/scene/ps06.cpp @@ -53,7 +53,7 @@ bool SceneScriptPS06::ClickedOn3DObject(const char *objectName, bool a2) { if (Object_Query_Click("E.SCREEN03", objectName) || Object_Query_Click("E.MONITOR3", objectName) ) { - Actor_Says(kActorAnsweringMachine, 330, 3); + Actor_Says(kActorAnsweringMachine, 330, kAnimationModeTalk); // uploading clues if (Actor_Clue_Query(kActorMcCoy, kClueCar) && !Actor_Clue_Query(kActorMcCoy, kClueCarRegistration1) && !Actor_Clue_Query(kActorMcCoy, kClueCarRegistration2) @@ -85,15 +85,27 @@ bool SceneScriptPS06::ClickedOn3DObject(const char *objectName, bool a2) { Actor_Clues_Transfer_New_From_Mainframe(kActorMcCoy); return true; } else { - Actor_Clues_Transfer_New_To_Mainframe(kActorMcCoy); - Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); - Delay(2000); - Actor_Says(kActorAnsweringMachine, 340, kAnimationModeTalk); - Actor_Clues_Transfer_New_From_Mainframe(kActorMcCoy); - Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); - Delay(2000); + bool tranferedClues = false; + tranferedClues = Actor_Clues_Transfer_New_To_Mainframe(kActorMcCoy); + if (_vm->_cutContent && !tranferedClues) { + Actor_Says(kActorAnsweringMachine, 370, kAnimationModeTalk); // no clues transfered + } else { + Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); + Delay(2000); + } + Actor_Says(kActorAnsweringMachine, 340, kAnimationModeTalk); // downloading clues + tranferedClues = Actor_Clues_Transfer_New_From_Mainframe(kActorMcCoy); + if (_vm->_cutContent && !tranferedClues) { + Actor_Says(kActorAnsweringMachine, 370, kAnimationModeTalk); // no clues transfered + } else { + Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); + Delay(2000); + } Ambient_Sounds_Play_Sound(kSfxBEEPNEAT, 80, 0, 0, 99); - Actor_Says(kActorAnsweringMachine, 350, kAnimationModeTalk); + Actor_Says(kActorAnsweringMachine, 350, kAnimationModeTalk); // db transfer complete + if (_vm->_cutContent && tranferedClues) { + Actor_Says(kActorAnsweringMachine, 360, kAnimationModeTalk); // new clues added + } return true; } } |