mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Fixed FF cursor hotspots, after Kirben pointed out to me two special cases that
we didn't handle. This makes he tile puzzle easier to solve. (But it's still a terrible puzzle.) svn-id: r23114
This commit is contained in:
parent
70fc192f30
commit
4eefe52e1c
@ -435,7 +435,21 @@ void SimonEngine::drawMousePointer_FF() {
|
||||
offs = cursor * 32 + _mouseAnim * 2;
|
||||
drawMousePart(image, _mouseOffs[offs], _mouseOffs[offs + 1]);
|
||||
|
||||
CursorMan.replaceCursor(_mouseData, kMaxCursorWidth, kMaxCursorHeight, 19, 19, 0);
|
||||
int hotspotX = 19;
|
||||
int hotspotY = 19;
|
||||
|
||||
if (_mouseCursor == 14) {
|
||||
// Finger pointing away from screen. Not sure where
|
||||
// this is used.
|
||||
hotspotX += 4;
|
||||
hotspotY -= 6;
|
||||
} else if (_mouseCursor == 15) {
|
||||
// Finger pointing down. Used for the oh-so-annoying
|
||||
// Cygnus Alpha tile puzzle.
|
||||
hotspotY += 18;
|
||||
}
|
||||
|
||||
CursorMan.replaceCursor(_mouseData, kMaxCursorWidth, kMaxCursorHeight, hotspotX, hotspotY, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user