From 1ede08405595cafe5792aa514a4bc3309602e40f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 24 May 2015 10:56:22 -0400 Subject: SHERLOCK: Implement more scene loading and setNPCPath --- engines/sherlock/sound.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/sherlock/sound.h') diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h index 689e615a36..06450ff50d 100644 --- a/engines/sherlock/sound.h +++ b/engines/sherlock/sound.h @@ -58,6 +58,9 @@ public: bool _soundPlaying; bool *_soundIsOn; byte *_digiBuf; + bool _midiDrvLoaded; + Common::String _currentSongName, _nextSongName; + int _musicVolume; public: Sound(SherlockEngine *vm, Audio::Mixer *mixer); @@ -94,7 +97,8 @@ public: /** * Load a specified song */ - int loadSong(int songNumber); + bool loadSong(int songNumber); + bool loadSong(const Common::String &name); /** * Start playing a song @@ -119,6 +123,7 @@ public: void stopSndFuncPtr(int v1, int v2); void waitTimerRoland(uint time); void freeDigiSound(); + void setMIDIVolume(int volume); }; } // End of namespace Sherlock -- cgit v1.2.3