22 #ifndef NANCY_ACTION_SETPLAYERCLOCK_H 23 #define NANCY_ACTION_SETPLAYERCLOCK_H 25 #include "engines/nancy/action/actionrecord.h" 33 enum AlarmState { kTimeMode, kAlarmMode, kWait };
40 void execute()
override;
44 Common::String getRecordTypeName()
const override {
return "SetPlayerClock"; }
45 bool isViewportRelative()
const override {
return true; }
47 void drawTime(uint16 hours, uint16 minutes);
77 uint16 _alarmSoundDelay = 0;
83 int8 _lastDrawnHours = -1;
84 int8 _lastDrawnMinutes = -1;
85 int8 _alarmHours = -1;
86 bool _clearButton =
true;
87 Time _sceneChangeTime;
89 AlarmState _alarmState = kTimeMode;
95 #endif // NANCY_ACTION_SETPLAYERCLOCK_H Definition: managed_surface.h:51
Definition: commontypes.h:171
Definition: actionrecord.h:149
Definition: setplayerclock.h:31
Definition: commontypes.h:254
Definition: actionmanager.h:32