/datum/universal_icon | This is intended to replace /icon, allowing rustg to generate icons much faster than DM can at scale.
Construct these with the uni_icon() proc, in the same manner as BYOND's icon() proc.
Additionally supports a number of transform procs (lowercase, rather than BYOND's uppercase)
such as Crop, Scale, and Blend (as blend_icon/blend_color). |
---|
/proc/icon_transformer_from_list | Reverse operation of /datum/icon_transformer/to_list() |
---|
/proc/color_transform | Constructs a transformer, with optional color multiply pre-added. |
---|
/proc/gags_to_universal_icon | Converts a GAGS atom to a universal icon by generating blend operations. |
---|
/proc/get_display_icon_for | Gets the relevant universal icon for an atom, when displayed in TGUI. (see: icon_state_preview)
Supports GAGS items and colored items. |
---|
/proc/get_flat_uni_icon | getFlatIcon for /datum/universal_icons
Only supports 32x32 icons facing south
Tough luck if you want anything else
Still fairly slow for complex appearances due to filesystem operations. Try to avoid using it |
---|