struct RING_STATE
The Ring's state (heap slot battleEffect): the sparkle picture, the 64 sparkles that rise round the caster as the ring is drawn and burst when it ends, the motes that circle it after, and what the per-tick event shows.
Declared in field_psynergy_ring.c.
Fields
| Name | Description | |
|---|---|---|
Uint8 | tiles [4096] | The sparkle picture, then the motes', then the burst's. |
EFFECT_SPR | sparkSprites [RING_SPARK_COUNT] | |
FIELD_PSYNERGY_PARTICLE | sparks [RING_SPARK_COUNT] | |
EFFECT_SPR | sprites [RING_MOTE_COUNT] | The motes, placed round |
FIELD_PSYNERGY_PARTICLE | motes [RING_MOTE_COUNT] | the caster; the event draws the first 16. |
Sint16 | entry | The motes' VRAM cache entry. |
Uint16 | tile | The motes' first tile. |
Sint8 | sparkling | The event draws RING_CIRCLING_MOTES motes round the caster. |
Sint8 | orbiting | The ring sways round the caster as its time runs down. |
Sint8 | cycling | The event cycles BG and |
Uint8 | unused | OBJ palette RING_PALETTE. |
Uint16 | phase | The colour cycle's step. |
Description
The Ring's state (heap slot battleEffect): the sparkle picture, the 64 sparkles that rise round the caster as the ring is drawn and burst when it ends, the motes that circle it after, and what the per-tick event shows.
struct RING_STATE
Referenced by fdPsynergyEndRing(), fdPsynergyRing() and fdPsynergyUpdateRing().
Definition at line 41 of file field_psynergy_ring.c.
Fields in detail
tiles
Uint8 tiles[4096]
The sparkle picture, then the motes', then the burst's.
sparkSprites
EFFECT_SPR sparkSprites[RING_SPARK_COUNT]
sparks
FIELD_PSYNERGY_PARTICLE sparks[RING_SPARK_COUNT]
sprites
EFFECT_SPR sprites[RING_MOTE_COUNT]
The motes, placed round
motes
FIELD_PSYNERGY_PARTICLE motes[RING_MOTE_COUNT]
the caster; the event draws the first 16.
entry
Sint16 entry
The motes' VRAM cache
entry.
tile
Uint16 tile
The motes' first tile.
sparkling
Sint8 sparkling
The event draws
RING_CIRCLING_MOTES
motes round the caster.
orbiting
Sint8 orbiting
The ring sways round the caster as its time runs down.
cycling
Sint8 cycling
The event cycles BG and
unused
Uint8 unused
OBJ palette
RING_PALETTE.
phase
Uint16 phase
The colour cycle's step.