aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ct02.cpp
diff options
context:
space:
mode:
authorThanasis Antoniou2019-04-05 21:33:47 +0300
committerThanasis Antoniou2019-04-05 21:35:55 +0300
commita0beaa6f4e925292f3ffaa8045e580cd579d3ed0 (patch)
tree8debb2e8a7d8d7a58295d939ea8cd8bfe2b3e8e5 /engines/bladerunner/script/scene/ct02.cpp
parent62660da0bc8bdbaa464f8b25ee993f6dfb90aa85 (diff)
downloadscummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.tar.gz
scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.tar.bz2
scummvm-rg350-a0beaa6f4e925292f3ffaa8045e580cd579d3ed0.zip
BLADERUNNER: SFX named constants and MissSound fix
Still pending cleaning up Ambient_Sounds_Add_Sound and Ambient_Sounds_Add_Looping_Sound calls
Diffstat (limited to 'engines/bladerunner/script/scene/ct02.cpp')
-rw-r--r--engines/bladerunner/script/scene/ct02.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/bladerunner/script/scene/ct02.cpp b/engines/bladerunner/script/scene/ct02.cpp
index b5aa8f6b17..4be9afa2df 100644
--- a/engines/bladerunner/script/scene/ct02.cpp
+++ b/engines/bladerunner/script/scene/ct02.cpp
@@ -57,10 +57,10 @@ void SceneScriptCT02::InitializeScene() {
Ambient_Sounds_Add_Sound(62, 10, 30, 7, 7, 100, 100, -101, -101, 0, 0);
Ambient_Sounds_Add_Sound(63, 10, 30, 8, 8, 100, 100, -101, -101, 0, 0);
Ambient_Sounds_Add_Sound(64, 10, 30, 7, 7, 100, 100, -101, -101, 0, 0);
- Ambient_Sounds_Add_Speech_Sound(60, 0, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
- Ambient_Sounds_Add_Speech_Sound(60, 20, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
- Ambient_Sounds_Add_Speech_Sound(60, 40, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
- Ambient_Sounds_Add_Speech_Sound(60, 50, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
+ Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 0, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
+ Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 20, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
+ Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 40, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
+ Ambient_Sounds_Add_Speech_Sound(kActorBlimpGuy, 50, 10, 260, 17, 19, 100, 100, -101, -101, 1, 1);
if (Game_Flag_Query(kFlagCT02PotTipped)) {
Scene_Loop_Set_Default(kCT02LoopMainPotTipped);
} else {
@@ -281,16 +281,16 @@ bool SceneScriptCT02::ClickedOn2DRegion(int region) {
void SceneScriptCT02::SceneFrameAdvanced(int frame) {
if (frame == 6 || frame == 12 || frame == 19 || frame == 25 || frame == 46 || frame == 59) {
- Sound_Play(97, Random_Query(25, 33), -70, -70, 50);
+ Sound_Play(kSfxNEON7, Random_Query(25, 33), -70, -70, 50);
}
if (frame == 72) {
- Sound_Play(200, 50, 0, 0, 50);
+ Sound_Play(kSfxBIGPOT4, 50, 0, 0, 50);
}
if (frame == 71) {
- Sound_Play(204, 40, 0, 0, 50);
+ Sound_Play(kSfxBIGPOT3, 40, 0, 0, 50);
}
if (frame == 72) {
- Sound_Play(203, 60, -20, 40, 50);
+ Sound_Play(kSfxPOTSPL5, 60, -20, 40, 50);
}
if (frame == 61) {
Music_Play(kMusicBatl226M, 50, 0, 2, -1, 0, 0);