diff options
Diffstat (limited to 'engines/xeen/music.h')
-rw-r--r-- | engines/xeen/music.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/xeen/music.h b/engines/xeen/music.h index f09f96ff79..5b23cc1965 100644 --- a/engines/xeen/music.h +++ b/engines/xeen/music.h @@ -77,7 +77,6 @@ private: Common::Stack<Subroutine> _musSubroutines, _fxSubroutines; int _musCountdownTimer; int _fxCountdownTimer; - bool _lowMusicIgnored; const byte *_fxDataPtr, *_musDataPtr; const byte *_fxStartPtr; const byte *_musStartPtr; @@ -91,7 +90,8 @@ private: protected: Common::Array<Channel> _channels; bool _fieldF; - bool _field1E; + bool _musicPlaying; + bool _fxPlaying; protected: /** * Executes a series of commands until instructed to stop @@ -334,6 +334,11 @@ public: void restartMusic() { songCommand(RESTART_MUSIC); } /** + * Sets the music volume + */ + void setMusicVolume(byte volume) { songCommand(SET_VOLUME, volume); } + + /** * Plays a song */ void playSong(Common::SeekableReadStream &stream); |