benilla-re systems structs docs

LoadAreaTextures

function · terrain · orchestration

Address
0x6c20e0 · 257 bytes, up to 0x6c21e0
Signature
void __thiscall (void *this, const char *names, uint32_t size)
Meaning
Makes a texture for each MTEX name, with _s before the extension under the terrain shader
Confidence
verified, proof one
Finding
terrain/files#texture-names

Finding: Texture names in terrain: files

0x6c20e0(names, size) makes one texture per NUL-terminated name in the MTEX data, storing the handles from area +0xec with the count at +0xe8. Under the terrain shader flag 0xc9a31c the name has _s put before its last ., so x.blp loads as x_s.blp.

The derivation is in the doc.

Callers 1

Callees 3

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