s_groupHandlers
global · charactermodel
- Address
0xb422f4· 40 bytes, up to0xb4231b- Type
void *[10]- Meaning
- Holds the ten composite group handlers, one per tile
- Confidence
- verified, proof one
- Finding
- charactermodel/composite#group-handlers
Finding: Group handlers in charactermodel: composite
Ten handlers sit in a table at 0xb422f4, one per group, filled by 0x476020. Each blits the skin cell onto its tile and then its overlay cells in column order, so a later column paints over an earlier one. Groups 0 to 7 take row g
of the equipment cells, with 2, 7, 1, 5, 5, 3, 6 and 1 columns. Groups 3 and 5 first draw an underwear cell when the leading equipment cells of their row are empty. Groups 8 and 9 draw the skin only when the skin colour is not below the base count, then the face, facial hair and hair cells.
The derivation is in the doc.