aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_user_interface.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-13 14:53:50 -0400
committerPaul Gilbert2015-06-13 14:53:50 -0400
commit7d2f15d8212f088950385cfc4ec91059b728c95c (patch)
tree6c28816c2d05d417b08f3dab5e55dd66fe25be75 /engines/sherlock/tattoo/tattoo_user_interface.h
parente16ae1a2e72f4cc7265214db489c73cebc1d8a35 (diff)
downloadscummvm-rg350-7d2f15d8212f088950385cfc4ec91059b728c95c.tar.gz
scummvm-rg350-7d2f15d8212f088950385cfc4ec91059b728c95c.tar.bz2
scummvm-rg350-7d2f15d8212f088950385cfc4ec91059b728c95c.zip
SHERLOCK: RT: Implemented doStandardControl
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_user_interface.h')
-rw-r--r--engines/sherlock/tattoo/tattoo_user_interface.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.h b/engines/sherlock/tattoo/tattoo_user_interface.h
index c827b9ad75..ef56e5903a 100644
--- a/engines/sherlock/tattoo/tattoo_user_interface.h
+++ b/engines/sherlock/tattoo/tattoo_user_interface.h
@@ -24,6 +24,7 @@
#define SHERLOCK_TATTOO_UI_H
#include "common/scummsys.h"
+#include "sherlock/saveload.h"
#include "sherlock/user_interface.h"
namespace Sherlock {
@@ -50,6 +51,11 @@ private:
bool _personFound;
int _lockoutTimer;
Common::KeyState _keyState;
+ SaveMode _fileMode;
+ int _exitZone;
+ int _scriptZone;
+ int _arrowZone, _oldArrowZone;
+ int _activeObj;
private:
/**
* Draws designated areas of the screen that are meant to be grayed out using grayscale colors
@@ -96,6 +102,53 @@ private:
* Handles input when the player is in the Lab Table scene
*/
void doLabControl();
+
+ /**
+ * If the mouse cursor is point at the cursor, then display the name of the object on the screen.
+ * If there is no object being pointed it, clear any previously displayed name
+ */
+ void displayObjectNames();
+
+ /**
+ * Set up to display the Files menu
+ */
+ void initFileMenu();
+
+ /**
+ * Turn off any active object description text
+ */
+ void turnTextOff();
+
+ /**
+ * Handles displaying the journal
+ */
+ void doJournal();
+
+ /**
+ * Put the game in inventory mode by opening the inventory dialog
+ */
+ void doInventory(int mode);
+
+ /**
+ * Handle the display of the options/setup menu
+ */
+ void doControls();
+
+ /**
+ * Handle displaying the quit menu
+ */
+ void doQuitMenu();
+
+ /**
+ * Turn on the command menu showing available actions that can be done on a given item
+ */
+ void activateVerbMenu(bool objectsOn);
+
+ /**
+ * Display the long description for an object stored in it's _examine field, in a window that
+ * will be shown at the bottom of the screen
+ */
+ void lookAtObject();
public:
Common::Point _currentScroll, _targetScroll;
int _scrollSize, _scrollSpeed;
@@ -129,6 +182,11 @@ public:
* Draw the user interface onto the screen's back buffers
*/
virtual void drawInterface(int bufferNum = 3);
+
+
+ void checkAction(UseType &use, int objNum) {
+ // TODO: Get rid of this stub, and properly use the UserInterface method
+ }
};
} // End of namespace Tattoo