Skip to Content
The Alchemy Project

struct ROPE_NODE

One node of a rope Lash throws and ties (fdRopeInit's state): a point on the rope, and the sprite fdRopeDraw puts between it and the next node.

Declared in field.h.

Fields

NameDescription
struct ROPE_NODE *next
Sint32x
Sint32y
Sint32z
Uint16anglethe sprite's turn, along the rope
Sint8kindROPE_NODE_KIND
Sint8slotthe rope's index plus one while it is thrown,
ANIMATION_SPR_PARTspriteelse 0

Description

One node of a rope Lash throws and ties (fdRopeInit's state): a point on the rope, and the sprite fdRopeDraw puts between it and the next node.

struct ROPE_NODE

Referenced by fdActorCrossRope(), fdLeaderStepOntoRope(), fdRopeAllocateNode(), fdRopeDraw(), fdRopeFindNodeNear(), fdRopeGetEndNodePos(), fdRopeLayBowed(), fdRopeLayCoil(), fdRopeLayTied(), fdRopeRecoil() and fdRopeThrow().

Definition at line 600 of file field.h.

Fields in detail

next

struct ROPE_NODE *next

x

Sint32 x

y

Sint32 y

z

Sint32 z

angle

Uint16 angle

the sprite's turn, along the rope

kind

Sint8 kind

ROPE_NODE_KIND

slot

Sint8 slot

the rope's index plus one while it is thrown,

sprite

ANIMATION_SPR_PART sprite

else 0