mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
Correct orientation of Game Saved clock in Flip Mode
The clock on the Game Saved quicksave screen has always been upside-down in Flip Mode. And technically, the trinket was too, but this was unnoticeable because the default trinket sprite is symmetrical. To fix this, draw flipsprites.png if these sprites are being drawn in Flip Mode instead of sprites.png.
This commit is contained in:
@@ -632,6 +632,11 @@ void Graphics::draw_sprite(const int x, const int y, const int t, const SDL_Colo
|
||||
draw_grid_tile(grphx.im_sprites, t, x, y, sprites_rect.w, sprites_rect.h, color);
|
||||
}
|
||||
|
||||
void Graphics::draw_flipsprite(const int x, const int y, const int t, const SDL_Color color)
|
||||
{
|
||||
draw_grid_tile(grphx.im_flipsprites, t, x, y, sprites_rect.w, sprites_rect.h, color);
|
||||
}
|
||||
|
||||
void Graphics::scroll_texture(SDL_Texture* texture, SDL_Texture* temp, const int x, const int y)
|
||||
{
|
||||
SDL_Texture* target = SDL_GetRenderTarget(gameScreen.m_renderer);
|
||||
|
||||
Reference in New Issue
Block a user