#3180 closed enhancement (fixed)
[PATCH] Visualise auras
Reported by: | sanderd17 | Owned by: | sanderd17 |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 19 |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description
The patch added provides a way to visualise auras. When you select an entity with an aura, it will add icons to the affected units (similar to the status bars).
Currently implemented for the temple auras only
Attachments (3)
Change History (6)
by , 9 years ago
Attachment: | auravisualisation.diff added |
---|
by , 9 years ago
by , 9 years ago
Attachment: | auravisualisation.2.diff added |
---|
comment:1 by , 9 years ago
I cleaned up a lot of the aura code to a newer spiderMonkey version.
No the statusbar saves the entities causing an aura change with an icon. The GuiInterface still saves the entities that currently have status bars, so by intersecting those two sets, you get the icons to be shown.
Apart from that, it's only a matter regenerating the sprites at the right time. So either when selection changes, or when aura application changes.
All functions are made to return as early as possible. So if there are no changes, calculation should be pretty fast.
comment:3 by , 9 years ago
Keywords: | review removed |
---|
Place the icon in binaries/data/mods/public/art/textures/ui/session/auras/heal.png