diff options
Diffstat (limited to 'engines/kyra/kyra.h')
-rw-r--r-- | engines/kyra/kyra.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/kyra/kyra.h b/engines/kyra/kyra.h index 07c7cddf42..03aaf2915c 100644 --- a/engines/kyra/kyra.h +++ b/engines/kyra/kyra.h @@ -132,6 +132,16 @@ public: bool speechEnabled(); bool textEnabled(); + enum kVolumeEntry { + kVolumeMusic = 0, + kVolumeSfx = 1, + kVolumeSpeech = 2 + }; + + // volume reaches from 2 to 97 + void setVolume(kVolumeEntry vol, uint8 value); + uint8 getVolume(kVolumeEntry vol); + // quit handling virtual void quitGame(); |