aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/object.h
diff options
context:
space:
mode:
authorlolbot-iichan2019-06-20 01:04:31 +0300
committerFilippos Karapetis2019-06-25 08:20:27 +0300
commitbf19375d14b54f40582b557cfd509dcc1bc3eada (patch)
tree1632f7badcc1eff359934bee49e3878ae5028499 /engines/prince/object.h
parentc32027672eed9bddf90b953dada5f04b6f1a3656 (diff)
downloadscummvm-rg350-bf19375d14b54f40582b557cfd509dcc1bc3eada.tar.gz
scummvm-rg350-bf19375d14b54f40582b557cfd509dcc1bc3eada.tar.bz2
scummvm-rg350-bf19375d14b54f40582b557cfd509dcc1bc3eada.zip
WINTERMUTE: Add workaround for sprite glitch at Rosemary game
This kind of fixes https://bugs.scummvm.org/ticket/6572 WME: Rosemary - Sprite flaw on going upwards Some Rosemary sprites have non-fully transparent background pixels, sprites of walking up has LOTS of them. Testing Rosemary walking character in a test WME game demonstrates some glitches with original WME as well. However, character sprite is downscaled most of time, and with original WME it isn't that seen when sprite is downscaled. This pull request provides a workaround for this case instead of changing downscaling algorithms: * if game ID is "rosemary" * if loaded sprite is from "actors" folder * if bytesPerPixel is 4 * if some pixel's alpha is between 1 and 15 * set this pixel's alpha to 0
Diffstat (limited to 'engines/prince/object.h')
0 files changed, 0 insertions, 0 deletions