MovingTransportHandlerGetPosition
function · objectlayer · primitive
- Address
0x5f4b40· 33 bytes, up to0x5f4b60- Meaning
- Writes a moving transport's position
- Confidence
- verified, proof two
- Finding
- objectlayer/transports#the-moving-transport
Finding: The moving transport in objectlayer: transports
A type 15 handler, 0x60 bytes, extends the map object's: a passenger list at +0x14 (link offset
8), the ship path at +0x20, the position +0x44 and facing +0x50, the animation it played
+0x54 (−1 for none), the leg it last showed +0x58 and an entity-ready byte +0x5c. The
constructor copies the position and facing from the fields. Slots 17, 18 and 28 return the
position, the facing and the path. The destructor removes it from the transport list when it has
an entity, frees each leg's stops and spline and the legs, and unlinks the passengers.
| path | holds |
|---|---|
+0x00 | the TaxiPathNode store |
+0x04 | taxiPathID |
+0x0c, +0x10 | the leg count and the legs, 0x4c each |
+0x18 | moveSpeed |
+0x1c | the period, ms |
+0x20 | accelRate |
| leg | holds |
|---|---|
+0x00 | the map |
+0x04 | the spline; +0x08 its length |
+0x30, +0x34, +0x38 | start, travel time and end, ms |
+0x40, +0x44 | the stop count and the stops, 12 bytes: time, distance, wait |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.