residualvm/residualvm — pull request #506 by bgK (2012-01-25 21:06:13+00:00)
Title: MYST3: Lock the mouse in the game window

Myst 3 uses mouse-controlled 360° views. These views can only be rotated properly if the mouse pointer stays inside the game window.

These changes add a new OSystem method, "lockMouse" which in turn calls SDL do lock the mouse inside the game window. The Myst 3 engine uses this method to look the mouse on startup, and frees it on shutdown.

Do the changes look proper? Is it fine to add a new OSystem call, when compared to ScummVM?