benilla-re systems structs docs

DrawGroupUnlitTextures

function · terrain · host

Address
0x6b58b0 · 380 bytes, up to 0x6b5a2b
Signature
void __thiscall (void *this, uint32_t arg2, uint32_t arg3)
Meaning
Draws a group's unculled batches unlit with their first texture
Confidence
verified, proof one
Finding
terrain/groupdraw#group-debug-draws

Finding: Group debug draws in terrain: map object draw

World flags replace or add draws of a group. 0x80000 draws the faces by their flag, 0x800 clear draws the vertex colours alone, 0x200 clear draws the textures alone, 0x1000 draws the portals and 0x40000000 the vertex normals. 0x6b5ba0 draws the faces with flag 0x20 and not 0x4 in 0xff00ff00, with 0x4 in 0xff8080ff and with 0x8 in 0x80ff0000 (blend 2).

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 13

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