diff options
Diffstat (limited to 'engines/kyra/gui_hof.cpp')
-rw-r--r-- | engines/kyra/gui_hof.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/engines/kyra/gui_hof.cpp b/engines/kyra/gui_hof.cpp index 1ca90c6549..08cfd2a1e9 100644 --- a/engines/kyra/gui_hof.cpp +++ b/engines/kyra/gui_hof.cpp @@ -1001,18 +1001,6 @@ int GUI_HoF::gameOptionsTalkie(Button *caller) { return 0; } -int GUI_HoF::toggleWalkspeed(Button *caller) { - updateMenuButton(caller); - if (_vm->_configWalkspeed == 5) - _vm->_configWalkspeed = 3; - else - _vm->_configWalkspeed = 5; - _vm->_timer->setDelay(0, _vm->_configWalkspeed); - setupOptionsButtons(); - renewHighlight(_gameOptions); - return 0; -} - int GUI_HoF::changeLanguage(Button *caller) { updateMenuButton(caller); ++_vm->_lang; @@ -1022,26 +1010,6 @@ int GUI_HoF::changeLanguage(Button *caller) { return 0; } -int GUI_HoF::toggleText(Button *caller) { - updateMenuButton(caller); - - if (_vm->textEnabled()) { - if (_vm->speechEnabled()) - _vm->_configVoice = 1; - else - _vm->_configVoice = 3; - } else { - if (_vm->speechEnabled()) - _vm->_configVoice = 2; - else - _vm->_configVoice = 0; - } - - setupOptionsButtons(); - renewHighlight(_gameOptions); - return 0; -} - void GUI_HoF::setupOptionsButtons() { if (_vm->_configWalkspeed == 3) _gameOptions.item[0].itemId = 28; |