benilla-re systems structs docs

RegisterVideoOptions

function · cvar · orchestration

Address
0x688470 · 1179 bytes, up to 0x68890a
Signature
void __cdecl (void)
Meaning
Registers the 31 video option settings with their callbacks
Confidence
verified, proof two
Finding
cvar/options#registration

Finding: Registration in cvar: options

0x688470 registers the 31 settings in category 1 with flags 1, script-visible, no callback argument (tables/cvars.tsv lists the help lines); it returns nothing and keeps each record in a global. The order is lod, fullAlpha, doodadAnim, mapShadows, lodDist, SmallCull, DistCull, MaxLights, shadowLevel, texLodBias, trilinear, frillDensity, farclip, nearclip, specular, mapObjOverbright, mapObjLightLOD, pixelShaders, particleDensity, unitDrawDist, waterLOD, baseMip, anisotropic, textureLodDist, horizonfarclip, showfootprints, bspcache, triangleStrips, footstepBias, occlusion and spellEffectLevel. The defaults are the rows of tables/cvars.tsv for the sites 0x68848c to 0x688900. ConsoleDeviceInitialize calls it once, at 0x63a6fb.

The derivation is in the doc.

Callers 1

Callees 1

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