aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-07-29 14:23:26 +0000
committerNicola Mettifogo2007-07-29 14:23:26 +0000
commit47e5b0f0ff93f393ddffd9ed57e8aaf4ea3a068a (patch)
treedf914c5124524f27c746e9a01b4293b8b7dffc4b /engines/parallaction
parentf8d28abdf93c2e0bee8f0c33c676f7cb55da049c (diff)
downloadscummvm-rg350-47e5b0f0ff93f393ddffd9ed57e8aaf4ea3a068a.tar.gz
scummvm-rg350-47e5b0f0ff93f393ddffd9ed57e8aaf4ea3a068a.tar.bz2
scummvm-rg350-47e5b0f0ff93f393ddffd9ed57e8aaf4ea3a068a.zip
Added dummy SoundMan to help with integration of Big Red Adventure.
svn-id: r28288
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/sound.h16
1 files changed, 16 insertions, 0 deletions
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