aboutsummaryrefslogtreecommitdiff
path: root/queen/sound.h
diff options
context:
space:
mode:
authorGregory Montoir2004-12-19 12:19:21 +0000
committerGregory Montoir2004-12-19 12:19:21 +0000
commitec2099a9020e341d9cc23cb2a9cb8c14e8bc8703 (patch)
treec5b0bf253aab5ea57ed5c70ddd80a5e236bba4e3 /queen/sound.h
parent739828391e1d6944ff97473e585de4c0550372d2 (diff)
downloadscummvm-rg350-ec2099a9020e341d9cc23cb2a9cb8c14e8bc8703.tar.gz
scummvm-rg350-ec2099a9020e341d9cc23cb2a9cb8c14e8bc8703.tar.bz2
scummvm-rg350-ec2099a9020e341d9cc23cb2a9cb8c14e8bc8703.zip
Fixed regression in queen floppy version. Before doing any speech/texts synchronization, we check the voice sfx exists. See also patch #1087870
svn-id: r16131
Diffstat (limited to 'queen/sound.h')
-rw-r--r--queen/sound.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/queen/sound.h b/queen/sound.h
index 57b49d7a43..68229e583c 100644
--- a/queen/sound.h
+++ b/queen/sound.h
@@ -77,6 +77,8 @@ public:
bool isSpeechActive() const { return _speechHandle.isActive(); }
bool isSfxActive() const { return _sfxHandle.isActive(); }
+ bool speechSfxExists() const { return _speechSfxExists; }
+
int16 lastOverride() const { return _lastOverride; }
void saveState(byte *&ptr);
@@ -107,6 +109,7 @@ protected:
bool _sfxToggle;
bool _speechToggle;
bool _musicToggle;
+ bool _speechSfxExists;
int16 _lastOverride;
PlayingSoundHandle _sfxHandle;