aboutsummaryrefslogtreecommitdiff
path: root/engines/queen/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/queen/sound.h')
-rw-r--r--engines/queen/sound.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/queen/sound.h b/engines/queen/sound.h
index e35c520fc5..5c19410036 100644
--- a/engines/queen/sound.h
+++ b/engines/queen/sound.h
@@ -25,8 +25,12 @@
#include "common/util.h"
#include "sound/mixer.h"
+#include "sound/mods/rjp1.h"
#include "queen/defs.h"
+// define this to enable amiga "rjp1" modules playback
+//#define ENABLE_AMIGA_MUSIC 1
+
namespace Common {
class File;
}
@@ -57,7 +61,7 @@ class QueenEngine;
class Sound {
public:
Sound(Audio::Mixer *mixer, QueenEngine *vm);
- virtual ~Sound();
+ virtual ~Sound() {}
static Sound *giveSound(Audio::Mixer *mixer, QueenEngine *vm, uint8 compression);
void playSfx(uint16 sfx);
void playSpeech(const char *base);
@@ -120,6 +124,10 @@ protected:
int16 _lastOverride;
Audio::SoundHandle _sfxHandle;
Audio::SoundHandle _speechHandle;
+#ifdef ENABLE_AMIGA_MUSIC
+ int16 _lastModuleOverride;
+ Audio::SoundHandle _musicHandle;
+#endif
};
class SilentSound : public Sound {