struct ROPE_SLOT
One of the eight ropes: the two posts it runs between and its swing.
Declared in field.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | first | the post it coils at |
Sint16 | second | the post it is tied to |
Sint16 | segments | its nodes, less one |
Sint16 | priority | the sprites', the first post's |
Sint16 | flags | set while the rope is tied |
Sint16 | state | 1 once thrown or tied |
Sint32 | amplitude | |
Uint8 | unusedAfterAmplitude [4] | no code names it |
Sint32 | phase | |
Sint32 | swinging | |
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
head
ROPE_NODE *head