Un-scale HUDs for micros and macros.

* Set appearance_flags on HUD images to prevent them from being scaled up/down when the owning mob is macro/micro.
* Optimized the resize() proc and made it adjust the vertical position of the unscaled hud to stay even with the top of the mob's head.
* Also fix the resize proc to be consistent with update_icons().   Now micros wont be in the middle of a turf temporarily after resizing.
This commit is contained in:
Leshana
2017-04-19 23:59:16 -04:00
parent 427966638f
commit f8e34eabbb
6 changed files with 25 additions and 13 deletions

View File

@@ -4,6 +4,7 @@ the HUD updates properly! */
// hud overlay image type, used for clearing client.images precisely
/image/hud_overlay
appearance_flags = APPEARANCE_UI // Don't get scaled with macro/micros. VOREStation edit
//Medical HUD outputs. Called by the Life() proc of the mob using it, usually.
proc/process_med_hud(var/mob/M, var/local_scanner, var/mob/Alt)