aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BSoundMgr.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-08 20:07:01 +0200
committerEinar Johan Trøan Sømåen2012-07-08 20:07:01 +0200
commit5afd4c966e99c4bd7f413f61efa2a0cf8fee4ecc (patch)
treef72f9f03d91d86164d170fcd1e7df27ce6dcd880 /engines/wintermute/Base/BSoundMgr.cpp
parentcf63cea1e85a7999e4502dabf3d129ed4d293249 (diff)
downloadscummvm-rg350-5afd4c966e99c4bd7f413f61efa2a0cf8fee4ecc.tar.gz
scummvm-rg350-5afd4c966e99c4bd7f413f61efa2a0cf8fee4ecc.tar.bz2
scummvm-rg350-5afd4c966e99c4bd7f413f61efa2a0cf8fee4ecc.zip
WINTERMUTE: Rename FuncName->funcName in BRegistry
Diffstat (limited to 'engines/wintermute/Base/BSoundMgr.cpp')
-rw-r--r--engines/wintermute/Base/BSoundMgr.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/wintermute/Base/BSoundMgr.cpp b/engines/wintermute/Base/BSoundMgr.cpp
index 27e96f7d75..7cebbdfc2e 100644
--- a/engines/wintermute/Base/BSoundMgr.cpp
+++ b/engines/wintermute/Base/BSoundMgr.cpp
@@ -71,11 +71,11 @@ HRESULT CBSoundMgr::cleanup() {
//////////////////////////////////////////////////////////////////////////
void CBSoundMgr::saveSettings() {
if (_soundAvailable) {
- Game->_registry->WriteInt("Audio", "MasterVolume", _volumeMaster);
+ Game->_registry->writeInt("Audio", "MasterVolume", _volumeMaster);
- Game->_registry->WriteInt("Audio", "SFXVolume", _volumeSFX);
- Game->_registry->WriteInt("Audio", "SpeechVolume", _volumeSpeech);
- Game->_registry->WriteInt("Audio", "MusicVolume", _volumeMusic);
+ Game->_registry->writeInt("Audio", "SFXVolume", _volumeSFX);
+ Game->_registry->writeInt("Audio", "SpeechVolume", _volumeSpeech);
+ Game->_registry->writeInt("Audio", "MusicVolume", _volumeMusic);
}
}
@@ -101,11 +101,11 @@ HRESULT CBSoundMgr::initialize() {
}
#endif
- _volumeMaster = Game->_registry->ReadInt("Audio", "MasterVolume", 100);
+ _volumeMaster = Game->_registry->readInt("Audio", "MasterVolume", 100);
- _volumeSFX = Game->_registry->ReadInt("Audio", "SFXVolume", 100);
- _volumeSpeech = Game->_registry->ReadInt("Audio", "SpeechVolume", 100);
- _volumeMusic = Game->_registry->ReadInt("Audio", "MusicVolume", 100);
+ _volumeSFX = Game->_registry->readInt("Audio", "SFXVolume", 100);
+ _volumeSpeech = Game->_registry->readInt("Audio", "SpeechVolume", 100);
+ _volumeMusic = Game->_registry->readInt("Audio", "MusicVolume", 100);
_soundAvailable = true;
setMasterVolumePercent(_volumeMaster);