benilla-re systems structs docs

CopyLegSpline

function · objectlayer · primitive

Address
0x5f9c10 · 254 bytes, up to 0x5f9d0d
Meaning
Copies a leg's spline: its point and length arrays
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.

pathholds
+0x00the TaxiPathNode store
+0x04taxiPathID
+0x0c, +0x10the leg count and the legs, 0x4c each
+0x18moveSpeed
+0x1cthe period, ms
+0x20accelRate
legholds
+0x00the map
+0x04the spline; +0x08 its length
+0x30, +0x34, +0x38start, travel time and end, ms
+0x40, +0x44the stop count and the stops, 12 bytes: time, distance, wait

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.