SetSelectionCircleState
function · objectlayer · orchestration
- Address
0x614e00· 116 bytes, up to0x614e73- Signature
void __thiscall (void *this)- Meaning
- Sets the circle's render state and binds the blp and ramp textures
- Confidence
- verified, proof one
- Finding
- objectlayer/objectbase#selection-circle-textures
Finding: Selection circle textures in objectlayer: the base object
0x6146d0 registers the variable ObjectSelectionCircle (default "1"), makes a 64 by 8 texture
filled by the generator 0x6147f0, and loads Textures\UnitSelectTexture.blp. 0x614e00 sets
the circle's render state: blend mode 3, cull, fog and depth write off, the blp on texture stage
0 and the ramp on stage 1. The ramp's alpha rises from 0 to 1 over the first sixth of a row, holds at 1 to five sixths, and
falls to 0 over the last sixth.
The derivation is in the doc.
Callers 3
- CGCorpse_C::DrawDecal objectlayer
- CGUnit_C::DrawSelectionCircle objectlayer
- CGUnit_C::DrawAutoMoveTarget objectlayer
Callees 3
- GetTextureDeviceObject gx
- GxRsSet gx
- GxRsSetObject gx
Calls and jumps by a bare address, from tables/calls.tsv.