aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_v2.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/gui_v2.h')
-rw-r--r--engines/kyra/gui_v2.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/kyra/gui_v2.h b/engines/kyra/gui_v2.h
index 8fb3d3fa74..e8a22bc617 100644
--- a/engines/kyra/gui_v2.h
+++ b/engines/kyra/gui_v2.h
@@ -111,7 +111,7 @@ private:
Button _menuButtons[7];
Button _scrollUpButton;
Button _scrollDownButton;
- Menu _mainMenu, _choiceMenu, _loadMenu, _saveMenu, _savenameMenu, _deathMenu;
+ Menu _mainMenu, _gameOptions, _choiceMenu, _loadMenu, _saveMenu, _savenameMenu, _deathMenu;
void initStaticData();
const char *getMenuTitle(const Menu &menu);
@@ -133,6 +133,8 @@ private:
uint8 defaultColor1() const { return 0xCF; }
uint8 defaultColor2() const { return 0xF8; }
+ void renewHighlight(Menu &menu);
+
void setupPalette();
void restorePalette();
@@ -153,6 +155,7 @@ private:
bool _isDeathMenu;
bool _isSaveMenu;
bool _isChoiceMenu;
+ bool _isOptionsMenu;
bool _madeSave;
bool _loadedSave;
bool _restartGame;
@@ -166,6 +169,16 @@ private:
int quitGame(Button *caller);
int resumeGame(Button *caller);
+ // options menu
+ int gameOptions(Button *caller);
+ int quitOptionsMenu(Button *caller);
+
+ int toggleWalkspeed(Button *caller);
+ int changeLanguage(Button *caller);
+ int toggleText(Button *caller);
+
+ void setupOptionsButtons();
+
// load menu
bool _noLoadProcess;
int loadMenu(Button *caller);