diff options
Diffstat (limited to 'engines/kyra/gui_lol.h')
-rw-r--r-- | engines/kyra/gui_lol.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/kyra/gui_lol.h b/engines/kyra/gui_lol.h index 0686926534..dbf54e41f0 100644 --- a/engines/kyra/gui_lol.h +++ b/engines/kyra/gui_lol.h @@ -25,7 +25,7 @@ #ifndef KYRA_GUI_LOL_H #define KYRA_GUI_LOL_H -#include "kyra/gui.h" +#include "kyra/gui_v1.h" namespace Kyra { #define GUI_LOL_MENU(menu, a, b, c, d, e, f, g, i) \ @@ -88,7 +88,7 @@ namespace Kyra { class LoLEngine; class Screen_LoL; -class GUI_LoL : public GUI { +class GUI_LoL : public GUI_v1 { friend class LoLEngine; public: GUI_LoL(LoLEngine *vm); @@ -112,7 +112,6 @@ private: void restorePage0(); void setupSaveMenuSlots(Menu &menu, int num); - void updateSavegameList(); void printMenuText(const char *str, int x, int y, uint8 c0, uint8 c1, uint8 flags); int getMenuCenterStringX(const char *str, int x1, int x2); @@ -162,9 +161,7 @@ private: Button *_specialProcessButton; Button *_backUpButtonList; - bool _buttonListChanged; uint16 _flagsModifier; - uint8 _mouseClick; int _savegameOffset; int _sliderSfx; @@ -172,9 +169,7 @@ private: Button::Callback _scrollUpFunctor; Button::Callback _scrollDownFunctor; - char **_savegameList; - int _savegameListSize; - bool _savegameListUpdateNeeded; + virtual void sortSaveSlots(); }; } // End of namespace Kyra |