benilla-re systems structs docs

CSimpleFontString::SetShadowOffset

function · ui · orchestration

Address
0x7723f0 · 109 bytes, up to 0x77245c
Meaning
Stores a changed shadow offset and sets or clears the shadow bit by whether it is zero
Confidence
verified, proof one
Finding
ui/fontmethods#shadow-offsets-and-spacing

Finding: Shadow offsets and spacing in ui: font accessors from Lua

SetShadowOffset(x, y) needs two numbers and raises Usage: %s:SetShadowOffset(x, y) otherwise; SetSpacing(s) needs one and raises Usage: %s:SetSpacing(spacing). A stored spacing within 2^-22 of the new one is kept when the spacing group's set bit 0x1000 is already set (0x79fb9a). On a FontString, SetShadowColor only stores the colour; SetShadowOffset(0, 0) clears the shadow bit 0x100 of +0x120, and any other offset sets it, so a shadow is drawn only after a nonzero offset.

The derivation is in the doc.

Callers 1

Callees 2

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