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

Minor OpenGL Dark Overlay Fix #557

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrikpowell
Copy link
Contributor

I tried to get everything ready in the last big PR, but apparently I missed something.

During the last PR, I found and fixed an issue where the dark overlay would actually become inverted when the Invulnerability effect was on.

However my fix accidently made it so that the overlay ignored screen effects (red pain screen, yellow item screen). So this PR allows those effects to show on the overlay, just as it does on Software.

Let me know if there's a better way to simplify this code, because it seems a bit messier than I'd like, but this is the only way I could get it to not invert either the automap or menu overlay.

@Pedro-Beirao
Copy link
Collaborator

Can you explain the problem further?
Without this PR, the red/yellow screens are showing up fine in overlay for me

@andrikpowell
Copy link
Contributor Author

Can you explain the problem further? Without this PR, the red/yellow screens are showing up fine in overlay for me

This is the easiest way I can explain the issue:
https://www.youtube.com/watch?v=BnnaNSVmR3k

@Pedro-Beirao
Copy link
Collaborator

Pedro-Beirao commented Dec 13, 2024

Alright, I understand now.
About the code, put the second parameter on the line below.

@andrikpowell
Copy link
Contributor Author

About the code, put the second parameter on the line below.

Should be good now 👍

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