benilla-re systems structs docs

s_worldDetailCull

global · ui

Address
0x804524 · 12 bytes, up to 0x80452f
Type
const float[3]
Meaning
Holds the smallCull of world detail levels 0 to 2: 0.07, 0.04, 0.01
Confidence
verified, proof two
Finding
cvar/options#world-detail-verbs

Finding: World detail verbs in cvar: options

SetWorldDetail(n) sets two settings from the level n, 0 to 2: frillDensity to 16, 32 or 48 and smallCull to 0.07, 0.04 or 0.01. GetWorldDetail() reads only smallCull and answers the highest level i for which the setting is at most the table value, or 2 when it is above 0.07 or not a number. A level outside 0 to 2 raises value must be in the range 0, 2; a non-number raises the usage text. The registered pair, frillDensity 16 and SmallCull 0.04, is level 0's frill with level 1's cull, so a fresh client reads back level 1 while its frill is the level 0 value.

The derivation is in the doc.