aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/game.h
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-16 08:19:56 +0000
committerPaul Gilbert2007-12-16 08:19:56 +0000
commit706e7792362e5be479d7fdaf4d0cc0bb2ffc886d (patch)
treee505c1b31447fac816f5db8c6416114013da674c /engines/lure/game.h
parent02beb045c5aa8b8b89cf40d2a2416e95b5d479fd (diff)
downloadscummvm-rg350-706e7792362e5be479d7fdaf4d0cc0bb2ffc886d.tar.gz
scummvm-rg350-706e7792362e5be479d7fdaf4d0cc0bb2ffc886d.tar.bz2
scummvm-rg350-706e7792362e5be479d7fdaf4d0cc0bb2ffc886d.zip
Hooked up the sound code to use the configuration for sfx and music, and added code from the original game that used the high bit of sounds to distinguish between the two
svn-id: r29873
Diffstat (limited to 'engines/lure/game.h')
-rw-r--r--engines/lure/game.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/lure/game.h b/engines/lure/game.h
index 79c36804ba..d5f57aa8ff 100644
--- a/engines/lure/game.h
+++ b/engines/lure/game.h
@@ -47,6 +47,8 @@ class Game {
private:
Debugger *_debugger;
bool _fastTextFlag, _soundFlag;
+ uint8 _sfxVolume;
+ uint8 _musicVolume;
uint8 _state;
uint16 _tellCommands[MAX_TELL_COMMANDS * 3 + 1];
int _numTellCommands;
@@ -80,6 +82,8 @@ public:
bool &preloadFlag() { return _preloadFlag; }
bool fastTextFlag() { return _fastTextFlag; }
bool soundFlag() { return _soundFlag; }
+ uint8 sfxVolume() { return _sfxVolume; }
+ uint8 musicVolume() { return _musicVolume; }
Debugger &debugger() { return *_debugger; }
// Menu item support methods