aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_mr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/gui_mr.cpp')
-rw-r--r--engines/kyra/gui_mr.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/engines/kyra/gui_mr.cpp b/engines/kyra/gui_mr.cpp
index 655585b734..bf04e66a51 100644
--- a/engines/kyra/gui_mr.cpp
+++ b/engines/kyra/gui_mr.cpp
@@ -1050,18 +1050,6 @@ void GUI_MR::setupOptionsButtons() {
_gameOptions.item[3].itemId = 17;
}
-int GUI_MR::toggleWalkspeed(Button *caller) {
- updateMenuButton(caller);
- if (_vm->_configWalkspeed == 5)
- _vm->_configWalkspeed = 3;
- else
- _vm->_configWalkspeed = 5;
- _vm->_mainCharacter.walkspeed = _vm->_configWalkspeed;
- setupOptionsButtons();
- renewHighlight(_gameOptions);
- return 0;
-}
-
int GUI_MR::changeLanguage(Button *caller) {
updateMenuButton(caller);
if (!_vm->queryGameFlag(0x1B2)) {
@@ -1089,25 +1077,5 @@ int GUI_MR::toggleSkipSupport(Button *caller) {
return 0;
}
-int GUI_MR::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;
-}
-
} // end of namespace Kyra