mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
NANCY: Implement custom cursors
Added support for the two (four) custom cursor types. It's unclear where exactly these get used, but it's most likely in some puzzles.
This commit is contained in:
parent
1357331fb0
commit
fde77e4312
@ -316,10 +316,14 @@ void EventFlagsMultiHS::execute() {
|
||||
|
||||
break;
|
||||
case kActionTrigger:
|
||||
_hasHotspot = false;
|
||||
EventFlags::execute();
|
||||
finishExecution();
|
||||
break;
|
||||
if (_hoverCursor != CursorManager::kCustom1 && _hoverCursor != CursorManager::kCustom2) {
|
||||
_hasHotspot = false;
|
||||
EventFlags::execute();
|
||||
finishExecution();
|
||||
break;
|
||||
} else {
|
||||
_state = kRun;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,10 @@ public:
|
||||
kRotateRight = 13, // Used in 360 scenes in nancy6 and up
|
||||
kInvertedRotateRight = 14, // Used in 360 scenes with inverted rotation; nancy6 and up
|
||||
kInvertedRotateLeft = 15, // Used in 360 scenes with inverted rotation; nancy6 and up
|
||||
kCustom1 = 16, // Custom cursors change between games; Likely used in puzzles
|
||||
kCustom1Hotspot = 17,
|
||||
kCustom2 = 18,
|
||||
kCustom2Hotspot = 19,
|
||||
kNormalArrow,
|
||||
kHotspotArrow
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user