diff options
author | Thanasis Antoniou | 2019-04-20 17:32:47 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-04-20 17:33:39 +0300 |
commit | a663930dd062edd8bfc217fb19a5cbce37705ece (patch) | |
tree | 6d3b81f51280a1c6b59e1570aac3f976b874175a /engines/bladerunner/script/scene/tb05.cpp | |
parent | 63b8ddb50e03a535c4f61a2424914a3c09579197 (diff) | |
download | scummvm-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/tb05.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/tb05.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/bladerunner/script/scene/tb05.cpp b/engines/bladerunner/script/scene/tb05.cpp index 2e67fa3d4b..4051501d25 100644 --- a/engines/bladerunner/script/scene/tb05.cpp +++ b/engines/bladerunner/script/scene/tb05.cpp @@ -52,15 +52,15 @@ void SceneScriptTB05::SceneLoaded() { Clickable_Object("MONITOR05"); Unclickable_Object("SMUDGE_GLASS01"); if (!Actor_Clue_Query(kActorMcCoy, kClueDragonflyEarring)) { - Item_Add_To_World(kItemDragonflyEarring, 940, kSetTB05, 76.16f, 147.36f, -235.15f, 0, 6, 6, false, true, false, true); + Item_Add_To_World(kItemDragonflyEarring, kModelAnimationDragonflyEarring, kSetTB05, 76.16f, 147.36f, -235.15f, 0, 6, 6, false, true, false, true); } - if (!Actor_Clue_Query(kActorMcCoy, kClueTyrellSalesPamphlet1) - && !Actor_Clue_Query(kActorMcCoy, kClueTyrellSalesPamphlet2) + if (!Actor_Clue_Query(kActorMcCoy, kClueTyrellSalesPamphletEntertainModel) + && !Actor_Clue_Query(kActorMcCoy, kClueTyrellSalesPamphletLolita) && (Game_Flag_Query(kFlagGordoIsReplicant) || Game_Flag_Query(kFlagLucyIsReplicant) ) ) { - Item_Add_To_World(kItemTyrellSalesPamphlet, 972, kSetTB05, 129.01f, 147.12f, -162.98f, 0, 8, 8, false, true, false, true); + Item_Add_To_World(kItemTyrellSalesPamphlet, kModelAnimationTyrellSalesPamphlet, kSetTB05, 129.01f, 147.12f, -162.98f, 0, 8, 8, false, true, false, true); } } @@ -93,7 +93,7 @@ bool SceneScriptTB05::ClickedOn3DObject(const char *objectName, bool a2) { ) { Actor_Clue_Acquire(kActorMcCoy, kClueDNAMarcus, true, -1); Actor_Voice_Over(2230, kActorVoiceOver); - Item_Pickup_Spin_Effect(941, 352, 333); + Item_Pickup_Spin_Effect(kModelAnimationDNADataDisc, 352, 333); Actor_Voice_Over(2240, kActorVoiceOver); Actor_Voice_Over(2250, kActorVoiceOver); Actor_Voice_Over(2260, kActorVoiceOver); @@ -114,7 +114,7 @@ bool SceneScriptTB05::ClickedOn3DObject(const char *objectName, bool a2) { ) { Actor_Clue_Acquire(kActorMcCoy, kClueDNAMarcus, true, -1); Actor_Voice_Over(2230, kActorVoiceOver); - Item_Pickup_Spin_Effect(941, 352, 333); + Item_Pickup_Spin_Effect(kModelAnimationDNADataDisc, 352, 333); Actor_Voice_Over(2240, kActorVoiceOver); Actor_Voice_Over(2250, kActorVoiceOver); Actor_Voice_Over(2260, kActorVoiceOver); @@ -158,14 +158,14 @@ bool SceneScriptTB05::ClickedOnItem(int itemId, bool a2) { if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 107.89f, 147.12f, -156.26f, 0, true, false, 0)) { Actor_Face_Heading(kActorMcCoy, 126, false); Item_Remove_From_World(kItemTyrellSalesPamphlet); - Item_Pickup_Spin_Effect(972, 449, 431); + Item_Pickup_Spin_Effect(kModelAnimationTyrellSalesPamphlet, 449, 431); Actor_Voice_Over(4280, kActorVoiceOver); if (Game_Flag_Query(kFlagGordoIsReplicant)) { Actor_Voice_Over(4290, kActorVoiceOver); - Actor_Clue_Acquire(kActorMcCoy, kClueTyrellSalesPamphlet1, true, -1); + Actor_Clue_Acquire(kActorMcCoy, kClueTyrellSalesPamphletEntertainModel, true, -1); } else { Actor_Voice_Over(4300, kActorVoiceOver); - Actor_Clue_Acquire(kActorMcCoy, kClueTyrellSalesPamphlet2, true, -1); + Actor_Clue_Acquire(kActorMcCoy, kClueTyrellSalesPamphletLolita, true, -1); } } } |