bulge_print_template 
A bulge shape template decoded for printing: which kind of pushed-out cloth sits at each pixel facing south, east and west (nothing prints facing north). Decoded once per template from a kind map in the template sheets by bulge_decode_template(), or past small_cap derived from the game's sprites (templates.dm), and kept in GLOB.bulge_print_templates.
Vars | |
| clipped | What covers draw over their sprites kept to this shape's pixels (bulge_clipped_icon()): sprite -> state -> registered icon, or FALSE when nothing could be kept. Lazy. |
|---|---|
| east | Kind pixels facing east, as south. |
| icon | The template sheet it was decoded from; null for a derived template. |
| icon_state | Its state in that sheet, or the name it was derived under. |
| key | The template's name, unique per shape; part of every patch's cache key. |
| mask_cloth | The white masks an adaptive bulge of this shape draws, one per kind, and of all its kinds together for its emissive blocker: registered icons, FALSE for a kind it has no pixels of, null until bulge_template_masks(). |
| mask_deep_shade | As mask_cloth, for BULGE_KIND_DEEP_SHADE. |
| mask_highlight | As mask_cloth, for BULGE_KIND_HIGHLIGHT. |
| mask_light | As mask_cloth, for BULGE_KIND_LIGHT. |
| mask_shade | As mask_cloth, for BULGE_KIND_SHADE. |
| mask_union | Every kind together. |
| south | Kind pixels facing south: flat (column, row, kind) triples, columns and rows from 0 at the top left. Null if none. |
| west | Kind pixels facing west, as south. |
Procs | |
| pixels_facing | The kind pixels facing facing, or null. |
Var Details
clipped 
What covers draw over their sprites kept to this shape's pixels (bulge_clipped_icon()): sprite -> state -> registered icon, or FALSE when nothing could be kept. Lazy.
east 
Kind pixels facing east, as south.
icon 
The template sheet it was decoded from; null for a derived template.
icon_state 
Its state in that sheet, or the name it was derived under.
key 
The template's name, unique per shape; part of every patch's cache key.
mask_cloth 
The white masks an adaptive bulge of this shape draws, one per kind, and of all its kinds together for its emissive blocker: registered icons, FALSE for a kind it has no pixels of, null until bulge_template_masks().
mask_deep_shade 
As mask_cloth, for BULGE_KIND_DEEP_SHADE.
mask_highlight 
As mask_cloth, for BULGE_KIND_HIGHLIGHT.
mask_light 
As mask_cloth, for BULGE_KIND_LIGHT.
mask_shade 
As mask_cloth, for BULGE_KIND_SHADE.
mask_union 
Every kind together.
south 
Kind pixels facing south: flat (column, row, kind) triples, columns and rows from 0 at the top left. Null if none.
west 
Kind pixels facing west, as south.
Proc Details
pixels_facing
The kind pixels facing facing, or null.