benilla-re systems structs docs

ConsoleCommandBgColor

function · console · primitive

Address
0x6397d0 · 192 bytes, up to 0x63988f
Signature
uint32_t __fastcall (const char *name, const char *args)
Meaning
Sets the background colour, class 8, from alpha and three channels
Confidence
verified, proof one
Finding
console/screen#colour-classes

Finding: Colour classes in console: screen

A line's class indexes the colour table 0xc4ead8: 0 default, 1 input, 2 echo, 3 error, 4 warning, 5 global, 6 admin, 7 selection highlight, 8 background. The table starts as ffffffff for 0, 1, 5 and 6, ff808080 for echo, ffff0000 for error, ffffff00 for warning, 80ffffff for the highlight and c0000000 for the background. fontcolor <class> <r> <g> <b> sets a class's colour from 0 to 255 channels (alpha 0xff); bgcolor and highlightcolor take <a> <r> <g> <b> for classes 8 and 7.

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.