22 #ifndef NANCY_ACTION_ORDERINGPUZZLE_H 23 #define NANCY_ACTION_ORDERINGPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 41 enum SolveState { kNotSolved, kPlaySound, kWaitForSound };
42 enum PuzzleType { kOrdering, kPiano, kOrderItems, kKeypad, kKeypadTerse };
49 void execute()
override;
54 bool isViewportRelative()
const override {
return true; }
56 void pushDown(uint
id);
57 void setToSecondState(uint
id);
59 void clearAllElements();
62 bool _hasSecondState =
false;
63 bool _itemsStayDown =
true;
64 bool _needButtonToCheckSuccess =
false;
65 bool _checkOrder =
true;
75 uint16 _specialCursor1Id = CursorManager::kHotspot;
77 uint16 _specialCursor2Id = CursorManager::kHotspot;
82 uint16 _state2InvItem = 0;
91 uint16 _solveSoundDelay = 0;
96 SolveState _solveState = kNotSolved;
101 Time _solveSoundPlayTime;
102 bool _checkButtonPressed =
false;
104 PuzzleType _puzzleType;
110 #endif // NANCY_ACTION_ORDERINGPUZZLE_H Definition: managed_surface.h:51
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: orderingpuzzle.h:39
Definition: commontypes.h:254
Definition: actionmanager.h:32