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/rc03.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/rc03.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/rc03.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/bladerunner/script/scene/rc03.cpp b/engines/bladerunner/script/scene/rc03.cpp index 2929296260..9f00c5f5ab 100644 --- a/engines/bladerunner/script/scene/rc03.cpp +++ b/engines/bladerunner/script/scene/rc03.cpp @@ -24,6 +24,11 @@ namespace BladeRunner { +enum kRC03Loops { + kRC03LoopInshot = 0, + kRC03LoopMainLoop = 1 +}; + void SceneScriptRC03::InitializeScene() { if (Game_Flag_Query(kFlagRC01toRC03)) { Setup_Scene_Information(298.0f, -4.0f, 405.0f, 800); @@ -82,11 +87,12 @@ void SceneScriptRC03::InitializeScene() { if (Game_Flag_Query(kFlagHC04toRC03) && Actor_Query_Goal_Number(kActorIzo) != kGoalIzoWaitingAtRC03 ) { - if (Random_Query(1, 3) == 1) { // enhancement: don't always play this scene when exiting Hawker's Circle - Scene_Loop_Start_Special(kSceneLoopModeLoseControl, 0, false); + if (Random_Query(1, 3) == 1) { + // enhancement: don't always play this scene when exiting Hawker's Circle + Scene_Loop_Start_Special(kSceneLoopModeLoseControl, kRC03LoopInshot, false); } } - Scene_Loop_Set_Default(1); + Scene_Loop_Set_Default(kRC03LoopMainLoop); } void SceneScriptRC03::SceneLoaded() { |