diff options
author | Thanasis Antoniou | 2019-04-27 19:57:55 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-04-28 00:21:16 +0300 |
commit | 083bfd16873f738bce64da472d95f42e2cc97cb1 (patch) | |
tree | 446b30d9ee095f3ad533e65646b0ec47e547120c /engines/bladerunner/script/scene/ct01.cpp | |
parent | 2858873db92ea96c8c69bfbd1f3dc9ec703ab871 (diff) | |
download | scummvm-rg350-083bfd16873f738bce64da472d95f42e2cc97cb1.tar.gz scummvm-rg350-083bfd16873f738bce64da472d95f42e2cc97cb1.tar.bz2 scummvm-rg350-083bfd16873f738bce64da472d95f42e2cc97cb1.zip |
BLADERUNNER: BB01, DR01, NR01 reduce freq of intro scene
They'll play the first time, but have 33% probability to play on subsequent visits
Diffstat (limited to 'engines/bladerunner/script/scene/ct01.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ct01.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/ct01.cpp b/engines/bladerunner/script/scene/ct01.cpp index f227986a7b..d3312f74b7 100644 --- a/engines/bladerunner/script/scene/ct01.cpp +++ b/engines/bladerunner/script/scene/ct01.cpp @@ -27,7 +27,7 @@ namespace BladeRunner { enum kCT01Loops { kCT01LoopInshotFromCT12WithSpinner = 0, // 0 - 14 kCT01LoopInshot = 1, // 15 - 194 - kCT01LoopMain = 2, // 195 - 255 + kCT01LoopMainLoop = 2, // 195 - 255 kCT01LoopDoorAnim = 4, // 256 - 315 kCT01LoopOutshot = 5, // 316 - 435 kCT01LoopInshotFromCT12NoSpinner = 6, // 436 - 450 @@ -71,9 +71,10 @@ void SceneScriptCT01::InitializeScene() { // Note 2: Gordo sitting at the diner overlaps with the counter bar in front of him // so the loop will be prevented from playing when he is there. if ( Global_Variable_Query(kVariableChapter) < 4 - && Actor_Query_Which_Set_In(kActorGordo) != kSetCT01_CT12 - && Random_Query(1, 3) == 1 + && Actor_Query_Which_Set_In(kActorGordo) != kSetCT01_CT12 + && Random_Query(1, 3) == 1 ){ + // enhancement: don't always play Scene_Loop_Start_Special(kSceneLoopModeLoseControl, kCT01LoopInshot, false); } // Pause generic walkers outside special loop @@ -115,7 +116,7 @@ void SceneScriptCT01::InitializeScene() { Ambient_Sounds_Add_Sound(kSfxTHNDER4, 20, 40, 33, 50, -100, 100, -101, -101, 0, 0); if (Game_Flag_Query(kFlagSpinnerAtCT01)) { - Scene_Loop_Set_Default(kCT01LoopMain); + Scene_Loop_Set_Default(kCT01LoopMainLoop); } else { Scene_Loop_Set_Default(kCT01LoopMainLoopNoSpinner); } |