aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/cge2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2/cge2.h')
-rw-r--r--engines/cge2/cge2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h
index 8d3f052b63..e6c1308238 100644
--- a/engines/cge2/cge2.h
+++ b/engines/cge2/cge2.h
@@ -113,6 +113,10 @@ struct SavegameHeader;
#define kSavegameStrSize 12
#define kSavegameStr "SCUMMVM_CGE2"
+#define kSoundSwtichRate 25.7
+// == 257 / 10; where 10 equals to the sound switches' number of states
+// and ScummVM has a scale of 257 different values for setting sounds.
+
enum CallbackType {
kNullCB = 0, kQGame, kXScene, kSoundSetVolume
};
@@ -283,6 +287,8 @@ public:
int _startGameSlot;
bool _enaCap;
bool _enaVox;
+ int _musicVolume;
+ int _sfxVolume;
ResourceManager *_resman;
Vga *_vga;