Skip to Content
The Alchemy Project

struct DUST_PUFF_STATE

The dust puffs' state, kept in RamHeapSlots' menu runtime while they play: their pictures, the puffs each with its place and sprite, and the next to emit.

Declared in venus_lighthouse_entrance.c.

Fields

NameDescription
Uint8pictures [2048]decompressed, then loaded into the VRAM cache
SPARK_STATEstates [DUST_PUFFS]
EFFECT_SPRsprites [DUST_PUFFS]
Sint16nextthe next puff to emit, taken in turn
Uint16tileBasethe pictures' first tile
Sint16resourcetheir VRAM cache entry

Description

The dust puffs' state, kept in RamHeapSlots' menu runtime while they play: their pictures, the puffs each with its place and sprite, and the next to emit.

struct DUST_PUFF_STATE

Referenced by scVenusLighthouseEntranceEmitDust(), scVenusLighthouseEntranceStartDust(), scVenusLighthouseEntranceStopDust() and scVenusLighthouseEntranceUpdateDust().

Definition at line 155 of file venus_lighthouse_entrance.c.

Fields in detail

pictures

Uint8 pictures[2048]

decompressed, then loaded into the VRAM cache

states

SPARK_STATE states[DUST_PUFFS]

sprites

EFFECT_SPR sprites[DUST_PUFFS]

next

Sint16 next

the next puff to emit, taken in turn

tileBase

Uint16 tileBase

the pictures' first tile

resource

Sint16 resource

their VRAM cache entry