s_taxiFunctionTable
global · ui
- Address
0x84ada8· 112 bytes, up to0x84ae17- Type
void *[28]- Meaning
- Holds the 14 name and function pairs of the 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.