benilla-re systems structs docs

s_formatIndexNames

global · console

Address
0x86460c · 32 bytes, up to 0x86462b
Type
const char *[8]
Meaning
Holds the text of each colour and depth index: 16, 24, 24, 30, 16, 24, 24, 32
Confidence
verified, proof one
Finding
console/display#display-callbacks

Finding: Display callbacks in console: display

Each CVar's change callback validates the new text and, when it accepts, writes a field of the working record and prints set pending gxRestart. gxColorBits accepts 16, 24 and 30 (index 0, 1, 3), gxDepthBits 16, 24 and 32 (4, 5, 7), gxRefresh one of 60, 70, 72, 75, 85, 90, 100, 120, 160, 180 and 200, gxTripleBuffer 0 or 1 (stored as 1 or 2), gxApi OpenGL or Direct3D (nothing stored). gxVSync, gxWindow, gxAspect, gxMaximize, gxCursor and gxFixLag store whether the number is nonzero. gxMultisample stores the number clamped to 1 through 16; gxMultisampleQuality clamps to 0 through 1. A rejection writes the reason and returns 0.

The derivation is in the doc.