mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user