RegisterDisplayCVars
function · console · orchestration
- Address
0x63a720· 725 bytes, up to0x63a9f4- Signature
void __cdecl (void)- Meaning
- Registers the widescreen CVar and the 15 gx CVars with their callbacks
- Confidence
- verified, proof one
- Finding
- console/display#display-cvars
Finding: Display CVars in console: display
ConsoleDeviceInitialize registers hwDetect (default 1), and 0x63a720 registers 16 more, all in category 1:
widescreen (1), and with flags 3 gxColorBits (16), gxDepthBits (16), gxResolution (640x480),
gxRefresh (75), gxTripleBuffer (0), gxApi (direct3d), gxVSync (1), gxWindow, gxAspect (1),
gxMaximize, gxCursor (1), gxMultisample, gxMultisampleQuality (0.0), gxFixLag and gxOverride (empty).
gxWindow and gxMaximize default to 1 for the locale zhCN and 0 otherwise. gxMultisample and
gxFixLag have no literal default: each formats the multisample or fix-lag column of the matched
VideoHardware.dbc row (+0x54 and +0x50).
The derivation is in the doc.
Callers 1
- ConsoleDeviceInitialize console
Callees 2
- CVar::Register cvar
- SStrPrintf storm
Calls and jumps by a bare address, from tables/calls.tsv.