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

Medical: Trauma kit UI overhaul #175

Merged
merged 6 commits into from
Dec 30, 2021
Merged

Medical: Trauma kit UI overhaul #175

merged 6 commits into from
Dec 30, 2021

Conversation

dastrukar
Copy link
Collaborator

@dastrukar dastrukar commented Dec 30, 2021

Changes the trauma kit UI to use the same layout as the alternative layout.

Note: The trauma kit is also now affected by HUD scaling settings.

The problem with getting the average status with a function is that you
can't use the function if you're trying to use it from a UI scope.

Since copying the whole function just to put a UI scope on it isn't that
great of an idea, I've decided to just add a variable instead, and make
the function just update the variable.
Removed hudScale mainly because it doesn't really work that well.
WoundStatus and other status text related functions were removed because the
status text stuff is already handled in DrawHUDStuff.
@caligari87 caligari87 merged commit a28d7e5 into HDest-Community:master Dec 30, 2021
@caligari87
Copy link
Member

Looks good, merging. Thank you!

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