Kermit/SKraft — pull request #1 by Denommus (2012-01-03 21:21:50+00:00)
Title: I made a better approach for the camera movement

The mouse handling was strange, and could make strange bugs. The algorithm handles it better, now. It works like this:

-At the beginning of the update, the current position of the mouse is compared with the center of the screen.
-The difference between them is accounted and translated as a movement.
-The position of the mouse is set to the center of the screen

This way, the mouse won't reach the border of the screen, or get out of the window, which would impede it from controlling the camera.