diff options
author | Oystein Eftevaag | 2006-08-26 22:17:30 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2006-08-26 22:17:30 +0000 |
commit | c47a957fb3dda1e8e43854b3919e4326c9fcba5a (patch) | |
tree | 245192e9bd33a27114752b679bd0f29921ef0972 /engines/kyra/kyra.h | |
parent | 89e75ae218c359e949c0336181e0f79eb2137667 (diff) | |
download | scummvm-rg350-c47a957fb3dda1e8e43854b3919e4326c9fcba5a.tar.gz scummvm-rg350-c47a957fb3dda1e8e43854b3919e4326c9fcba5a.tar.bz2 scummvm-rg350-c47a957fb3dda1e8e43854b3919e4326c9fcba5a.zip |
Adds some framework for the Kyra2 intro, expands it a little bit and adds some static resources (strings, etc). Also
adding a modified version of eriktorbjorn's '[1531929] KYRA: Kyra 2 & 3 main menu unification', with added mouse pointer and sundry.
svn-id: r23766
Diffstat (limited to 'engines/kyra/kyra.h')
-rw-r--r-- | engines/kyra/kyra.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/kyra/kyra.h b/engines/kyra/kyra.h index 1dd4289907..2290e9eb36 100644 --- a/engines/kyra/kyra.h +++ b/engines/kyra/kyra.h @@ -696,6 +696,18 @@ protected: void gui_restorePalette(); void gui_setupControls(Menu &menu); + // Kyra 2 and 3 main menu + + static const char *_mainMenuStrings[]; + virtual void gui_initMainMenu() {}; + int gui_handleMainMenu(); + virtual void gui_updateMainMenuAnimation(); + void gui_drawMainMenu(const char * const *strings, int select); + void gui_drawMainBox(int x, int y, int w, int h, int fill); + bool gui_mainMenuGetInput(); + + void gui_printString(const char *string, int x, int y, int col1, int col2, int flags, ...); + uint8 _game; bool _quitFlag; bool _skipFlag; @@ -711,6 +723,7 @@ protected: uint16 _gameSpeed; uint16 _tickLength; uint32 _features; + int _lang; int _mouseX, _mouseY; int8 _itemInHand; int _mouseState; |