benilla-re systems structs docs

DrawOutdoorTile

function · ui · primitive

Address
0x4eae10 · 229 bytes, up to 0x4eaef4
Signature
void __thiscall (void *this, const uint32_t *colour, uint32_t arg3)
Meaning
Draws one outdoor tile record through its texture and the circular mask
Confidence
verified, proof one
Finding
minimap/draw#outdoor-tile-draw

Finding: Outdoor tile draw in minimap: draw

0x4eae10(record, colour) draws one outdoor tile when mask 0x1 of the flags at +0x94 and the handle at +0x90 are set. The record holds its own four vertices: positions from +0, texture coordinates for the tile from +0x30 and for the mask from +0x50. Stage 0 gets the tile and stage 1 the circular mask, both with preset 1. The four vertices are drawn as a strip in the order 0, 1, 2, 3, and stage 1 is cleared afterwards.

The derivation is in the doc.

Callers 1

Callees 6

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