22 #ifndef NANCY_ACTION_OVERRIDELOCKPUZZLE_H 23 #define NANCY_ACTION_OVERRIDELOCKPUZZLE_H 25 #include "engines/nancy/action/puzzlerecord.h" 32 static const byte kButtonsStayDown = 1;
33 static const byte kButtonsPopUp = 2;
35 static const byte kLightsCircular = 3;
36 static const byte kLightsRandom = 4;
43 void execute()
override;
46 bool isViewportRelative()
const override {
return true; }
49 Common::String getRecordTypeName()
const override {
return "OverrideLockPuzzle"; }
51 void drawButton(uint buttonID,
bool clear);
54 enum SolveState { kNotSolved, kSolved };
56 byte _popButtons = kButtonsStayDown;
57 byte _randomizeLights = kLightsCircular;
75 SolveState _solveState = kNotSolved;
76 int8 _lastPushedButton = -1;
82 #endif // NANCY_ACTION_OVERRIDELOCKPUZZLE_H
Definition: puzzlerecord.h:37
Definition: commontypes.h:306
Definition: actionmanager.h:32
Definition: overridelockpuzzle.h:30