s_tilePositions
global · loadingscreen
- Address
0x8828f8· 576 bytes, up to0x882b37- Type
float[144]- Meaning
- Holds the corner positions of the 12 world map tiles
- Confidence
- verified, proof one
- Finding
- loadingscreen/route#world-map-tiles
Finding: World map tiles in loadingscreen: route
0x4081e0 fills the arrays of the 12 tiles for a 1002 × 668 pixel map in 256-pixel tiles, 4
columns and 3 rows. Tile (c, r) has the screen corners x = px/1002 and y = 1 − py/668 for its
pixel rectangle clipped to 1002 and 668, and the texture rectangle (0, 0) to (w, h), with w = 1 and
h = 1 except w = 0.9140625 in column 3 and h = 0.609375 in row 2. Corners are at 0x8828f8, three
floats each, and texture coordinates at 0x882be8, two floats each, in strip order: lower left, lower
right, upper left, upper right.
The derivation is in the doc.