benilla-re systems structs docs

CMapAreaLow::Draw

function · terrain · orchestration

Address
0x6bd780 · 319 bytes, up to 0x6bd8be
Signature
void __thiscall (CMapAreaLow *this)
Meaning
Draws a low-detail tile with culling off, filling its buffer once
Confidence
verified, proof one
Finding
terrain/lod#low-detail-tile-draw

Finding: Low-detail tile draw in terrain: lod

0x6bd780 draws a tile with culling and lighting off, the fog start 0, the fog end 1.0 and the fog colour from the light state's +0x70, depth test mode 3, and a 545-vertex buffer it fills once through 0x6bd8c0. It draws 3072 indices (16 by 16 quads of four triangles) as a triangle list with the highest vertex 0x220. With culling off the tile shows from below (render#face-culling).

The derivation is in the doc.

Callers 1

Callees 14

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