benilla-re systems structs docs

BuildTilePath

function · minimap · orchestration

Address
0x6da7b0 · 294 bytes, up to 0x6da8d5
Signature
void __fastcall (const int32_t *tile, char *out, uint32_t size)
Meaning
Builds the file path of an outdoor tile from the catalog, or leaves it empty
Confidence
verified, proof one
Finding
minimap/tiles#tile-names

Finding: Tile names in minimap: tiles

An outdoor tile is named <directory>\map<row>_<column>.blp, where the directory is the map's directory in Map.dbc and the row and column come from the tile maps (coordinates#world-and-tile-maps). An interior tile is named <wmo>_<nnn>_<xx>_<yy>.blp from the world name, the group index in three digits and the two grid indices in two. The name is the catalog key. A hit gives the path Textures\Minimap\<value>; a miss writes the system message No minimap texture: "<name>" and leaves an empty path. A map with no directory writes NOCONTINENTNAME|<id>. The world name is the group's WMO path without its first six bytes, World\, and without the extension after the last dot.

The derivation is in the doc.

Callers 1

Callees 4

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