benilla-re systems structs docs

LoadOutdoorTiles

function · minimap · orchestration

Address
0x6da5e0 · 453 bytes, up to 0x6da7a4
Signature
void __fastcall (const int32_t *base, uint32_t changed, void *records)
Meaning
Reuses or loads the four tile textures of the outdoor block
Confidence
verified, proof one
Finding
minimap/tiles#outdoor-tile-window

Finding: Outdoor tile window in minimap: tiles

The outdoor map is a block of 2 by 2 tiles held in the first four tile records. LoadOutdoorTiles(block, changed, records) clears mask 0x2 of the four records, and when changed is 0 (always, from its one caller 0x6da489) moves a record whose tile is still wanted to its new slot, keeping its texture. Then it loads every wanted tile that has no record: it builds the name, writes MINIMAPCHUNKNOTFOUND|<row>|<col> for a missing one, releases the slot's old texture, creates the new texture and stores the tile's two indices. The four tiles of the block are the base tile plus the offsets (0, 0), (1, 0), (1, 1) and (0, 1).

The derivation is in the doc.

Callers 1

Callees 6

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