MacCursor not handling black in color cursors
|Reported by:||sluicebox||Owned by:||sluicebox|
|Cc:||Game:||Quest for Glory 1|
Description (last modified by )
MacCursor doesn't handle black in color cursors (
crsr resources). Black pixels aren't drawn because they're treated as transparent.
This can be seen in the Run cursor in QFG1VGA-Mac. There are three black pixels, two of which are in the leg, and they're not drawn.
The Mac format allows a full 256 palette plus a separate transparency mask but the
Cursor model requires one color to to be the transparency key.
MacCursor is hard-coded to return 0xff as the transparency key but color 0xff is always defined as black in Mac. There is no code that attempts to deal with this and so incoming 0xff pixels aren't drawn.