/tg/ Station 13 - Modules - Types

modular_aphelion/modules/custom_sprites/code/composite.dm

/proc/custom_sprite_region_positionWhere a canvas pixel falls in one region's own drawing, which may be narrower than the canvas. 0 when outside it.
/proc/custom_sprite_drawing_pixelsOne drawing's pixels as colors, row-major from the top left.
/proc/custom_sprite_private_viewOne region's pixels in one view, copied on first write, since decoded pixels may be shared with the caller's cache.
/proc/custom_sprite_covered_positionsWhere a region's paint in one view sits under a different limb or outside every region.
/proc/custom_sprite_region_pixelOne region's color at a canvas pixel, or null.
/proc/custom_sprite_region_visibleWhat the game shows at a canvas pixel: its owner's paint, with a hand's paint over its arm's.
/proc/custom_sprite_compose_regionsBuilds the whole-body canvas from each region's saved drawing.
/proc/custom_sprite_split_regionsSplits the canvas back into each region's drawing, changing only what was edited.
/proc/custom_sprite_pixels_drawingEncodes one region's pixels as a canonical, literal-color drawing.