Skip to Content
The Alchemy Project

struct BOW_STATE

The Arrow's state (fdPsynergyArrow, in heap slot HEAP_SLOT_BATTLE_EFFECT): its 32 sparks, the arrow and the bow with their motions, the points the arrow flies between, and the phase of its event.

Declared in field_psynergy.h.

Fields

NameDescription
Uint8 *tiles
BOW_MOTIONsparks [BOW_SPARK_COUNT]
BOW_MOTIONarrowMotion
EFFECT_SPRarrow
BOW_MOTIONbowMotion
EFFECT_SPRbow
Sint32start [3]
Sint32target [3]
Sint16phase
Sint16timer
Uint16bowTile
Sint16frame
Sint8bowGrowing
Sint8bowShrinking
Sint8sparking
Sint8sparksRepeat
Sint16result
Sint8done
Sint8arrowMoving

Description

The Arrow's state (fdPsynergyArrow, in heap slot HEAP_SLOT_BATTLE_EFFECT): its 32 sparks, the arrow and the bow with their motions, the points the arrow flies between, and the phase of its event.

struct BOW_STATE

Referenced by fdPsynergyArrow() and fdPsynergyUpdateArrow().

Definition at line 76 of file field_psynergy.h.

Fields in detail

tiles

Uint8 *tiles

sparks

BOW_MOTION sparks[BOW_SPARK_COUNT]

arrowMotion

BOW_MOTION arrowMotion

arrow

EFFECT_SPR arrow

bowMotion

BOW_MOTION bowMotion

bow

EFFECT_SPR bow

start

Sint32 start[3]

target

Sint32 target[3]

phase

Sint16 phase

timer

Sint16 timer

bowTile

Uint16 bowTile

frame

Sint16 frame

bowGrowing

Sint8 bowGrowing

bowShrinking

Sint8 bowShrinking

sparking

Sint8 sparking

sparksRepeat

Sint8 sparksRepeat

result

Sint16 result

done

Sint8 done

arrowMoving

Sint8 arrowMoving