aboutsummaryrefslogtreecommitdiff
path: root/engines/lilliput/lilliput.h
diff options
context:
space:
mode:
authorStrangerke2012-04-11 10:59:42 +0200
committerEugene Sandulenko2018-03-28 17:36:57 +0200
commita5271f541817506f33779bc57b76d564ab2773f4 (patch)
treebb29646319b8d40befe85389bf65b57291eb70f0 /engines/lilliput/lilliput.h
parent0ee1ba07865bacc0823aeb618b44ba14522a89ab (diff)
downloadscummvm-rg350-a5271f541817506f33779bc57b76d564ab2773f4.tar.gz
scummvm-rg350-a5271f541817506f33779bc57b76d564ab2773f4.tar.bz2
scummvm-rg350-a5271f541817506f33779bc57b76d564ab2773f4.zip
LILLIPUT: Add preliminar menu support and main loop
Diffstat (limited to 'engines/lilliput/lilliput.h')
-rw-r--r--engines/lilliput/lilliput.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/engines/lilliput/lilliput.h b/engines/lilliput/lilliput.h
index 72839cc064..4d88d4b6f5 100644
--- a/engines/lilliput/lilliput.h
+++ b/engines/lilliput/lilliput.h
@@ -124,14 +124,15 @@ public:
byte _rulesBuffer2_13[40];
byte _rulesBuffer2_14[40];
byte _rulesBuffer2_15[40 * 32];
+ byte *_ptr_rulesBuffer2_15;
byte _rulesBuffer2_16[40 * 32];
int *_rulesChunk3;
int _rulesChunk3_size;
byte *_rulesChunk4;
- byte *_rulesScript;
- int _rulesScript_size;
- int *_rulesChunk6;
- int _rulesChunk6_size;
+ byte *_initScript;
+ int _initScript_size;
+ byte *_menuScript;
+ int _menuScript_size;
int *_rulesChunk7;
int _rulesChunk7_size;
byte *_rulesChunk8;
@@ -177,11 +178,19 @@ public:
int _mouseX;
int _mouseY;
int _mouseButton;
+ int _savedMousePosDivided;
+
+ byte _byte16F07_menuId;
+ byte _byte12FCE;
+ byte _byte129A0;
+ int _word10804;
void pollEvent();
+ void sub170EE(int index);
+ void sub130DD();
+ void sub17083();
// Temporary stubs
- byte _mouse_savedMousePosDivided;
byte _keyboard_getch();
protected:
@@ -190,6 +199,7 @@ protected:
// Engine APIs
Common::Error run();
+ void handleMenu();
private:
static LilliputEngine *s_Engine;