benilla-re systems structs docs

s_alphaRef

global · terrain

Address
0xc7b2fc · 4 bytes, up to 0xc7b2ff
Type
uint32_t
Meaning
Holds the alpha reference of the detail doodad draw, 128 at start-up
Confidence
verified, proof one
Finding
terrain/world#detail-doodad-and-alpha-settings

Finding: Detail doodad and alpha settings in terrain: world

0x6725a0 stores the detail doodad density and, when it differs, invalidates the detail doodads through 0x6b1d20. 0x6739a0 reads one integer from the command text and stores it as the alpha reference when it is 0 to 255, else prints "Alpha ref range 0 - 255.".

The derivation is in the doc.