s_traceCells
global · terrain
- Address
0xc962c8· 4 bytes, up to0xc962cb- Type
int32_t *- Meaning
- Points at the (row, column) cell pairs a segment walk lists
- Confidence
- verified, proof one
- Finding
- terrain/trace#terrain-walk
Finding: Terrain walk in terrain: trace
0x69c320(start, end, t, mask) turns both ends into cells, row from x and column from y as
round(0.24·(17066.666 − c) − 0.5), and fills the cell list by one of four walks: a run along one
column when the y extent is below 2.3841858e-7 or both ends share a column, a run along one row
likewise for x, and otherwise a line walk along the larger extent. It then tests the listed cells with
0x69c920.
The derivation is in the doc.