aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/msn_def.h1
-rw-r--r--engines/supernova/supernova.cpp5
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/supernova/msn_def.h b/engines/supernova/msn_def.h
index 93f4333d8e..d609fe5bd7 100644
--- a/engines/supernova/msn_def.h
+++ b/engines/supernova/msn_def.h
@@ -512,6 +512,7 @@ struct Object {
return false;
}
+ // TODO: convert name and description to String
const char *_name;
const char *_description;
ObjectID _id;
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index 5dfabff4d7..9a68079d4c 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -267,6 +267,8 @@ void SupernovaEngine::playSound(AudioIndex sample) {
11931, Audio::FLAG_UNSIGNED | Audio::FLAG_LITTLE_ENDIAN, DisposeAfterUse::NO);
stopSound();
_mixer->playStream(Audio::Mixer::kPlainSoundType, &_soundHandle, audioStream);
+
+ // TODO: Stall till sound was played
}
void SupernovaEngine::stopSound() {
@@ -544,9 +546,6 @@ void SupernovaEngine::paletteBrightness() {
}
void SupernovaEngine::paletteFadeOut() {
- // TODO: scene 0 (newspaper article in intro, mode 0x11)
- // needs to be handled differently
-
while (_brightness > 20) {
_menuBrightness = _brightness;
paletteBrightness();