benilla-re systems structs docs

GxApiCallback

function · console · primitive

Address
0x63b030 · 293 bytes, up to 0x63b154
Signature
uint8_t __thiscall (void *this, const char *value, void *arg)
Meaning
Accepts OpenGL or Direct3D without storing anything
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.

Callers 0

None by a direct call or jump.

Callees 2

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