Colin Snover 22d157cee7 SCI32: Flush all events before warping mouse
This improves the behaviour at the end of PQ4 when navigating the
warehouse with the flashlight by getting rid of mouse events that
may have been queued before the mouse warp to the other side of
the screen is performed. Without this, frequently, those extra
events would then be processed and cause the mouse to jump back to
the opposite side of the screen, triggering another navigation in
the opposite direction.

This patch really only helps when mouse capture is enabled in
ScummVM as well, but it does allow the sequence to be played
pretty much normally in that situation. Additional (pending)
patches to ScummVM itself are needed to move the mouse to the
correct place when mouse capture is off and the system mouse moves
outside of the game window.

Refs Trac#9689.
2017-09-19 19:54:29 -05:00
..
2017-07-29 12:09:11 +02:00
2017-09-01 13:46:25 +02:00
2017-09-14 13:54:52 +10:00
2017-08-01 13:09:10 +02:00
2017-03-22 21:44:21 +01:00
2017-08-21 16:04:31 +02:00
2017-09-17 01:21:16 -04:00