benilla-re systems structs docs

ClaimTileSlot

function · minimap · orchestration

Address
0x6da150 · 48 bytes, up to 0x6da17f
Signature
void * __thiscall (void *this)
Meaning
Returns the first tile record without bit 2 after setting it, or 0
Confidence
verified, proof one
Finding
minimap/tiles#interior-tiles

Finding: Interior tiles in minimap: tiles

LoadInteriorTile(records, group, desc, bias, nameBuf) loads one tile of the interior descriptor desc: it claims a free record, builds the name from the world name and the descriptor (desc[0] the group index, desc[1] and desc[2] the grid indices), replaces the record's texture, stores the key and the six bounding floats, and sets the distance: unbounded for the player's own group, otherwise the middle of the vertical extent less the bias. TileLodDistance(records, group, desc, bias) does the last step for a tile that is already loaded and returns its record, or 0. ClearTileKeys sets the key word of all 512 records to −1. ClaimTileSlot returns the first record without mask 0x2, with it set, or 0.

The derivation is in the doc.

Callers 1

Callees 0

None by a direct call or jump.

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