mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 16:10:02 +01:00
Icon caching & human icon tweaks (#3000)
changes: Body marking icons are now cached in SSicon_cache. Renamed the body-hair cache (used only by Resomi) to make it more clear what it is. Humans now use SSoverlay for applying overlays, though they force-compile instead of waiting for it to tick. Fixed a bug where getFlatIcon() did not work properly with SSoverlay overlays.
This commit is contained in:
@@ -28,7 +28,10 @@
|
||||
var/list/human_icon_cache = list()
|
||||
var/list/tail_icon_cache = list() //key is [species.race_key][r_skin][g_skin][b_skin]
|
||||
var/list/light_overlay_cache = list()
|
||||
var/list/limb_icon_cache = list()
|
||||
var/list/body_hair_cache = list()
|
||||
var/list/damage_icon_parts = list()
|
||||
// [icon]-[icon_state]-[limb_name]-[color]
|
||||
var/list/markings_cache = list()
|
||||
|
||||
/datum/controller/subsystem/icon_cache/New()
|
||||
NEW_SS_GLOBAL(SSicon_cache)
|
||||
|
||||
Reference in New Issue
Block a user