From 1fc33dbae5efcff1b69a04e4da8036e97f23b9eb Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 30 Nov 2008 02:47:20 +0000 Subject: - Fix some valgrind warnings - Added MIDI SFX support for Kyra2 svn-id: r35178 --- engines/kyra/sound.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'engines/kyra/sound.h') 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,10 +121,16 @@ 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. * @@ -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(); -- cgit v1.2.3