src/battle/element_glow_tables.c
Where the element glow's sparks and rings sit on their sprite sheet.
Variables
| Name | Description | |
|---|---|---|
Sint32 | ElementGlowSparkPictures [] | Where each spark picture starts in SPARK_STATE.sheet, a byte a pixel, by ticks of life left: the squares of ElementGlowSparkSizes, one after another. |
Uint8 | ElementGlowSparkSizes [] | The spark's width and height in pixels by ticks of life left; the 1-pixel entry, for none left, is never drawn. |
Sint32 | ElementGlowRingPictures [] | The ring's four 32 by 32 pictures, after the sparks' 78 bytes, one for each eight ticks of its life. |
Sint32 | ElementGlowUnusedWords [] | Unused: four words after the ring's pictures that no code names. |
Description
Where the element glow's sparks and rings sit on their sprite sheet.
Variables in detail
ElementGlowSparkPictures
Sint32 ElementGlowSparkPictures[]
Where each spark picture starts in SPARK_STATE.sheet, a byte a pixel, by
ticks of life left: the squares of ElementGlowSparkSizes, one after another.
References Sint32.
Referenced by btElementGlowUpdateStarField().
Definition at line 7 of file element_glow_tables.c.
ElementGlowSparkSizes
Uint8 ElementGlowSparkSizes[]
The spark's width and height in pixels by ticks of life left; the 1-pixel entry, for none left, is never drawn.
Referenced by btElementGlowUpdateStarField().
Definition at line 11 of file element_glow_tables.c.
ElementGlowRingPictures
Sint32 ElementGlowRingPictures[]
The ring's four 32 by 32 pictures, after the sparks' 78 bytes, one for each eight ticks of its life.
References Sint32.
Referenced by btElementGlowUpdateStarField().
Definition at line 15 of file element_glow_tables.c.
ElementGlowUnusedWords
Sint32 ElementGlowUnusedWords[]
Unused: four words after the ring's pictures that no code names.
References Sint32.
Definition at line 23 of file element_glow_tables.c.