aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/rc04.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-04-20 17:32:47 +0300
committerThanasis Antoniou2019-04-20 17:33:39 +0300
commita663930dd062edd8bfc217fb19a5cbce37705ece (patch)
tree6d3b81f51280a1c6b59e1570aac3f976b874175a /engines/bladerunner/script/scene/rc04.cpp
parent63b8ddb50e03a535c4f61a2424914a3c09579197 (diff)
downloadscummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.tar.gz
scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.tar.bz2
scummvm-rg350-a663930dd062edd8bfc217fb19a5cbce37705ece.zip
BLADERUNNER: Named constants for animationIds P01
Part one of using named constants for model animations
Diffstat (limited to 'engines/bladerunner/script/scene/rc04.cpp')
-rw-r--r--engines/bladerunner/script/scene/rc04.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/bladerunner/script/scene/rc04.cpp b/engines/bladerunner/script/scene/rc04.cpp
index 66563a1235..d2bfb4ff53 100644
--- a/engines/bladerunner/script/scene/rc04.cpp
+++ b/engines/bladerunner/script/scene/rc04.cpp
@@ -238,7 +238,7 @@ void SceneScriptRC04::dialogueWithBulletBob() {
Actor_Says(kActorBulletBob, 880, 34);
Actor_Clue_Acquire(kActorBulletBob, kClueHoldensBadge, true, kActorMcCoy);
Actor_Modify_Friendliness_To_Other(kActorBulletBob, kActorMcCoy, 8);
- if (Query_Difficulty_Level() != 0) {
+ if (Query_Difficulty_Level() != kGameDifficultyEasy) {
Global_Variable_Increment(kVariableChinyen, 60);
}
break;
@@ -259,10 +259,10 @@ void SceneScriptRC04::dialogueWithBulletBob() {
}
Actor_Says(kActorBulletBob, 2120, 31);
if (Global_Variable_Query(kVariableChinyen) > 40
- || Query_Difficulty_Level() == 0
+ || Query_Difficulty_Level() == kGameDifficultyEasy
) {
Actor_Says(kActorMcCoy, 4940, 13);
- if (Query_Difficulty_Level() != 0) {
+ if (Query_Difficulty_Level() != kGameDifficultyEasy) {
Global_Variable_Decrement(kVariableChinyen, 40);
}
Item_Pickup_Spin_Effect(995, 405, 192);
@@ -363,14 +363,14 @@ bool SceneScriptRC04::ClickedOnActor(int actorId) {
Delay(1000);
Actor_Says(kActorBulletBob, 2010, 35);
if (Global_Variable_Query(kVariableChinyen) > 50
- || Query_Difficulty_Level() == 0
+ || Query_Difficulty_Level() == kGameDifficultyEasy
) {
Actor_Says(kActorMcCoy, 8975, 16);
- if (Query_Difficulty_Level() != 0) {
+ if (Query_Difficulty_Level() != kGameDifficultyEasy) {
Global_Variable_Decrement(kVariableChinyen, 50);
}
Delay(3000);
- Item_Pickup_Spin_Effect(941, 405, 192);
+ Item_Pickup_Spin_Effect(kModelAnimationDNADataDisc, 405, 192);
Actor_Says(kActorBulletBob, 2030, 30);
Game_Flag_Set(kFlagKIAPrivacyAddon);
} else {