aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_eob.h
diff options
context:
space:
mode:
authorathrxx2011-11-06 17:35:27 +0100
committerJohannes Schickel2011-12-26 16:18:12 +0100
commitb7f7635876d3621b11d66cddca9babc1b5f1a1c6 (patch)
tree39b54d7e9a7b5cfa66aabbf7a1ce718632466192 /engines/kyra/gui_eob.h
parentd7f2720b5709b1b4a93f81163752d2da148d2fd9 (diff)
downloadscummvm-rg350-b7f7635876d3621b11d66cddca9babc1b5f1a1c6.tar.gz
scummvm-rg350-b7f7635876d3621b11d66cddca9babc1b5f1a1c6.tar.bz2
scummvm-rg350-b7f7635876d3621b11d66cddca9babc1b5f1a1c6.zip
KYRA: (EOB) - implement memorize/pray spells menu
Diffstat (limited to 'engines/kyra/gui_eob.h')
-rw-r--r--engines/kyra/gui_eob.h13
1 files changed, 10 insertions, 3 deletions
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; }