KranX / Vangers

The video game that combines elements of the racing and role-playing genres.
https://store.steampowered.com/app/264080/Vangers/
GNU General Public License v3.0
660 stars 89 forks source link

Skip 'H' in background files if XGR_HIDDEN_FON is set #641

Open link2xt opened 2 months ago

link2xt commented 2 months ago

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

CLAassistant commented 2 months ago

CLA assistant check
All committers have signed the CLA.

link2xt commented 2 months ago

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

link2xt commented 2 months ago

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.