22 #ifndef NANCY_ACTION_DATARECORDS_H 23 #define NANCY_ACTION_DATARECORDS_H 25 #include "engines/nancy/action/actionrecord.h" 38 void execute()
override;
40 CursorManager::CursorType getHoverCursor()
const override {
return (CursorManager::CursorType)_cursorType; }
43 Common::String getRecordTypeName()
const override {
return "TableIndexSetValueHS"; }
45 uint16 _tableIndex = 0;
46 byte _valueChangeType = kNoChangeTableValue;
47 int16 _entryCorrectFlagID = -1;
48 int16 _allEntriesCorrectFlagID = -1;
51 uint16 _cursorType = 1;
59 void execute()
override;
62 Common::String getRecordTypeName()
const override {
return "SetValue"; }
65 bool _shouldSet =
false;
66 int16 _value = kNoTableValue;
72 void execute()
override;
75 Common::String getRecordTypeName()
const override {
return "SetValueCombo"; }
85 void execute()
override;
88 Common::String getRecordTypeName()
const override {
return "ValueTest"; }
95 int16 _flagToSet = kFlagNoLabel;
101 EventFlags(
bool terse =
false) : _isTerse(terse) {}
105 void execute()
override;
111 Common::String getRecordTypeName()
const override {
return _isTerse ?
"EventFlagsTerse" :
"EventFlags"; }
121 void execute()
override;
123 CursorManager::CursorType getHoverCursor()
const override {
return _hoverCursor; }
125 CursorManager::CursorType _hoverCursor = CursorManager::kHotspot;
131 bool canHaveHotspot()
const override {
return true; }
132 Common::String getRecordTypeName()
const override {
return _isCursor ? (_isTerse ?
"EventFlagsHSTerse" :
"EventFlagsCursorHS") :
"EventFlagsMultiHS"; }
141 void execute()
override;
143 uint16 _difficulty = 0;
147 Common::String getRecordTypeName()
const override {
return "DifficultyLevel"; }
152 enum Type { kAdd, kDelete, kMark };
158 void execute()
override;
162 uint16 _surfaceID = 0;
165 uint16 _sceneID = kNoScene;
174 #endif // NANCY_ACTION_DATARECORDS_H Definition: commontypes.h:199
Definition: datarecords.h:35
Definition: datarecords.h:69
Definition: datarecords.h:138
Definition: datarecords.h:82
Definition: datarecords.h:150
Definition: datarecords.h:99
Definition: actionrecord.h:97
Definition: datarecords.h:56
Definition: commontypes.h:166
Definition: actionmanager.h:32
Definition: datarecords.h:115