PATHINFO
struct · loadingscreen · 16 bytes
- Meaning
- Holds one taxi path's leg list: capacity, count, buffer and granularity of pair indices
- Confidence
- verified, proof one
- Finding
- loadingscreen/route#taxi-leg-table
Finding: Taxi leg table in loadingscreen: route
At startup 0x408000 builds the per-path leg table from the TaxiPathNode store, one outer entry
for every taxi path id up to the TaxiPath store's highest. Walking the nodes in order, a node with
flag 2 records its id as the run's last stop, and as its first stop when the run has none; a node
with flag 1, or the first node on a new continent within a path, closes the run: it appends the pair
(first stop, last stop) to the pair array and the pair's index to the path's leg list, and clears
the first stop. A change of path closes a run that has a first stop, in the path before it.
The derivation is in the doc.
Fields 4
| offset | size | type | name | meaning | confidence | finding |
|---|---|---|---|---|---|---|
0x0000 | 4 | uint32_t | m_capacity | Holds the capacity in entries | verified, proof one | loadingscreen/route#taxi-leg-table |
0x0004 | 4 | uint32_t | m_count | Holds the number of legs | verified, proof one | loadingscreen/route#taxi-leg-table |
0x0008 | 4 | uint32_t * | m_data | Holds the buffer of pair indices | verified, proof one | loadingscreen/route#taxi-leg-table |
0x000c | 4 | uint32_t | m_granularity | Holds the growth granularity, 0 until set | verified, proof one | loadingscreen/route#taxi-leg-table |