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; }
41 bool cursorSetFromScript()
const override {
return true; }
44 Common::String getRecordTypeName()
const override {
return "TableIndexSetValueHS"; }
46 uint16 _tableIndex = 0;
47 byte _valueChangeType = kNoChangeTableValue;
48 int16 _entryCorrectFlagID = -1;
49 int16 _allEntriesCorrectFlagID = -1;
52 uint16 _cursorType = 1;
60 void execute()
override;
63 Common::String getRecordTypeName()
const override {
return "SetValue"; }
66 bool _shouldSet =
false;
67 int16 _value = kNoTableValue;
73 void execute()
override;
76 Common::String getRecordTypeName()
const override {
return "SetValueCombo"; }
86 void execute()
override;
89 Common::String getRecordTypeName()
const override {
return "ValueTest"; }
96 int16 _flagToSet = kFlagNoLabel;
102 EventFlags(
bool terse =
false) : _isTerse(terse) {}
106 void execute()
override;
112 Common::String getRecordTypeName()
const override {
return _isTerse ?
"EventFlagsTerse" :
"EventFlags"; }
122 void execute()
override;
124 CursorManager::CursorType getHoverCursor()
const override;
125 bool cursorSetFromScript()
const override {
return true; }
127 CursorManager::CursorType _hoverCursor = CursorManager::kHotspot;
132 bool canHaveHotspot()
const override {
return true; }
135 Common::String getRecordTypeName()
const override {
return _isCursor ? (_isTerse ?
"EventFlagsHSTerse" :
"EventFlagsCursorHS") :
"EventFlagsMultiHS"; }
142 void execute()
override;
147 Common::String getRecordTypeName()
const override {
return "RandomizeEventFlags"; }
156 void execute()
override;
158 uint16 _difficulty = 0;
162 Common::String getRecordTypeName()
const override {
return "DifficultyLevel"; }
167 enum Type { kAdd, kDelete, kMark };
173 void execute()
override;
177 uint16 _surfaceID = 0;
180 uint16 _sceneID = kNoScene;
189 #endif // NANCY_ACTION_DATARECORDS_H Definition: commontypes.h:200
Definition: datarecords.h:35
Definition: datarecords.h:70
Definition: datarecords.h:153
Definition: datarecords.h:139
Definition: datarecords.h:83
Definition: datarecords.h:165
Definition: datarecords.h:100
Definition: actionrecord.h:97
Definition: datarecords.h:57
Definition: commontypes.h:167
Definition: actionmanager.h:32
Definition: datarecords.h:116