22 #ifndef NANCY_ACTION_RIDDLEPUZZLE_H 23 #define NANCY_ACTION_RIDDLEPUZZLE_H 25 #include "engines/nancy/action/actionrecord.h" 29 struct RiddlePuzzleData;
35 enum SolveState { kWaitForSound, kNotSolved, kFailed, kSolvedOne, kSolvedAll };
42 void execute()
override;
43 void onPause(
bool paused)
override;
57 Common::String getRecordTypeName()
const override {
return "RiddlePuzzle"; }
58 bool isViewportRelative()
const override {
return true; }
62 uint16 _viewportTextFontID = 0;
63 uint16 _textboxTextFontID = 0;
64 Time _cursorBlinkTime;
76 SolveState _solveState = kWaitForSound;
77 bool _playerHasHitReturn =
false;
86 #endif // NANCY_ACTION_RIDDLEPUZZLE_H
Definition: riddlepuzzle.h:47
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: puzzledata.h:82
Definition: commontypes.h:254
Definition: actionmanager.h:32
Definition: riddlepuzzle.h:33