From 3f6496d5b5b2caf0b935b27bca557ae53a880302 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sun, 23 Jan 2011 00:05:52 +0000 Subject: HUGO: Cleanup Suppress almost all defines, rename constants svn-id: r55451 --- engines/hugo/mouse.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'engines/hugo/mouse.h') 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); -- cgit v1.2.3