struct SCOOP_STATE
Scoop's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the dust and sparkle tiles, the picture that ripples as the ground is dug, 64 particles, the sprite that digs and the one left where it dug, and the stage of the cast.
Declared in field_psynergy_state.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | tiles [1024] | |
Uint8 | picture [SCOOP_PICTURE_SIZE * SCOOP_PICTURE_SIZE] | |
EFFECT_SPR | sprites [SCOOP_PARTICLE_COUNT] | |
FIELD_PSYNERGY_PARTICLE | particles [SCOOP_PARTICLE_COUNT] | |
EFFECT_SPR | pictureSprite | |
Sint16 | phase | The stage of the cast; FIELD_PSYNERGY_FINISHED once it ends. |
Sint16 | timer | Ticks into the stage. |
Sint16 | particleTile | |
Sint16 | pictureTile | |
struct ACTOR * | actor | SPRITE_SCOOP_HAND, which digs and sinks as it does. |
struct ACTOR * | other | SPRITE_BROWN_BOULDER (grey where lit), where it digs. |
Sint16 | mode | The kind of dig: 2 cast on a target; cast at nothing, 1 one time in sixteen (an item turns up), else 0, or 3 where lit is set. |
Description
Scoop's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the dust and sparkle
tiles, the picture that ripples as the ground is dug, 64 particles, the
sprite that digs and the one left where it dug, and the stage of the cast.
struct SCOOP_STATE
Referenced by fdPsynergyScoop(), fdScoopDigUpItem(), fdScoopDropFromHand(), fdScoopUpdate() and scYampiDesertCaveScoopDjinni().
Definition at line 47 of file field_psynergy_state.h.
Fields in detail
tiles
Uint8 tiles[1024]
picture
Uint8 picture[SCOOP_PICTURE_SIZE * SCOOP_PICTURE_SIZE]
sprites
EFFECT_SPR sprites[SCOOP_PARTICLE_COUNT]
particles
FIELD_PSYNERGY_PARTICLE particles[SCOOP_PARTICLE_COUNT]
pictureSprite
EFFECT_SPR pictureSprite
phase
Sint16 phase
The stage of the cast;
FIELD_PSYNERGY_FINISHED once it ends.
timer
Sint16 timer
Ticks into the stage.
particleTile
Sint16 particleTile
pictureTile
Sint16 pictureTile
actor
struct ACTOR *actor
SPRITE_SCOOP_HAND, which digs and sinks as
it does.
other
struct ACTOR *other
SPRITE_BROWN_BOULDER (grey where lit),
where it digs.
mode
Sint16 mode
The kind of dig: 2 cast on a target; cast at nothing, 1 one time in sixteen (an item turns up), else 0, or 3 where lit is set.