Fixed bug where starter background wouldn't get flipped. (y, not x! d'oh!)

This commit is contained in:
William Kendrick 2004-09-22 05:11:58 +00:00
parent 4d3064b7d0
commit 01111df2d3
2 changed files with 2 additions and 7 deletions

View file

@ -6,18 +6,13 @@ Copyright (c) 2004 by Bill Kendrick
bill@newbreedsoftware.com bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/ http://www.newbreedsoftware.com/tuxpaint/
September 18, 2004 September 21, 2004
BUGS! BUGS!
----- -----
* Get Starters to work properly in 800x600 mode. * Get Starters to work properly in 800x600 mode.
* When loading an image based on a Starter (either via Open or if it was
loaded automatically at startup), if the Starter has a bkgd. and the
image had been flipped at any point, the Starter background doesn't get
flipped (so Eraser doesn't work right).
* Keep track of Mirror and Flip actions in Undo history, so that * Keep track of Mirror and Flip actions in Undo history, so that
Starters can be un/re-flipped and un/re-mirrored, and "starter_mirrored" Starters can be un/re-flipped and un/re-mirrored, and "starter_mirrored"
and "starter_flipped" flags can be toggled. and "starter_flipped" flags can be toggled.

View file

@ -12973,7 +12973,7 @@ void flip_starter(void)
src.h = 1; src.h = 1;
dest.x = 0; dest.x = 0;
dest.y = orig->h - x - 1; dest.y = orig->h - y - 1;
SDL_BlitSurface(orig, &src, img_starter_bkgd, &dest); SDL_BlitSurface(orig, &src, img_starter_bkgd, &dest);
} }