benilla-re systems structs docs

ResolveLoadingArt

function · loadingscreen · orchestration

Address
0x406e20 · 240 bytes, up to 0x406f0f
Signature
uint32_t __cdecl (void)
Meaning
Loads the map art or the default into the art handle and returns whether a texture exists
Confidence
verified, proof one
Finding
loadingscreen/screen#plain-screen

Finding: Plain screen in loadingscreen: screen

0x406cd0 draws the taxi screen 0x406f20 first and returns 0 when it drew; else it draws the plain screen 0x406cf0 and returns 1 whether or not that drew. The plain screen draws one quad, (0, 0) to (1, 1) in the unit box, textured with the map's loading art, then the tip batch. With the map id 0x82f00c equal to −1 it draws nothing. The art is resolved only while the handle 0x882e04 is null: map id → Map row field 38 → LoadingScreens row field 2, a path; the texture of that file when it exists, else Interface\Glues\loading. A failed resolve sets the map id to −1.

The derivation is in the doc.

Callers 1

Callees 4

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