diff options
author | Filippos Karapetis | 2011-12-12 22:46:28 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-12 22:46:28 +0200 |
commit | a682734bce80f45dba5e9309cf71a00be9fe50d0 (patch) | |
tree | 2c35473e8d6f0b98662f2db09963ac1c22f9fe36 | |
parent | d41c89124f035f4922615ea02e9e8e74f6e3ddf6 (diff) | |
download | scummvm-rg350-a682734bce80f45dba5e9309cf71a00be9fe50d0.tar.gz scummvm-rg350-a682734bce80f45dba5e9309cf71a00be9fe50d0.tar.bz2 scummvm-rg350-a682734bce80f45dba5e9309cf71a00be9fe50d0.zip |
DREAMWEB: Set volumeDirection as a negative integer, where this is used, instead of 0xFF
-rw-r--r-- | engines/dreamweb/sprite.cpp | 2 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp index e93a77f3ff..aca935cde9 100644 --- a/engines/dreamweb/sprite.cpp +++ b/engines/dreamweb/sprite.cpp @@ -763,7 +763,7 @@ void DreamBase::rollEndCredits() { playChannel0(16, 255); data.byte(kVolume) = 7; data.byte(kVolumeto) = 0; - data.byte(kVolumedirection) = 0xFF; + data.byte(kVolumedirection) = (byte)-1; multiGet(mapStore(), 75, 20, 160, 160); diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 4a870fa42c..4f0661e499 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -576,7 +576,7 @@ void DreamGenContext::dreamweb() { data.byte(kLastflag) = 32; startup1(); data.byte(kVolumeto) = 0; - data.byte(kVolumedirection) = (uint8)-1; + data.byte(kVolumedirection) = (byte)-1; data.byte(kCommandtype) = 255; } @@ -3070,7 +3070,7 @@ void DreamGenContext::intro() { clearPalette(); loadIntroRoom(); data.byte(kVolume) = 7; - data.byte(kVolumedirection) = (uint8)-1; + data.byte(kVolumedirection) = (byte)-1; data.byte(kVolumeto) = 4; playChannel0(12, 255); fadeScreenUps(); @@ -3286,7 +3286,7 @@ void DreamGenContext::gettingShot() { loadIntroRoom(); fadeScreenUps(); data.byte(kVolumeto) = 0; - data.byte(kVolumedirection) = 0xFF; + data.byte(kVolumedirection) = (byte)-1; runEndSeq(); clearBeforeLoad(); } @@ -3935,7 +3935,7 @@ void DreamGenContext::talk() { workToScreenM(); if (data.byte(kSpeechloaded) == 1) { cancelCh1(); - data.byte(kVolumedirection) = 0xFF; + data.byte(kVolumedirection) = (byte)-1; data.byte(kVolumeto) = 0; } } @@ -4258,7 +4258,7 @@ void DreamGenContext::monkSpeaking() { showFrame(tempGraphics(), 160, 72, 0, 128); // show monk workToScreen(); data.byte(kVolume) = 7; - data.byte(kVolumedirection) = 0xFF; + data.byte(kVolumedirection) = (byte)-1; data.byte(kVolumeto) = 5; playChannel0(12, 255); fadeScreenUps(); |