s_tileStripIndices
global · ui
- Address
0x84c524· 8 bytes, up to0x84c52b- Type
uint16_t[4]- Meaning
- Holds the strip index order 0, 1, 3, 2 of the interior tile draw
- Confidence
- verified, proof one
- Finding
- minimap/draw#interior-tile-quad
Finding: Interior tile quad in minimap: draw
0x4ebf20(record, colour) draws one interior tile as a four-vertex triangle strip. The positions are the corners of the record's bounding box in x and y with z 0. The texture coordinates are inset by half a texel on every side, 0.5 / width and 0.5 / height, where the width and height are the tile texture's. One colour serves all four vertices.
| vertex | position | texture coordinate |
|---|---|---|
| 0 | min x, min y | du, 1 - dv |
| 1 | max x, min y | 1 - du, 1 - dv |
| 2 | max x, max y | 1 - du, dv |
| 3 | min x, max y | du, dv |
The derivation is in the doc.