aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-01-30 09:21:07 +0000
committerPaul Gilbert2010-01-30 09:21:07 +0000
commit3285a4ba4d585739577176baddd8f48478d2f229 (patch)
tree86f8e10aab8e619116721398918bca88abf4ce5d /engines/m4/sound.h
parent28aee9c5f3462cd72db0b91b7f578649869738d5 (diff)
downloadscummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.tar.gz
scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.tar.bz2
scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.zip
Beginnings of a separation of the MADS and M4 engines into separate classes. This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
svn-id: r47705
Diffstat (limited to 'engines/m4/sound.h')
-rw-r--r--engines/m4/sound.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/m4/sound.h b/engines/m4/sound.h
index caa5cfcca3..7ae6103d26 100644
--- a/engines/m4/sound.h
+++ b/engines/m4/sound.h
@@ -68,12 +68,12 @@ struct DSRFile {
Common::Array<DSREntry *> dsrEntries;
};
-class M4Engine;
+class MadsM4Engine;
class Sound {
public:
- Sound(M4Engine *vm, Audio::Mixer *mixer, int volume);
+ Sound(MadsM4Engine *vm, Audio::Mixer *mixer, int volume);
~Sound();
void playSound(const char *soundName, int volume, bool loop, int channel = -1);
@@ -99,7 +99,7 @@ public:
private:
- M4Engine *_vm;
+ MadsM4Engine *_vm;
Audio::Mixer *_mixer;
SndHandle _handles[SOUND_HANDLES];