aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/menu.cpp
diff options
context:
space:
mode:
authorNipun Garg2019-07-14 01:45:06 +0530
committerEugene Sandulenko2019-09-03 17:17:20 +0200
commita745d45f380d9cd6a042171b8cb2ceabe1b62ce5 (patch)
treee0df38f748ca5009e91f414e9d3e8483402e4475 /engines/hdb/menu.cpp
parent9dec31c4586e2733cbe9fe6eb9f49673adfbd38b (diff)
downloadscummvm-rg350-a745d45f380d9cd6a042171b8cb2ceabe1b62ce5.tar.gz
scummvm-rg350-a745d45f380d9cd6a042171b8cb2ceabe1b62ce5.tar.bz2
scummvm-rg350-a745d45f380d9cd6a042171b8cb2ceabe1b62ce5.zip
HDB: Ignore the Controls Option
Diffstat (limited to 'engines/hdb/menu.cpp')
-rw-r--r--engines/hdb/menu.cpp18
1 files changed, 12 insertions, 6 deletions
diff --git a/engines/hdb/menu.cpp b/engines/hdb/menu.cpp
index 53ffcdab96..99d9c7790e 100644
--- a/engines/hdb/menu.cpp
+++ b/engines/hdb/menu.cpp
@@ -467,13 +467,17 @@ void Menu::drawMenu() {
// title logo
_titleLogo->drawMasked(centerPic(_titleLogo), _rocketY + kMTitleY);
_menuBackoutGfx->drawMasked(kBackoutX, kBackoutY);
- _controlButtonGfx->drawMasked(centerPic(_controlButtonGfx), kMControlsY);
+
+ // Ignore Controls Screen Button
+ //_controlButtonGfx->drawMasked(centerPic(_controlButtonGfx), kMControlsY);
} else if (_optionsActive == 2) {
//
// Draw CONTROLS screen
//
- controlsDraw();
- return;
+
+ // Ignore Controls Assignment
+ //controlsDraw();
+ return;
}
} else if (_gamefilesActive) {
//-------------------------------------------------------------------
@@ -1139,9 +1143,11 @@ void Menu::processInput(int x, int y) {
} else if (x >= (kScreenWidth / 2 - _controlButtonGfx->_width / 2) && x < (kScreenWidth / 2 + _controlButtonGfx->_width / 2) &&
y >= kMControlsY && y < kMControlsY + _controlButtonGfx->_height) {
// CONTROLS BUTTON!
- _optionsActive = 2;
- _clickDelay = 20;
- g_hdb->_sound->playSound(SND_POP);
+
+ // Ignore Controls Button
+ //_optionsActive = 2;
+ //_clickDelay = 20;
+ //g_hdb->_sound->playSound(SND_POP);
}
} else if (_gamefilesActive) {
//-------------------------------------------------------------------