benilla-re systems structs docs

DrawLayerNameToId

function · ui · primitive

Address
0x6f18b0 · 69 bytes, up to 0x6f18f4
Signature
bool __fastcall (const char *name, int *id)
Meaning
Looks a draw layer name up ignoring case and stores its index 0 to 4
Confidence
verified, proof one
Finding
ui/draworder#regions-within-a-frame

Finding: Regions within a frame in ui: draw order

A frame keeps a list of regions for each draw layer. A region is linked at the head when it is registered and drawn from the tail, so regions of one layer come out in the order of their last registration, oldest first, not the order of declaration. Hiding and showing a texture or font string, or giving it a new draw layer, unregisters and registers it, so it moves to the end of its layer and draws last. There is no finer sort. A frame's layers are enabled by five switches, set for layers 0 to 3 by the constructor and clear for HIGHLIGHT; a region on a disabled layer is not drawn.

The derivation is in the doc.

Callers 10

Callees 1

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