byond - Modules - Types

code/__HELPERS/icons.dm

/proc/getFlatIcon Create a single /icon from a given /atom or /image.
/proc/generate_asset_name Generate a filename for this asset The same asset will always lead to the same asset name (Generated names do not include file extention.)
/proc/icon_exists Checks if the given iconstate exists in the given file, caching the result. Setting scream to TRUE will print a stack trace ONCE.
/proc/center_image Center's an image. Requires: The Image The x dimension of the icon file used in the image The y dimension of the icon file used in the image eg: center_image(image_to_center, 32,32) eg2: center_image(image_to_center, 96,96)