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,
75 kNewHotspotLockedUse = 5,
84 kNewMoveBackward = 18,
91 kNewInvertedRotateRight = 32,
92 kNewInvertedRotateLeft = 34,
94 kNewUseHandHotspot = 37,
96 kNewDragHandHotspot = 39,
100 kNewPuzzleArrow = 45,
101 kNewPuzzleSlideUp = 47,
102 kNewPuzzleSlideDown = 49,
103 kNewPuzzleSlideLeft = 51,
104 kNewPuzzleSlideRight = 53,
117 kNancy13MoveDown = 7,
118 kNancy13MoveLeft = 8,
119 kNancy13MoveRight = 9,
120 kNancy13MoveBackward = 10,
121 kNancy13MoveForward = 12,
123 kNancy13RotateRight = 17,
124 kNancy13RotateLeft = 18,
126 kNancy13InvertedRotateRight = 20,
127 kNancy13InvertedRotateLeft = 21,
131 kNancy13PuzzleRotateCW = 25,
132 kNancy13PuzzleRotateCCW = 26,
133 kNancy13PuzzleDragHand = 28,
134 kNancy13PuzzleDropHand = 29,
135 kNancy13PuzzleMoveUp = 30,
136 kNancy13PuzzleMoveDown = 31,
137 kNancy13PuzzleArrow = 34
148 void setCursor(CursorType type, int16 itemID,
bool setFromScript,
bool hotspotVariant =
true);
149 void setCursorType(CursorType type,
bool setFromScript =
false,
bool hotspotVariant =
true);
150 void setCursorItemID(int16 itemID);
151 void showCursor(
bool shouldShow);
158 const Common::Point &getCurrentCursorHotspot() {
return _cursors[_curCursorID].hotspot;}
159 const Common::Rect &getPrimaryVideoInactiveZone() {
return _primaryVideoInactiveZone; }
160 const Common::Point &getPrimaryVideoInitialPos() {
return _primaryVideoInitialPos; }
162 const CursorType _puzzleExitCursor;
165 void adjustCursorHotspot();
168 uint resolveNancy10CursorID(CursorType type, int16 itemID,
bool setFromScript,
bool hotspotVariant);
173 uint resolveNancy13CursorID(CursorType type, int16 itemID,
bool setFromScript,
bool hotspotVariant);
190 CursorType _curCursorType;
201 #endif // NANCY_CURSOR_H Definition: managed_surface.h:51
Definition: actionmanager.h:32