Skip to Content
The Alchemy Project

struct LOHO_SPARK

One of the sparks the cannon's blast throws over the screen: the link the sprite list threads it by, its sprite, and its age in ticks, negative while it waits to appear.

Declared in loho.c.

Fields

NameDescription
struct LOHO_SPARK *next
union { Uint32words, halves, bytes, y, attr0, x, attr1, tile, priority, palette, oam, sprite [2]; Uint16 halves[4]; Uint8 bytes[8]; struct { Uint16 y : 8; Uint16 attr0 : 8; Uint16 x : 9; Uint16 attr1 : 7; Uint16 tile : 10; Uint16 priority : 2; Uint16 palette : 4; } oam; } sprite
Sint32age

Description

One of the sparks the cannon's blast throws over the screen: the link the sprite list threads it by, its sprite, and its age in ticks, negative while it waits to appear.

struct LOHO_SPARK

Referenced by scLohoFireCannon().

Definition at line 166 of file loho.c.

Fields in detail

next

struct LOHO_SPARK *next

words, halves, bytes, y, attr0, x, attr1, tile, priority, palette, oam, sprite

union { Uint32 words[2]; Uint16 halves[4]; Uint8 bytes[8]; struct { Uint16 y : 8; Uint16 attr0 : 8; Uint16 x : 9; Uint16 attr1 : 7; Uint16 tile : 10; Uint16 priority : 2; Uint16 palette : 4; } oam; } sprite

age

Sint32 age