benilla-re systems structs docs

s_createCharacter

global · glue

Address
0xb42078 · 4 bytes, up to 0xb4207b
Type
void *
Meaning
Holds the create character; null until the first build 0x470b70, nulled by 0x470640
Confidence
verified, proof one
Finding
glue/create#create-state

Finding: Create state in glue: character create

The race list is a growable array of ChrRaces ids: capacity 0xb42058, count 0xb4205c, data 0xb42060. The class list holds ChrClasses record pointers: capacity 0xb4207c, count 0xb42080, data 0xb42084. 0xb42068 is the selected race index, −1 for none; 0x8380f0 the class id, 1 in the file; 0xb42078 the create character; 0xb420f0 the model frame; 0xb420f4 the facing in radians, a float. All but the class start zero. Until the first build the character is null, and GetNameForRace, GetSelectedSex, SetSelectedSex and SetCharacterCreateFacing read through it unchecked.

The derivation is in the doc.