diff options
author | Torbjörn Andersson | 2013-02-10 12:19:41 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2013-02-10 12:19:41 +0100 |
commit | f6456003e1153709788b306e4cd509576e8ab338 (patch) | |
tree | 86fa0a6f0ea43ecccd7ab98d3e82b427b066aaf1 /engines/cruise/background.h | |
parent | 2044a71c27da1b45e0c0bcef22b2472a4f68009d (diff) | |
download | scummvm-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/cruise/background.h')
0 files changed, 0 insertions, 0 deletions