diff options
author | Matthew Hoops | 2013-03-17 20:23:34 -0400 |
---|---|---|
committer | Matthew Hoops | 2013-04-16 21:53:29 -0400 |
commit | 06cd644a9e1a697fb5ab36e80f53f8417aa35455 (patch) | |
tree | 2ac6da6e619778ccf35c439f9f0233ea0b373c35 /engines/pegasus/neighborhood/prehistoric/prehistoric.cpp | |
parent | bd6a8f37d51cbd4bb406ee3cdc2577c9ac94adff (diff) | |
download | scummvm-rg350-06cd644a9e1a697fb5ab36e80f53f8417aa35455.tar.gz scummvm-rg350-06cd644a9e1a697fb5ab36e80f53f8417aa35455.tar.bz2 scummvm-rg350-06cd644a9e1a697fb5ab36e80f53f8417aa35455.zip |
PEGASUS: Add new Prehistoric sounds for the DVD demo
Diffstat (limited to 'engines/pegasus/neighborhood/prehistoric/prehistoric.cpp')
-rw-r--r-- | engines/pegasus/neighborhood/prehistoric/prehistoric.cpp | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/engines/pegasus/neighborhood/prehistoric/prehistoric.cpp b/engines/pegasus/neighborhood/prehistoric/prehistoric.cpp index 814d7717de..5dbddb4404 100644 --- a/engines/pegasus/neighborhood/prehistoric/prehistoric.cpp +++ b/engines/pegasus/neighborhood/prehistoric/prehistoric.cpp @@ -402,9 +402,10 @@ void Prehistoric::loadAmbientLoops() { switch (room) { case kPrehistoric02: // 1/4 volume. - if (GameState.getPrehistoricSeenTimeStream()) - loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 64); - break; + if (!GameState.getPrehistoricSeenTimeStream()) + break; + + // Fall through case kPrehistoric01: case kPrehistoric03: case kPrehistoric04: @@ -419,7 +420,10 @@ void Prehistoric::loadAmbientLoops() { case kPrehistoric19: case kPrehistoric20: // 1/4 volume. - loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 64); + if (_vm->isDVD()) // Updated sound for the DVD version + loadLoopSound1("Sounds/Prehistoric/P02SAL00.32k.AIFF", 64); + else + loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 64); break; case kPrehistoric08: case kPrehistoric10: @@ -429,11 +433,17 @@ void Prehistoric::loadAmbientLoops() { case kPrehistoric18: case kPrehistoric21: // 3/16 volume. - loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 48); + if (_vm->isDVD()) // Updated sound for the DVD version + loadLoopSound1("Sounds/Prehistoric/P02SAL00.32k.AIFF", 48); + else + loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 48); break; case kPrehistoric25: // 1/8 volume. - loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 32); + if (_vm->isDVD()) // Updated sound for the DVD version + loadLoopSound1("Sounds/Prehistoric/P02SAL00.32k.AIFF", 32); + else + loadLoopSound1("Sounds/Prehistoric/P02SAL00.22k.AIFF", 32); break; case kPrehistoric22: case kPrehistoric22North: @@ -470,19 +480,29 @@ void Prehistoric::loadAmbientLoops() { break; case kPrehistoric01: case kPrehistoric25: - loadLoopSound2("Sounds/Prehistoric/VolcLoop.22K.AIFF", 64); + if (_vm->isDVD()) + loadLoopSound2("Sounds/Prehistoric/VolcLoop.32K.AIFF", 64); + else + loadLoopSound2("Sounds/Prehistoric/VolcLoop.22K.AIFF", 64); break; case kPrehistoric18: - if (_privateFlags.getFlag(kPrehistoricPrivateExtendedBridgeFlag)) - loadLoopSound2("Sounds/Prehistoric/P18EAL00.22k.AIFF", 0x100, 0, 0); - else + if (_privateFlags.getFlag(kPrehistoricPrivateExtendedBridgeFlag)) { + if (_vm->isDVD()) // Updated sound for the DVD version + loadLoopSound2("Sounds/Prehistoric/P18EAL00.44K.aiff", 0x100, 0, 0); + else + loadLoopSound2("Sounds/Prehistoric/P18EAL00.22k.AIFF", 0x100, 0, 0); + } else { loadLoopSound2(""); + } break; case kPrehistoric23: case kPrehistoric24: case kPrehistoric22: case kPrehistoric22North: - loadLoopSound2("Sounds/Prehistoric/P24NAL00.22k.AIFF", 64); + if (_vm->isDVD()) // Updated sound for the DVD version + loadLoopSound2("Sounds/Prehistoric/P24NAL00.32k.AIFF", 64); + else + loadLoopSound2("Sounds/Prehistoric/P24NAL00.22k.AIFF", 64); break; } } |