s_taxiPathTable
global · ui
- Address
0xb73a60· 262144 bytes, up to0xbb3a5f- Type
uint32_t[65536]- Meaning
- Holds the TaxiPath row for each node id pair, 256 by 256, reached through a base 0x404 bytes lower
- Confidence
- verified, proof one
- Finding
- ui/taxiroute#path-tables
Finding: Path tables in ui: taxi routes, fares and the flight
At game start 0x4db340 fills two tables. The path table holds, for a pair of node ids from 1 to 256, the TaxiPath row
that runs from the first node to the second. The rows are walked from the last to the first, so when two rows share a pair
the first in the file stays. The point runs come from TaxiPathNode: rows are 0x24 bytes, the path id at +4 and the
point x, y and z at +0x10, +0x14 and +0x18. Consecutive rows with one path id form a run, kept in a map by path id
as the first row and a count. TaxiPathExists(from, to) answers whether the table holds the pair.
The derivation is in the doc.