benilla-re systems structs docs

CSimpleTexture::GetFileName

function · ui · orchestration

Address
0x7703a0 · 74 bytes, up to 0x7703e9
Meaning
Copies the image name cut at its last dot
Confidence
verified, proof one
Finding
ui/texture#reading-the-image-and-the-coordinates

Finding: Reading the image and the coordinates in ui: texture colour and drawing

GetTexture() answers the name of the image without its extension, or nil when there is no image. A solid fill is named Solid Texture. GetTexCoord() answers the eight coordinates in the order top left, bottom left, top right, bottom right, each as a pair. SetTexCoord(minX, maxX, minY, maxY) sets the same four corners from a rectangle, and SetTexCoord(ULx, ULy, LLx, LLy, URx, URy, LRx, LRy) sets all eight; any other number of arguments raises Usage: %s:SetTexCoord(minX, maxX, minY, maxY) or SetTexCoord(ULx, ULy, LLx, LLy, URx, URy, LRx, LRy). When SetTexCoordModifiesRect is on, a change of coordinates recomputes the vertices from the resolved rectangle.

The derivation is in the doc.

Callers 1

Callees 3

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