diff options
author | Paul Gilbert | 2015-03-15 21:25:07 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-15 21:25:07 -0400 |
commit | 92c55e2bb192785e4587e143c9c367213f30233c (patch) | |
tree | 22f49059bcecd595fd257c82e0eb66db1ab29a37 /engines/sherlock/sound.h | |
parent | 1452c18ffb21da0d97725c7c982b25992bd75fe8 (diff) | |
download | scummvm-rg350-92c55e2bb192785e4587e143c9c367213f30233c.tar.gz scummvm-rg350-92c55e2bb192785e4587e143c9c367213f30233c.tar.bz2 scummvm-rg350-92c55e2bb192785e4587e143c9c367213f30233c.zip |
SHERLOCK: Beginning of animation player
Diffstat (limited to 'engines/sherlock/sound.h')
-rw-r--r-- | engines/sherlock/sound.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h index f3b34345ef..b1759a9c8e 100644 --- a/engines/sherlock/sound.h +++ b/engines/sherlock/sound.h @@ -23,15 +23,26 @@ #ifndef SHERLOCK_SOUND_H #define SHERLOCK_SOUND_H +#include "common/scummsys.h" +#include "common/str.h" + namespace Sherlock { +class SherlockEngine; + class Sound { -public - void playSound(const char *name); - void cacheSound(const char *name, int index); +private: + SherlockEngine *_vm; +public: + Sound(SherlockEngine *vm); + + void playSound(const Common::String &name); + void cacheSound(const Common::String &name, int index); void playCachedSound(int index); void clearCache(); + void playMusic(const Common::String &name); + void stopMusic(); }; } // End of namespace Sherlock |