Opened 2 years ago
Closed 2 years ago
#13922 closed defect (fixed)
MacCursor not handling black in color cursors
Reported by: | sluicebox | Owned by: | sluicebox |
---|---|---|---|
Priority: | normal | Component: | Common |
Version: | Keywords: | ||
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.
Attachments (1)
Change History (3)
by , 2 years ago
Attachment: | scummvm-qfg1vga-mac-00000.png added |
---|
comment:1 by , 2 years ago
Description: | modified (diff) |
---|
comment:2 by , 2 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in e3c179e975f2c1420eabb8aa2accf26f0d897fed