Skip to Content
The Alchemy Project

struct ROPE_SLOT

One of the eight ropes: the two posts it runs between and its swing.

Declared in field.h.

Fields

NameDescription
Sint16firstthe post it coils at
Sint16secondthe post it is tied to
Sint16segmentsits nodes, less one
Sint16prioritythe sprites', the first post's
Sint16flagsset while the rope is tied
Sint16state1 once thrown or tied
Sint32amplitude
Uint8unusedAfterAmplitude [4]no code names it
Sint32phase
Sint32swinging
ROPE_NODE *head

Description

One of the eight ropes: the two posts it runs between and its swing.

struct ROPE_SLOT

Referenced by fdActorCrossRope(), fdRopeCoil(), fdRopeDraw(), fdRopeFindById(), fdRopeGetEndNodePos(), fdRopeGetState(), fdRopeLash(), fdRopeLayBowed(), fdRopeLayCoil(), fdRopeLayTied(), fdRopePlace(), fdRopeRecoil(), fdRopeThrow(), fdRopeTie() and fdRopeUpdate().

Definition at line 614 of file field.h.

Fields in detail

first

Sint16 first

the post it coils at

second

Sint16 second

the post it is tied to

segments

Sint16 segments

its nodes, less one

priority

Sint16 priority

the sprites', the first post's

flags

Sint16 flags

set while the rope is tied

state

Sint16 state

1 once thrown or tied

amplitude

Sint32 amplitude

unusedAfterAmplitude

Uint8 unusedAfterAmplitude[4]

no code names it

phase

Sint32 phase

swinging

Sint32 swinging

ROPE_NODE *head