From 47e5b0f0ff93f393ddffd9ed57e8aaf4ea3a068a Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Sun, 29 Jul 2007 14:23:26 +0000 Subject: Added dummy SoundMan to help with integration of Big Red Adventure. svn-id: r28288 --- engines/parallaction/sound.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'engines/parallaction/sound.h') diff --git a/engines/parallaction/sound.h b/engines/parallaction/sound.h index 920a804226..f8f1a9e6b0 100644 --- a/engines/parallaction/sound.h +++ b/engines/parallaction/sound.h @@ -108,6 +108,22 @@ public: void playLocationMusic(const char *location); }; +class DummySoundMan : public SoundMan { + +public: + DummySoundMan(Parallaction *vm) : SoundMan(vm) { } + ~DummySoundMan() { } + void playMusic() { } + void stopMusic() { } + + void playSfx(const char *filename, uint channel, bool looping, int volume, int rate) { } + void stopSfx(uint channel) { } + + void playCharacterMusic(const char *character) { } + void playLocationMusic(const char *location) { } + +}; + } // namespace Parallaction #endif -- cgit v1.2.3