22 #ifndef NANCY_ACTION_NAVIGATIONRECORDS_H 23 #define NANCY_ACTION_NAVIGATIONRECORDS_H 25 #include "engines/nancy/action/actionrecord.h" 34 void execute()
override;
39 Common::String getRecordTypeName()
const override {
return "SceneChange"; }
51 void execute()
override;
53 CursorManager::CursorType getHoverCursor()
const override {
return _hoverCursor; }
58 bool canHaveHotspot()
const override {
return true; }
60 switch (_hoverCursor) {
61 case CursorManager::kMoveForward:
62 return "HotMultiframeForwardSceneChange";
63 case CursorManager::kMoveUp:
64 return "HotMultiframeUpSceneChange";
65 case CursorManager::kMoveDown:
66 return "HotMultiframeDownSceneChange";
68 return "HotMultiframeSceneChange";
72 CursorManager::CursorType _hoverCursor;
80 Hot1FrSceneChange(CursorManager::CursorType hoverCursor) : _hoverCursor(hoverCursor) {}
84 void execute()
override;
86 CursorManager::CursorType getHoverCursor()
const override {
return _hoverCursor; }
89 bool _isTerse =
false;
92 bool canHaveHotspot()
const override {
return true; }
95 return "HotSceneChangeTerse";
98 switch (_hoverCursor) {
99 case CursorManager::kExit:
100 return "Hot1FrExitSceneChange";
101 case CursorManager::kMoveForward:
102 return "Hot1FrForwardSceneChange";
103 case CursorManager::kMoveBackward:
104 return "Hot1FrBackSceneChange";
105 case CursorManager::kMoveUp:
106 return "Hot1FrUpSceneChange";
107 case CursorManager::kMoveDown:
108 return "Hot1FrDownSceneChange";
109 case CursorManager::kMoveLeft:
110 return "Hot1FrLeftSceneChange";
111 case CursorManager::kMoveRight:
112 return "Hot1FrRightSceneChange";
114 return "Hot1FrSceneChange";
118 CursorManager::CursorType _hoverCursor;
127 void execute()
override;
133 byte _conditionPayload;
137 bool canHaveHotspot()
const override {
return true; }
138 Common::String getRecordTypeName()
const override {
return "HotMultiframeMultisceneChange"; }
147 void execute()
override;
156 Common::String getRecordTypeName()
const override {
return "HotMultiframeMultisceneCursorTypeSceneChange"; }
163 void execute()
override;
165 CursorManager::CursorType getHoverCursor()
const override {
return CursorManager::kExit; }
168 Common::String getRecordTypeName()
const override {
return "MapCall"; }
175 void execute()
override;
180 bool canHaveHotspot()
const override {
return true; }
181 Common::String getRecordTypeName()
const override {
return "MapCallHot1Fr"; }
188 void execute()
override;
193 bool canHaveHotspot()
const override {
return true; }
194 Common::String getRecordTypeName()
const override {
return "MapCallHotMultiframe"; }
200 #endif // NANCY_ACTION_NAVIGATIONRECORDS_H Definition: navigationrecords.h:160
Definition: commontypes.h:151
Definition: navigationrecords.h:31
Definition: navigationrecords.h:144
Definition: commontypes.h:171
Definition: navigationrecords.h:45
Definition: actionrecord.h:97
Definition: navigationrecords.h:185
Definition: navigationrecords.h:172
Definition: navigationrecords.h:124
Definition: navigationrecords.h:78
Definition: commontypes.h:180
Definition: actionmanager.h:32