benilla-re systems structs docs

s_createFacing

global · glue

Address
0xb420f4 · 4 bytes, up to 0xb420f7
Type
float
Meaning
Holds the create facing in radians; 0 at load and at each glue start, set by 0x470a50
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.