Skip to Content
The Alchemy Project

struct HANGING_VINE_SLOT

One of the eight hanging vines: the actor it hangs from and its swing.

Declared in hanging_vine.h.

Fields

NameDescription
Sint16idthe actor the chain hangs from
Uint8unusedAfterId [2]no code names it
Sint32swingthe arc's width
FIXEDspacingbetween links, in 16.16
Uint8unusedAfterSpacing [4]no code names it
Sint32phasewhere the swing is in its arc, an angle
Sint32active
void *rootthe first link fdHangingVineHang hangs; NULL if free

Description

One of the eight hanging vines: the actor it hangs from and its swing.

struct HANGING_VINE_SLOT

Referenced by fdHangingVineFindFreeSlot(), fdHangingVineFindSlot(), fdHangingVineHang(), fdHangingVineSwing(), fdHangingVineUpdate(), scGaiaRockFindVineSlot(), scGaiaRockWhirlwindBlowsVine() and scGaiaRockWhirlwindBlowsVineHarder().

Definition at line 27 of file hanging_vine.h.

Fields in detail

id

Sint16 id

the actor the chain hangs from

unusedAfterId

Uint8 unusedAfterId[2]

no code names it

swing

Sint32 swing

the arc's width

spacing

FIXED spacing

between links, in 16.16

unusedAfterSpacing

Uint8 unusedAfterSpacing[4]

no code names it

phase

Sint32 phase

where the swing is in its arc, an angle

active

Sint32 active

root

void *root

the first link fdHangingVineHang hangs; NULL if free