struct SAND_STATE
Sand's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the leader's picture and the copy it sinks into the ground, the grains of sand thrown up round it and the sprite the sinking leader is drawn with.
Declared in field_psynergy_sand.c.
Fields
| Name | Description | |
|---|---|---|
Uint8 | picture [SAND_PICTURE_SIZE * SAND_PICTURE_SIZE] | The leader's |
Uint8 | sunken [SAND_PICTURE_SIZE * SAND_PICTURE_SIZE] | picture, 8 bits a pixel. |
EFFECT_SPR | grainSprites [SAND_GRAIN_COUNT] | |
FIELD_PSYNERGY_PARTICLE | grains [SAND_GRAIN_COUNT] | |
EFFECT_SPR | leader | |
Uint8 | unused [4] |
Description
Sand's state (heap slot HEAP_SLOT_BATTLE_EFFECT): the leader's picture and
the copy it sinks into the ground, the grains of sand thrown up round it and
the sprite the sinking leader is drawn with.
struct SAND_STATE
Referenced by fdPsynergyEndSand() and fdPsynergySand().
Definition at line 23 of file field_psynergy_sand.c.
Fields in detail
picture
Uint8 picture[SAND_PICTURE_SIZE * SAND_PICTURE_SIZE]
The leader's
sunken
Uint8 sunken[SAND_PICTURE_SIZE * SAND_PICTURE_SIZE]
picture, 8 bits a pixel. The picture with its columns sunk by a wave.
grainSprites
EFFECT_SPR grainSprites[SAND_GRAIN_COUNT]
grains
FIELD_PSYNERGY_PARTICLE grains[SAND_GRAIN_COUNT]
leader
EFFECT_SPR leader
unused
Uint8 unused[4]