RegisterTaxiFunctions
function · ui · orchestration
- Address
0x4dcf20· 30 bytes, up to0x4dcf3d- Signature
void __cdecl ()- Meaning
- Registers the 14 taxi Lua functions
- Confidence
- verified, proof one
- Finding
- ui/taxi#taxi-lua-functions
Finding: Taxi Lua functions in ui: the taxi map
0x4dcf20 registers fourteen functions from a table of name and function pairs: SetTaxiMap, NumTaxiNodes,
TaxiNodeName, TaxiNodePosition, TaxiNodeCost, TakeTaxiNode, CloseTaxiMap, TaxiNodeGetType,
TaxiNodeSetCurrent, TaxiGetSrcX, TaxiGetSrcY, TaxiGetDestX, TaxiGetDestY and GetNumRoutes. Slots are 1-based.
SetTaxiMap(texture) assigns the held map texture to a texture region and does nothing before a map has loaded.
TaxiNodeName(slot) returns the node's localized name, INVALID for a slot out of range. TaxiNodePosition(slot)
returns u then v, and raises Invalid taxi node slot out of range. The six functions that take a slot raise their usage
text for a non-number.
The derivation is in the doc.
Callers 1
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.