Skip to content

Conversation

@link2xt
Copy link

@link2xt link2xt commented May 8, 2024

Background file resource/actint/800x600/screens/b600.bmp
uses 'H' (72) to indicate background color.

When background is rendered to 2D buffer,
this "color" should be skipped to avoid shadowing
default buffer which is used to render the map.

Fixes #639

Background file `resource/actint/800x600/screens/b600.bmp`
uses 'H' (72) to indicate background color.

When background is rendered to 2D buffer,
this "color" should be skipped to avoid shadowing
default buffer which is used to render the map.
@CLAassistant
Copy link

CLAassistant commented May 8, 2024

CLA assistant check
All committers have signed the CLA.

@link2xt
Copy link
Author

link2xt commented May 8, 2024

Before this change it looks like XGR_HIDDEN_FON did nothing at all.

@link2xt
Copy link
Author

link2xt commented May 8, 2024

If this is not needed with up-to-date resources (I used resources from 1.45 Linux version from GOG.com) and they use 0 byte for transparent pixels, then I guess XGR_HIDDEN_FON constant should be removed.

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.

HD: World is not rendered

2 participants