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

Sky in Boonta Classic is broken #118

Open
JayFoxRox opened this issue Dec 26, 2017 · 0 comments
Open

Sky in Boonta Classic is broken #118

JayFoxRox opened this issue Dec 26, 2017 · 0 comments
Labels
bug A problem which should not exist

Comments

@JayFoxRox
Copy link
Member

Broken sky

I've checked this with apitrace, and it uses a 16x16 texture RGBA8, where the left half is 0xFFFFFFFF and the right half is 0x77777777.

0x77 is the default color of a surface in OpenSWE1R after locking a surface through IDirectDrawSurface4::Lock (set using memset). The game probably expects a different surface type or surface size when modifying that surface. It's also possible that the surface should have been set to a specific color before.

It's also possible that this is related to texture blending: the texture might simply be ignored when drawing.

@JayFoxRox JayFoxRox added the bug A problem which should not exist label Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem which should not exist
Projects
None yet
Development

No branches or pull requests

1 participant