22 #ifndef NANCY_ACTION_OVERRIDELOCKPUZZLE_H 23 #define NANCY_ACTION_OVERRIDELOCKPUZZLE_H 25 #include "engines/nancy/action/actionrecord.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;
47 Common::String getRecordTypeName()
const override {
return "OverrideLockPuzzle"; }
48 bool isViewportRelative()
const override {
return true; }
50 void drawButton(uint buttonID,
bool clear);
53 enum SolveState { kNotSolved, kSolved };
57 byte _popButtons = kButtonsStayDown;
58 byte _randomizeLights = kLightsCircular;
84 SolveState _solveState = kNotSolved;
85 int8 _lastPushedButton = -1;
91 #endif // NANCY_ACTION_OVERRIDELOCKPUZZLE_H Definition: managed_surface.h:51
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: commontypes.h:254
Definition: actionmanager.h:32
Definition: overridelockpuzzle.h:30