PrintSysMsgFilter
function · client
- Address
0x403110· 229 bytes, up to0x4031f4- Signature
void __cdecl (void)- Meaning
- Prints the error display's filter: all messages, or the category names of the selector's bits
- Confidence
- verified, proof one
- Finding
- sysmsg#error-display-settings
Finding: Error display settings in sysmsg
ClientRegisterConsoleCommands registers Errors with the callback 0x402ee0 and ShowErrors with
0x402f20. Each reads the new value with SStrToInt. For Errors, a non-zero value calls 0x409170
and prints Error display enabled, zero calls 0x4091a0 and prints Error display disabled; for
ShowErrors, non-zero calls 0x4091c0 with Error display shown, zero 0x4091e0 with
Error display hidden. Both print through ConsoleWrite in class 0, then pass the integer to
SysMsgSetEnabled and return 1, so either setting sets the display switch. 0x403110 prints the
filter: Now filtering: all messages when SysMsgGetSelected is −1, else Now filtering: and a
name for each set bit: 0x1 general, 0x2 world, 0x4 ui, 0x8 animation, 0x10 models,
0x20 objects, 0x80 movement. Bit 0x40 prints nothing.
The derivation is in the doc.
Callers 1
- ErrorFilterCallback client
Callees 4
- SysMsgGetSelected sysmsg
- ConsoleWrite console
- ConsolePrintf console
- SStrPack storm
Calls and jumps by a bare address, from tables/calls.tsv.