Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[performance]
What this does
removes duplicate objects for these icons
makes open space overlays pull from the same pool with an alpha value
makes glass overlays only vis contents from one object matching the icon state
makes damage overlay objects not created unless glass tiles are damaged
makes non multi-z part of update_icon not used on glass tiles on multi-z
removes duplicate glass damage icons on each update on multi-z
all of this only changes anything on multi-z maps. glass tiles function the same otherwise.
Why it's good
helps with multi z performance
How this was tested
on test_multiz, snowbox and roid
Changelog
馃啈