s_mapVerticalOrigin
global · ui
- Address
0x80652c· 4 bytes, up to0x80652f- Type
const float- Meaning
- Holds 20.875, the vertical offset of a continent rectangle before its scale
- Confidence
- verified, proof two
- Finding
- ui/geometry#the-rectangle-of-a-continent
Finding: The rectangle of a continent in ui: map geometry
The four edge floats of a record come from the WorldMapContinent row with the same map id. With s the row's scale
at +0x20, the offsets xo = 31.3125 − 32·s + f6 and yo = 20.875 − 32·s + f7 from the floats at +0x18 and +0x1c, and the
integers f2 to f5 at +0x08 to +0x14, the edges are (f2·s + xo) / 62.625 and ((f3 + 1)·s + xo) / 62.625 along the
horizontal axis, and (f4·s + yo) / 41.75 and ((f5 + 1)·s + yo) / 41.75 along the vertical one. A map id with no row leaves
the four floats as the record held them.
The derivation is in the doc.