diff options
author | Joseph-Eugene Winzer | 2018-03-21 12:14:24 +0100 |
---|---|---|
committer | Joseph-Eugene Winzer | 2018-04-14 11:45:52 +0200 |
commit | 26543be637feee241812e40785b731a9eff86cdf (patch) | |
tree | 1f5eefce1151014a6ecbf2b1bdea40568f0f322b /engines/supernova/supernova.h | |
parent | bda0eb4c8872bcf53ff6eee233e0c7bfb53dbc95 (diff) | |
download | scummvm-rg350-26543be637feee241812e40785b731a9eff86cdf.tar.gz scummvm-rg350-26543be637feee241812e40785b731a9eff86cdf.tar.bz2 scummvm-rg350-26543be637feee241812e40785b731a9eff86cdf.zip |
SUPERNOVA: Adds sound abstraction
Diffstat (limited to 'engines/supernova/supernova.h')
-rw-r--r-- | engines/supernova/supernova.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h index 2a71a111ae..2f21422fce 100644 --- a/engines/supernova/supernova.h +++ b/engines/supernova/supernova.h @@ -38,6 +38,7 @@ #include "supernova/graphics.h" #include "supernova/msn_def.h" #include "supernova/rooms.h" +#include "supernova/sound.h" namespace Supernova { @@ -101,7 +102,7 @@ public: Common::RandomSource _rnd; GameManager *_gm; Console *_console; - Audio::SoundHandle _soundHandle; + Sound *_sound; ScreenBufferStack _screenBuffer; byte _mouseNormal[256]; byte _mouseWait[256]; @@ -134,8 +135,8 @@ public: void paletteFadeOut(); void paletteBrightness(); void playSound(AudioIndex sample); - void playSoundMod(int filenumber); - void stopSound(); + void playSound(MusicIndex index); + void stopAudio(); void renderImageSection(int section); void renderImage(int section); bool setCurrentImage(int filenumber); |