From b7f7635876d3621b11d66cddca9babc1b5f1a1c6 Mon Sep 17 00:00:00 2001 From: athrxx Date: Sun, 6 Nov 2011 17:35:27 +0100 Subject: KYRA: (EOB) - implement memorize/pray spells menu --- engines/kyra/gui_eob.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'engines/kyra/gui_eob.h') diff --git a/engines/kyra/gui_eob.h b/engines/kyra/gui_eob.h index bb446f75a0..6d4edfde24 100644 --- a/engines/kyra/gui_eob.h +++ b/engines/kyra/gui_eob.h @@ -62,7 +62,7 @@ public: void runCampMenu(); int runLoadMenu(int x, int y); - void highLightBoxFrame(int box); + void updateBoxFrameHighLight(int box); int getTextInput(char *dest, int x, int y, int destMaxLen, int textColor1, int textColor2, int cursorColor); @@ -89,6 +89,7 @@ private: Button *initMenu(int id); void drawMenuButton(Button *b, bool clicked, bool highlight, bool noFill); void drawMenuButtonBox(int x, int y, int w, int h, bool clicked, bool noFill); + void memorizePrayMenuPrintString(int spellId, int bookPageIndex, int spellType, bool noFill, bool highLight); void updateOptionsStrings(); const char *getMenuString(int id); @@ -118,9 +119,15 @@ private: Button::Callback _scrollDownFunctor; int _menuLineSpacing; - int _menuUnk1; + //int _menuUnk1; int _menuLastInFlags; + uint8 _numPages; + uint8 _numVisPages; + int8 *_numAssignedSpellsOfType; + uint32 _clericSpellAvltyFlags; + uint32 _paladinSpellAvltyFlags; + int _menuCur; int _menuNumItems; bool _charSelectRedraw; @@ -128,7 +135,7 @@ private: int _updateBoxIndex; int _updateBoxColorIndex; uint32 _highLightBoxTimer; - static const EobRect16 _highLightBoxFrames[]; + static const EobRect16 _updateBoxFrameHighLights[]; // unused Button *getButtonListData() { return 0; } -- cgit v1.2.3