benilla-re systems structs docs

CSimpleMessageFrame::AddMessage

function · ui · orchestration

Address
0x785d00 · 177 bytes, up to 0x785db0
Meaning
Queues a message frame line, copying its text and colour
Confidence
verified, proof one
Finding
ui/messageframe#a-message-frames-addmessage

Finding: A message frame's AddMessage in ui: MessageFrame and ScrollingMessageFrame

The message frame's AddMessage(text, r, g, b, a) takes an alpha where the scrolling frame takes an id: argument 6, clamped to 0 to 1, default 1. Without r, g and b the colour is opaque white, not the font's. The line is queued and placed at the next update. Its fade divides the time left by the frame's fade time like the scrolling frame's.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 4

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