aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
diff options
context:
space:
mode:
authorJohannes Schickel2008-11-30 02:47:20 +0000
committerJohannes Schickel2008-11-30 02:47:20 +0000
commit1fc33dbae5efcff1b69a04e4da8036e97f23b9eb (patch)
tree8af66785b5e9889c161ded79188b5b0d2507daba /engines/kyra/sound.h
parent8142873c6a508583e1b305969b57674e8bd1529e (diff)
downloadscummvm-rg350-1fc33dbae5efcff1b69a04e4da8036e97f23b9eb.tar.gz
scummvm-rg350-1fc33dbae5efcff1b69a04e4da8036e97f23b9eb.tar.bz2
scummvm-rg350-1fc33dbae5efcff1b69a04e4da8036e97f23b9eb.zip
- Fix some valgrind warnings
- Added MIDI SFX support for Kyra2 svn-id: r35178
Diffstat (limited to 'engines/kyra/sound.h')
-rw-r--r--engines/kyra/sound.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h
index 93dc085136..5b8e82bcc4 100644
--- a/engines/kyra/sound.h
+++ b/engines/kyra/sound.h
@@ -121,11 +121,17 @@ public:
/**
* Load a sound file for playing music
- * and sound effects from.
+ * (and somtimes sound effects) from.
*/
virtual void loadSoundFile(Common::String file) = 0;
/**
+ * Load a sound file for playing sound
+ * effects from.
+ */
+ virtual void loadSfxFile(Common::String file) { }
+
+ /**
* Plays the specified track.
*
* @param track track number
@@ -321,6 +327,7 @@ public:
void loadSoundFile(uint file);
void loadSoundFile(Common::String file);
+ void loadSfxFile(Common::String file);
void playTrack(uint8 track);
void haltTrack();