ID:2208217
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
It'd be nice if there was a proc to get a list of options icon states may have, for example whatever is stored in the DMI (frames/reverse/etc.)
This was requested in the past but I figured a revival of the request with a more straightforward implementation idea would be preferred.

/proc/icon_state_info('icon' or /icon, iconstate)
Would return a list("frames" = 1, "reverse" = 1), etc
/icon/proc/StateInfo(iconstate)
Same as above, but OO-ified
I'm fairly certain that the number of directions accessible in the icon is also recorded in the metadata very explicitly, however there is no function to retrieve the information.
It is
For now, there is a library that will let you get at this information through a .dll file:

http://www.byond.com/developer/DarkCampainger/DMIIconInfo
This is actually on the list for consideration in 512; there's a thread for it somewhere already.