Skip to Content
The Alchemy Project

src/battle/element_glow_tables.c

Where the element glow's sparks and rings sit on their sprite sheet.

Variables

NameDescription
const Sint32ElementGlowSparkPictures []Byte offsets into STAR_FIELD_STATE.sheet, a byte a pixel, by ticks of life left.
const Uint8ElementGlowSparkSizes []The spark's width and height in pixels by ticks of life left.
const Sint32ElementGlowRingPictures []The ring's four 32 by 32 ticks, after the sparks' 78 bytes.

Description

Where the element glow's sparks and rings sit on their sprite sheet.

Variables in detail

ElementGlowSparkPictures

const Sint32 ElementGlowSparkPictures[]

Byte offsets into STAR_FIELD_STATE.sheet, a byte a pixel, by ticks of life left.

References Sint32.

Referenced by btElementGlowUpdateStarField().

Definition at line 7 of file element_glow_tables.c.

ElementGlowSparkSizes

const Uint8 ElementGlowSparkSizes[]

The spark's width and height in pixels by ticks of life left.

Referenced by btElementGlowUpdateStarField().

Definition at line 10 of file element_glow_tables.c.

ElementGlowRingPictures

const Sint32 ElementGlowRingPictures[]

The ring's four 32 by 32 ticks, after the sparks' 78 bytes.

References Sint32.

Referenced by btElementGlowUpdateStarField().

Definition at line 13 of file element_glow_tables.c.