aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/mouse.h
diff options
context:
space:
mode:
authorArnaud Boutonné2011-01-23 00:05:52 +0000
committerArnaud Boutonné2011-01-23 00:05:52 +0000
commit3f6496d5b5b2caf0b935b27bca557ae53a880302 (patch)
tree0b1da465ca9b7c1787ab73865366df4e4c89c721 /engines/hugo/mouse.h
parent257a6b2e6d432cd343e213218474a61f61a72980 (diff)
downloadscummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.gz
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.tar.bz2
scummvm-rg350-3f6496d5b5b2caf0b935b27bca557ae53a880302.zip
HUGO: Cleanup
Suppress almost all defines, rename constants svn-id: r55451
Diffstat (limited to 'engines/hugo/mouse.h')
-rw-r--r--engines/hugo/mouse.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/hugo/mouse.h b/engines/hugo/mouse.h
index 0fcb651b3a..76990e83da 100644
--- a/engines/hugo/mouse.h
+++ b/engines/hugo/mouse.h
@@ -43,6 +43,18 @@ public:
private:
HugoEngine *_vm;
+ #define CURSOR_NOCHAR '~' // Don't show name of object under cursor
+
+ static const int kExitHotspot = -4; // Cursor over Exit hotspot
+ static const int kCursorNameIndex = 2; // Index of name used under cursor
+ static const int kCursorNameOffX = 10; // Cursor offset to name string
+ static const int kCursorNameOffY = -2; // Cursor offset to name string
+
+ enum seqTextMouse {
+ kMsNoWayText = 0,
+ kMsExit = 1
+ };
+
void cursorText(char *buffer, int16 cx, int16 cy, uif_t fontId, int16 color);
int16 findExit(int16 cx, int16 cy);
void processRightClick(int16 objId, int16 cx, int16 cy);