diff options
author | Thanasis Antoniou | 2019-05-31 20:09:02 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-06-01 02:59:03 +0300 |
commit | 2ff564d6120002eb571cbe5f4a1763ac7da9568e (patch) | |
tree | 41c48148922c09ea48f50d9e61b4d454cac2096f /engines | |
parent | 5f99eb07e8b3b7d6bd7cfd76b48d5bdb248a4f7a (diff) | |
download | scummvm-rg350-2ff564d6120002eb571cbe5f4a1763ac7da9568e.tar.gz scummvm-rg350-2ff564d6120002eb571cbe5f4a1763ac7da9568e.tar.bz2 scummvm-rg350-2ff564d6120002eb571cbe5f4a1763ac7da9568e.zip |
BLADERUNNER: Restored comment on statues
Diffstat (limited to 'engines')
-rw-r--r-- | engines/bladerunner/game_constants.h | 2 | ||||
-rw-r--r-- | engines/bladerunner/script/scene/dr06.cpp | 17 |
2 files changed, 18 insertions, 1 deletions
diff --git a/engines/bladerunner/game_constants.h b/engines/bladerunner/game_constants.h index f802969fb2..f672a14c74 100644 --- a/engines/bladerunner/game_constants.h +++ b/engines/bladerunner/game_constants.h @@ -847,7 +847,7 @@ enum Flags { kFlagHC02HawkersBarkeepBraceletTalk = 405, kFlagUnused406 = 406, // is never checked kFlagUnused407 = 407, // is never checked - // 408 is never used + kFlagMcCoyCommentsOnStatues = 408, // re-purposed. Original: 408 is never used kFlagMA01GaffApproachMcCoy = 409, kFlagBB06AndroidDestroyed = 410, kFlagKP02toUG12 = 411, diff --git a/engines/bladerunner/script/scene/dr06.cpp b/engines/bladerunner/script/scene/dr06.cpp index e8fa2f6e65..037f10dcf4 100644 --- a/engines/bladerunner/script/scene/dr06.cpp +++ b/engines/bladerunner/script/scene/dr06.cpp @@ -37,6 +37,11 @@ void SceneScriptDR06::InitializeScene() { ) { Scene_Exit_Add_2D_Exit(1, 0, 272, 46, 477, 2); } + if (_vm->_cutContent && !Game_Flag_Query(kFlagMcCoyCommentsOnFans)) { + Scene_2D_Region_Add(0, 300, 80, 360, 190); // statue 1 + Scene_2D_Region_Add(1, 60, 120, 155, 260); // statue 2 + Scene_2D_Region_Add(2, 378, 270, 420, 320); // statue 3 + } Ambient_Sounds_Add_Looping_Sound(kSfxSKINBED1, 25, 0, 1); Ambient_Sounds_Add_Sound(kSfxSWEEP3, 5, 60, 20, 20, -100, 100, -101, -101, 0, 0); @@ -225,6 +230,18 @@ bool SceneScriptDR06::ClickedOnExit(int exitId) { } bool SceneScriptDR06::ClickedOn2DRegion(int region) { +if (_vm->_cutContent) { + if (!Game_Flag_Query(kFlagMcCoyCommentsOnStatues) && (region == 0 || region == 1 || region == 2) ) { + Game_Flag_Set(kFlagMcCoyCommentsOnStatues); + Actor_Face_Heading(kActorMcCoy, 88, true); + Actor_Voice_Over(810, kActorVoiceOver); + Actor_Voice_Over(820, kActorVoiceOver); + Scene_2D_Region_Remove(0); + Scene_2D_Region_Remove(1); + Scene_2D_Region_Remove(2); + return true; + } + } return false; } |