Age | Commit message (Collapse) | Author |
|
This has no functional change, but improves the consistency with the
renamed stopSound() function.
Also, minor fixes for formatting, removal of redundant comments and code
in sound class.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
renaming
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
At least during the title screens when the game is just waiting for
user input it shouldn't use a full CPU core.
|
|
update() and pollEvent() are called multiple times over
the course of one game loop, thus restoreSurfaceUnderMousePointer()
and displayMousePointer() are called multiple times as well. This caused
massive lag and froze the script system when the mouse was moved.
While this commit doesn't fix the cursor flickering, it is now responsive
at all times.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|