diff options
author | Sven Hesse | 2008-05-08 15:51:02 +0000 |
---|---|---|
committer | Sven Hesse | 2008-05-08 15:51:02 +0000 |
commit | 18db41db506b1e18e050e8dded44dc8501b9bc8f (patch) | |
tree | 70915fc5e973052e2ea6b2d1034e1b42f11b9c7b /engines/gob/sound/sound.h | |
parent | a9b4058ba9fd94de7bd293b0763d71f9f90f84bc (diff) | |
download | scummvm-rg350-18db41db506b1e18e050e8dded44dc8501b9bc8f.tar.gz scummvm-rg350-18db41db506b1e18e050e8dded44dc8501b9bc8f.tar.bz2 scummvm-rg350-18db41db506b1e18e050e8dded44dc8501b9bc8f.zip |
Implemented the background "music" / atmospheric sounds in Woodruff
svn-id: r31949
Diffstat (limited to 'engines/gob/sound/sound.h')
-rw-r--r-- | engines/gob/sound/sound.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/engines/gob/sound/sound.h b/engines/gob/sound/sound.h index 81b48688c4..b59510e4bb 100644 --- a/engines/gob/sound/sound.h +++ b/engines/gob/sound/sound.h @@ -32,6 +32,7 @@ #include "gob/sound/adlib.h" #include "gob/sound/infogrames.h" #include "gob/sound/cdrom.h" +#include "gob/sound/bgatmosphere.h" namespace Gob { @@ -49,7 +50,7 @@ public: const SoundDesc *sampleGetBySlot(int slot) const; int sampleGetNextFreeSlot() const; - bool sampleLoad(SoundDesc *sndDesc, const char *fileName); + bool sampleLoad(SoundDesc *sndDesc, const char *fileName, bool tryExist = true); void sampleFree(SoundDesc *sndDesc, bool noteAdlib = false, int index = -1); @@ -118,6 +119,16 @@ public: void cdTest(int trySubst, const char *label); + + // Background Atmosphere + void bgPlay(const char *base, int count); + void bgStop(); + + void bgSetPlayMode(BackgroundAtmosphere::PlayMode mode); + + void bgShade(); + void bgUnshade(); + private: GobEngine *_vm; @@ -128,6 +139,7 @@ private: AdLib *_adlib; Infogrames *_infogrames; CDROM *_cdrom; + BackgroundAtmosphere *_bgatmos; }; } // End of namespace Gob |