tgstation/-tg-station — pull request #2118 by MrPerson (2013-12-22 14:46:41+00:00)
Title: Mobs use animate() to rotate

update_icons() uses animate() and transforms to actually turn the sprite rather than needing them pre-turned. Mobs that lie down do so with an animation rather than appearing on their side. You can lie down facing THE LEFT OH SHIT.

Cloakers still don't work well. The fix is probably just finding a proc that runs on equip/uequip/when bagged/when dropped and making them run mob.update_transform(). Fuck that. Ninjas work. Things that are cloaked fade to the cloaked alpha, it's pretty cool. Ninja cloaking/uncloaking is cool as long as the ninja stands still.

The "lying down" icon_states for everything you could equip are all now unnecessary. They aren't removed yet though.

The dmi changes are to make xenos all face upward so when they turn, they're lying down rather than facing south and looking like they're doing a handstand. They're not terribly good when facing the wrong way. I expect WJohnson to have a fix for this by New Year's.

The overlays_standing list is still around because overlays is not a normal list, and BYOND's normal list functions are worth the extra cost of keeping a spare list of images.