aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/gfx.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2013-02-10 12:19:41 +0100
committerTorbjörn Andersson2013-02-10 12:19:41 +0100
commitf6456003e1153709788b306e4cd509576e8ab338 (patch)
tree86fa0a6f0ea43ecccd7ab98d3e82b427b066aaf1 /engines/saga/gfx.cpp
parent2044a71c27da1b45e0c0bcef22b2472a4f68009d (diff)
downloadscummvm-rg350-f6456003e1153709788b306e4cd509576e8ab338.tar.gz
scummvm-rg350-f6456003e1153709788b306e4cd509576e8ab338.tar.bz2
scummvm-rg350-f6456003e1153709788b306e4cd509576e8ab338.zip
HOPKINS: Fix cursor tranparency
Before, cursor images were converted to 16 bpp, and anything that was the same as the first color in PAL_PIXELS[] was made transparent. Now, cursors images are drawn as 8 bpp with a cursor palette created from PAL_PIXELS[]. This preserves all the black parts of the cursor that weren't actually color index 0. It would be nice if we only regenerated the cursor/palette when they have actually changed, but that's for later.
Diffstat (limited to 'engines/saga/gfx.cpp')
0 files changed, 0 insertions, 0 deletions