LoadInteriorTile
function · minimap · primitive
- Address
0x6d9ed0· 633 bytes, up to0x6da148- Signature
void __fastcall (void *records, uint32_t group, const float *desc, float bias, const char *name)- Meaning
- Loads an interior tile texture into a free record and sets its key, bounds and distance
- 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
- UpdateMinimap minimap
Callees 11
- CStatus::~CStatus client
- HandleClose base
- TextureCreate gx
- SysMsgPrintf sysmsg
- SetVector3 spline
- InitEndLink484700 ui
- CGxTexFlags::CGxTexFlags gx
- SStrCmpI storm
- SStrPrintf storm
- SStrHashHT storm
- ClaimTileSlot minimap
Calls and jumps by a bare address, from tables/calls.tsv.