benilla-re systems structs docs

s_tileScale

global · minimap

Address
0x811734 · 4 bytes, up to 0x811737
Type
const float
Meaning
Holds 0.001875, the reciprocal of the tile size, that the world-to-tile map multiplies by
Confidence
verified, proof one
Finding
minimap/coordinates#tile-grid

Finding: Tile grid in minimap: coordinates

The world is cut into a 64 by 64 grid of tiles of 533.3333 yards. Row 0 and column 0 lie at world position 17066.666, which is 32 tiles, and the indices grow as the world coordinates fall. The row index comes from the world y and the column index from the world x. The client holds the size, its reciprocal 0.001875 and the origin as constants, and builds the half tile 266.667 and the origin again at start-up.

The derivation is in the doc.