Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Formerly the overlay and game screen offset was swapped.
|
|
|
|
|
|
|
|
|
|
|
|
This should fix bug #3374656 "IPHONE: setShakePos not implemented".
|
|
Now it should be a little bit more sane. Formerly the width and height
was swapped in rotation mode, which resulted in the x coordinate falling
into the range 0..height in landscape mode for example.
This also fixes the cursor offset in the modern theme.
|
|
|
|
|
|
|
|
determined.
|
|
|
|
|
|
size calculations.
These match as far as I can tell, but in case they don't match, the render
buffer size should be the correct thing to use.
|
|
|
|
|
|
|
|
Now mouse x/y coordinates are passed as int.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Formerly the mouse texture was only used when the overlay was visible. When
only the game screen was visible, the code rendered the mouse cursor on the
game screen texture.
This simplifies the drawing pipeline a bit.
|
|
Formerly the overlay cursor was using a RGB565 palette, even though the
texture is really set up as RGBA5551.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks to tsoliman for this patch.
|
|
|