BuildTaxiPathTables
function · ui · primitive
- Address
0x4db340· 616 bytes, up to0x4db5a7- Signature
void __cdecl ()- Meaning
- Fills the path table from TaxiPath and the path point runs from TaxiPathNode
- 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.
Callers 1
Callees 6
- LinkOrEnd4dda50 ui
- Relink4dda70 ui
- ClearBucket4ddb30 ui
- RehashTable4ddca0 ui
- InitEndLink4ddf70 ui
- ResizeBuckets4ddf80 ui
Calls and jumps by a bare address, from tables/calls.tsv.