22 #ifndef NANCY_ACTION_HAMRADIOPUZZLE_H 23 #define NANCY_ACTION_HAMRADIOPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 38 void updateGraphics()
override;
41 void execute()
override;
45 Common::String getRecordTypeName()
const override {
return "HamRadioPuzzle"; }
46 bool isViewportRelative()
const override {
return true; }
51 enum ButtonPress { kNone = -1, kConnect = 10, kDot = 11, kDash = 12, kSend = 13, kDelete = 14, kReset = 15 };
71 uint16 _numDigits = 0;
76 uint16 _passwordMaxSize = 0;
102 uint16 _solveSoundDelay = 0;
109 uint16 _exitSoundDelay = 0;
117 bool _digitsRolling =
true;
126 int _pressedButton = kNone;
127 uint32 _buttonEndTime = 0;
129 bool _isOnCorrectFrequency =
false;
130 bool _solvedPassword =
false;
131 bool _solvedCodeword =
false;
137 #endif // NANCY_ACTION_HAMRADIOPUZZLE_H Definition: managed_surface.h:51
Definition: hamradiopuzzle.h:61
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: hamradiopuzzle.h:32
Definition: hamradiopuzzle.h:53
Definition: commontypes.h:254
Definition: commontypes.h:166
Definition: actionmanager.h:32