DrawGroundReticle
function · ui · primitive
- Address
0x4837b0· 442 bytes, up to0x483969- Meaning
- Draws the area decal at the picked position, or tints the placement model
- Confidence
- verified, proof one
- Finding
- ui/groundreticle#the-area-decal
- Test
ui::textglue_482_corner_build
Finding: The area decal in ui: the ground-target reticle
When no placement model exists, 0x4837b0 draws the area decal: a texture projected onto the world over a box centred on the picked position.
The box reaches the radius in x and y, or 1.3888889 yards when the radius is 0, and 2 yards up and down. The texture is chosen by the state: the acceptable
one in range, the unacceptable one out of range. It is drawn in white with render state 7 set to 2; 0x6d7330 projects it onto terrain, buildings and water. With a placement model the same function instead
tints the model: green at alpha 0x40 in range, red out of range.
The derivation is in the doc.
Callers 1
Callees 13
- SplatVector3 loadingscreen
- CStatus::~CStatus client
- HandleClose base
- TextureCreateSolid gx
- GetTextureDeviceObject gx
- InitNodeList glue
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- CWorld::GetEntityBox terrain
- DrawDecal lighting
- GetSpellPlacementModel spell
Calls and jumps by a bare address, from tables/calls.tsv.