benilla-re systems structs docs

s_blockOffsets

global · minimap

Address
0x811700 · 32 bytes, up to 0x81171f
Type
int32_t[8]
Meaning
Holds the row and column offsets of the four tiles of the outdoor block: (0,0), (1,0), (1,1), (0,1)
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.