s_farBandTileList
global · terrain
- Address
0xc7cacc· 12 bytes, up to0xc7cad7- Type
uint32_t[3]- Meaning
- Holds the list header of the low-detail tiles to draw: link offset 0x8c0, tail, head
- Confidence
- verified, proof one
- Finding
- terrain/lod#low-detail-tile-walk
Finding: Low-detail tile walk in terrain: lod
The scene lists the WDL tiles around the camera for each portal window or the outdoor rectangle.
0x683040 takes the tile rectangle of the loaded window (0xc63274 to 0xc63280 shifted right 4), grows it by
3 tiles each way and clamps to 0 to 63. It builds a frustum of its own and narrows it with the walk's
rectangle. Each tile pointer in the 64 by 64 table 0xc92078 that is not null, not already linked, and not
outside the frustum or the horizon becomes a draw candidate.
The derivation is in the doc.