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

Fixes the do_after() icon rendering above everything else #5491

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

SabreML
Copy link
Member

@SabreML SabreML commented Jan 18, 2024

About the pull request

Fixes the do_after() progress icons rendering above everything else, including darkness and screen effects like blindness.

When making #5379, I didn't consider the side effects of the progress icons being on ABOVE_HUD_PLANE. It works fine on other servers where they're usually only visible to the user performing the action, but on CM these icons are visible to everyone.
This means that progress indicators over mobs are visible in complete darkness, through crit/blindness overlays, etc.

This PR adds a new ABOVE_GAME_PLANE define and moves them to that instead, since it seems like the best fit for how the progress icons should behave. (Always above in-game stuff, but below any effects and lighting.)
(I've never messed with plane masters so I'm not 100% sure I did it correctly, but it works in testing at least.)

Explain why it's good for the game

Fixes being able to spot xenos in darkness when they're doing something (e.g. drones building), and just makes it act as expected.

Testing Photographs and Procedure

Screenshots & Videos

Before:
(null)scrnshot1

(not much point to an 'after' since it's just a black screen lol)

Changelog

🆑
fix: Fixed the 'busy' circle icon being drawn above darkness and screen effects.
/:cl:

@github-actions github-actions bot added the Fix Fix one bug, make ten more label Jan 18, 2024
@harryob harryob added this pull request to the merge queue Jan 19, 2024
Merged via the queue into cmss13-devs:master with commit 731e517 Jan 19, 2024
28 checks passed
cm13-github added a commit that referenced this pull request Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants