Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32bpp: color cycling/palette viewport refresh issue #5056

Closed
DorpsGek opened this issue Feb 11, 2012 · 1 comment
Closed

32bpp: color cycling/palette viewport refresh issue #5056

DorpsGek opened this issue Feb 11, 2012 · 1 comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

athanasios opened the ticket and wrote:

With "32bpp-anim" and animation turned off, when switching from a Toyland game/Scenario Editor to other Climates and vice versa the viewport doesn't follow the new palette.

For example when you exit from a Toyland game to the Intro Screen that is Temperate or other climate you get a Toyland colored sea. This is g r a d u a l l y replaced by climate's sea.

See how the ship (and the seashores) refreshes the sea:
screenshot 1.

See how the mouse refreshes the sea:
screenshot 3.

Note that when I tried the same with latest cargodistribution branch the sea is initially Toyland but the viewport immediately corrects, so I could not capture a screenshot with the error and I suppose in faster PCs than mine's it might not even be detectable by the player (screenshot 2).

Tested on different PCs under Windows XP.

Palette not loaded properly/early enough? Is this related to animation not working in 32bpp if pixels are transparent (alpha)? If I am not wrong some recent related changes were implemented in trunk.

Attachments

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/5056
@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r23927


This comment was imported from FlySpray: https://bugs.openttd.org/task/5056

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant