22 #ifndef NANCY_CURSOR_H 23 #define NANCY_CURSOR_H 25 #include "common/array.h" 26 #include "common/stream.h" 28 #include "graphics/managed_surface.h" 50 kInvertedRotateRight = 14,
51 kInvertedRotateLeft = 15,
73 kNewHotspotLockedUse = 5,
82 kNewMoveBackward = 18,
89 kNewInvertedRotateRight = 32,
90 kNewInvertedRotateLeft = 34,
103 kNancy13MoveDown = 7,
104 kNancy13MoveLeft = 8,
105 kNancy13MoveRight = 9,
106 kNancy13MoveBackward = 10,
107 kNancy13MoveForward = 12,
110 kNancy13DropHand = 24,
111 kNancy13RotateCCW = 25,
112 kNancy13RotateCW = 26,
113 kNancy13PuzzleArrow = 29
124 void setCursor(CursorType type, int16 itemID,
bool setFromScript,
bool hotspotVariant =
true);
125 void setCursorType(CursorType type,
bool setFromScript =
false,
bool hotspotVariant =
true);
126 void setCursorItemID(int16 itemID);
127 void showCursor(
bool shouldShow);
134 const Common::Point &getCurrentCursorHotspot() {
return _cursors[_curCursorID].hotspot;}
135 const Common::Rect &getPrimaryVideoInactiveZone() {
return _primaryVideoInactiveZone; }
136 const Common::Point &getPrimaryVideoInitialPos() {
return _primaryVideoInitialPos; }
138 const CursorType _puzzleExitCursor;
141 void adjustCursorHotspot();
144 uint resolveNancy10CursorID(CursorType type, int16 itemID,
bool setFromScript,
bool hotspotVariant);
149 uint resolveNancy13CursorID(CursorType type, int16 itemID,
bool setFromScript,
bool hotspotVariant);
166 CursorType _curCursorType;
177 #endif // NANCY_CURSOR_H Definition: managed_surface.h:51
Definition: actionmanager.h:32