aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/user_interface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-30 21:07:01 -0400
committerPaul Gilbert2015-03-30 21:07:01 -0400
commit943d0a702fe468f14fb40f73ef68588705488037 (patch)
treef92f1c06acd087a7daaefa0042081d8d08bcf877 /engines/sherlock/user_interface.h
parent3149ce0204f658e7420f16a151710f43052506f2 (diff)
downloadscummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.tar.gz
scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.tar.bz2
scummvm-rg350-943d0a702fe468f14fb40f73ef68588705488037.zip
SHERLOCK: Beginnings of talk loading, added skeleton Scripts class
Diffstat (limited to 'engines/sherlock/user_interface.h')
-rw-r--r--engines/sherlock/user_interface.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/sherlock/user_interface.h b/engines/sherlock/user_interface.h
index 14462d6a34..157900f0aa 100644
--- a/engines/sherlock/user_interface.h
+++ b/engines/sherlock/user_interface.h
@@ -57,9 +57,11 @@ extern const char INVENTORY_COMMANDS[9];
class SherlockEngine;
class Inventory;
+class Talk;
class UserInterface {
friend class Inventory;
+ friend class Talk;
private:
SherlockEngine *_vm;
ImageFile *_controlPanel;
@@ -72,7 +74,6 @@ private:
int _help, _oldHelp;
int _key, _oldKey;
int _temp, _oldTemp;
- int _invLookFlag;
int _oldLook;
bool _keyboardInput;
bool _pause;
@@ -89,8 +90,6 @@ private:
private:
void depressButton(int num);
- void restoreButton(int num);
-
void pushButton(int num);
void toggleButton(int num);
@@ -120,13 +119,15 @@ public:
int _menuCounter;
bool _infoFlag;
bool _windowOpen;
+ bool _endKeyActive;
+ int _invLookFlag;
public:
UserInterface(SherlockEngine *vm);
~UserInterface();
void reset();
- void drawInterface();
+ void drawInterface(int bufferNum = 3);
void handleInput();
@@ -140,6 +141,8 @@ public:
void summonWindow(const Surface &bgSurface, bool slideUp = true);
void summonWindow(bool slideUp = true, int height = CONTROLS_Y);
void banishWindow(bool slideUp = true);
+
+ void restoreButton(int num);
};
} // End of namespace Sherlock