benilla-re systems structs docs

SysMsgDisplayInitialize

function · unassigned

Address
0x409040 · 184 bytes, up to 0x4090f7
Signature
void __cdecl (void)
Meaning
Builds the system message layer once: a font batch, stock font 1 and a full-screen screen layer
Confidence
verified, proof one
Finding
sysmsg#display-layer

Finding: Display layer in sysmsg

0x409040 builds the on-screen layer once: a font batch, the font of stock text block 1 and that block's height, and a screen layer over the whole screen, (0, 0) to (1, 1), at priority 10.0 with the paint function 0x4092c0. It stops at the first of these that fails, and a height of exactly 0 also stops it. With the layer made it passes 0x409200 to 0x44cd70 and sets its flag 0x8838f4. 0x409100, called from DestroyClientSystems, clears the flag, passes 0 to 0x44cd70, destroys the batch and ten strings, and closes the layer's handle.

The derivation is in the doc.

Callers 1

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.