X Tutup
Skip to content

DIRECTOR: Fixes for D5#6437

Merged
sev- merged 7 commits intoscummvm:masterfrom
moralrecordings:d5_features
Feb 17, 2025
Merged

DIRECTOR: Fixes for D5#6437
sev- merged 7 commits intoscummvm:masterfrom
moralrecordings:d5_features

Conversation

@moralrecordings
Copy link
Contributor

No description provided.

if (count == 0x00 && check == 0x00) {
// end of line
// end of line, fill the remaining colour
a = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would not that make alpha 0, e.g. full transparency? Shouldn't it be 0xff?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full transparency is correct. The end result is an RGBA surface containing the letters on a transparent background, and if the RLE skips to the end of a horizontal line there's no more letter data for that line.

@sev-
Copy link
Member

sev- commented Feb 17, 2025

Thank you

@sev- sev- merged commit cd64621 into scummvm:master Feb 17, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup