code/datums/character_preview.dm
/datum/movable_preview | Essentially, it creates a movable on a 1x1 map and gives you access to the it for modification. |
---|---|
/mob/living/carbon/human/preview | subtype of human for character previews so we can filter them out from some logging |
/datum/movable_preview/character | This is intended only for use with humans. preview_thing will be a subtype of generic human. |
/datum/movable_preview/character/window | Manages its own window. Basically a simplified version for when you don't need to put other stuff in the preview window. |
/datum/movable_preview/character/multiclient | A shared character preview between multiple clients. Again, use winset() to position the control. |