22 #ifndef NANCY_ACTION_RIPPEDLETTERPUZZLE_H 23 #define NANCY_ACTION_RIPPEDLETTERPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 26 #include "engines/nancy/misc/mousefollow.h" 30 struct RippedLetterPuzzleData;
36 enum SolveState { kNotSolved, kWaitForSound };
37 enum RotationType { kRotationNone = 0, kRotation90 = 1, kRotation180 = 2 };
42 void registerGraphics()
override;
44 void execute()
override;
56 RotationType _rotationType = kRotation90;
65 bool _useAltSolution =
false;
67 bool _useCustomPickUpTile =
false;
80 int16 _customCursorID = -1;
85 SolveState _solveState = kNotSolved;
89 Common::String getRecordTypeName()
const override {
return "RippedLetterPuzzle"; }
90 bool isViewportRelative()
const override {
return true; }
92 void drawPiece(
const uint pos,
const byte rotation,
const int pieceID = -1);
93 bool checkOrder(
bool useAlt);
99 #endif //NANCY_ACTION_RIPPEDLETTERPUZZLE_H Definition: managed_surface.h:51
Definition: puzzledata.h:54
Definition: rippedletterpuzzle.h:34
Definition: mousefollow.h:42
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: commontypes.h:254
Definition: actionmanager.h:32