s_mapSize
global · terrain
- Address
0x7ffab0· 4 bytes, up to0x7ffab3- Type
float- Meaning
- Holds 34133.332, the map's side in yards
- Confidence
- verified, proof one
- Finding
- terrain/queries#shadow-test
Finding: Shadow test in terrain: queries
0x69b350(point) returns whether the chunk's shadow map has a set bit under the point: the bit
at row round(1.92·(17066.666 − x) − 0.5) & 63 and column the same from y, the products stored.
It returns 0 outside [0, 34133.332) on either axis and where no chunk is loaded. It reads the
MCNK shadow pointer whether or not the chunk has a shadow map.
The derivation is in the doc.