mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
JANITORIAL: Whitespace fixes
This commit is contained in:
parent
cf42883f5e
commit
29d6e9a754
@ -708,7 +708,7 @@ bool ToonEngine::showOptions() {
|
||||
entries[2].activeFrame = entries[2].animation->_numFrames - 1;
|
||||
|
||||
if (!_showConversationText) {
|
||||
entries[4].activeFrame = 4;
|
||||
entries[4].activeFrame = 4;
|
||||
} else if (_useAlternativeFont) {
|
||||
entries[4].activeFrame = 8;
|
||||
} else {
|
||||
@ -797,19 +797,19 @@ bool ToonEngine::showOptions() {
|
||||
// handle sliders
|
||||
if (clickingOn == OPTIONMENUHOTSPOT_VOLUMEMUSICSLIDER) {
|
||||
entries[clickingOnSprite].activeFrame = ratioX * (entries[clickingOnSprite].animation->_numFrames) / 256;
|
||||
int vol = entries[clickingOnSprite].activeFrame * 256 / entries[clickingOnSprite].animation->_numFrames;
|
||||
int vol = entries[clickingOnSprite].activeFrame * 256 / entries[clickingOnSprite].animation->_numFrames;
|
||||
_audioManager->_mixer->setVolumeForSoundType(Audio::Mixer::kMusicSoundType, vol);
|
||||
}
|
||||
|
||||
if (clickingOn == OPTIONMENUHOTSPOT_VOLUMEVOICESLIDER) {
|
||||
entries[clickingOnSprite].activeFrame = ratioX * (entries[clickingOnSprite].animation->_numFrames) / 256;
|
||||
int vol = entries[clickingOnSprite].activeFrame * 256 / entries[clickingOnSprite].animation->_numFrames;
|
||||
int vol = entries[clickingOnSprite].activeFrame * 256 / entries[clickingOnSprite].animation->_numFrames;
|
||||
_audioManager->_mixer->setVolumeForSoundType(Audio::Mixer::kSpeechSoundType, vol);
|
||||
}
|
||||
|
||||
if (clickingOn == OPTIONMENUHOTSPOT_VOLUMESFXSLIDER) {
|
||||
entries[clickingOnSprite].activeFrame = ratioX * (entries[clickingOnSprite].animation->_numFrames) / 256;
|
||||
int vol = entries[clickingOnSprite].activeFrame * 256 / entries[clickingOnSprite].animation->_numFrames;
|
||||
int vol = entries[clickingOnSprite].activeFrame * 256 / entries[clickingOnSprite].animation->_numFrames;
|
||||
_audioManager->_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, vol);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user