benilla-re systems structs docs

LoadChatSettings

function · ui · primitive

Address
0x498a60 · 4098 bytes, up to 0x499a61
Meaning
Parses chat-cache.txt into the window records, colours and channels, or applies the defaults when absent
Confidence
verified, proof one
Finding
ui/chatwindows#settings-file-reader
Test
ui::glue_geom_480_498a60_color_channel

Finding: Settings file reader in ui: chat windows and their settings file

The loader 0x498a60 parses the whole file line by line, keywords matched without case. First it empties the deferred-join list and clears every window's 68 flag bytes. Line 1 is VERSION n; for n of 2 or more, line 2 may be ADDEDVERSION m. At top level the keywords are CHANNELS (header list), COLORS, WINDOW n, ZONECHANNELS n (sets the global mask) and the guild recruitment option line (STANDARD clears the latch, any other word sets it). A line that matches nothing is ignored; the VERSION value is stored nowhere.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 21

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