BuildTaxiRouteLines
function · ui · primitive
- Address
0x4dc5c0· 705 bytes, up to0x4dc880- Signature
void __fastcall (uint32_t slot)- Meaning
- Builds the line segments of a slot's route in map units
- Confidence
- verified, proof one
- Finding
- ui/taxiroute#route-lines
Finding: Route lines in ui: taxi routes, fares and the flight
The line builder 0x4dc5c0(slot) makes a list of segments for a slot, each 0x18 bytes: the source u, v and 0, then the
destination u, v and 0. A slot with a direct path gets the segment current node to node. A slot with a route gets one
segment per consecutive pair of its route. A slot with no route, or past the count, builds nothing. TaxiGetSrcX, TaxiGetSrcY, TaxiGetDestX and TaxiGetDestY take a 1-based slot and a
1-based segment and return the coordinate, 0 out of range. GetNumRoutes(slot) returns 1 for a direct path, otherwise the
route's node count less 1, and 0 for a bad slot. TaxiNodeSetCurrent(slot) rebuilds the lines and returns its argument.
The derivation is in the doc.
Callers 2
Callees 7
- TaxiRouteSegmentCount ui
- NormalizeTaxiPoint ui
- FreeArrayAndSelf4dd290 ui
- 0x4dd2d0 ui
- FreeArrayAndSelf4dd320 ui
- ReserveArray4dd830 ui
- 0x4dd920 ui
Calls and jumps by a bare address, from tables/calls.tsv.