Skip to Content
The Alchemy Project

struct ELEMENT_STREAKS_STATE

The element streaks' state, which btEffectStartElementStreaks allocates in the HEAP_SLOT_BATTLE_EFFECT heap slot in place of the battle effect state.

Declared in battle_effect_internal.h.

Fields

NameDescription
Sint32framethe streaks' tick count (btEffectDrawStreaks)
Sint32halvePendingthe streaks are drawn: halve the canvas into VRAM
Sint32fadeFrameTicks of the background's fade left (btEffectDimBackgroundStep)
Sint32fadeStepthe fade's steps so far, BACKGROUND_LEVEL_STEP each

Description

The element streaks' state, which btEffectStartElementStreaks allocates in the HEAP_SLOT_BATTLE_EFFECT heap slot in place of the battle effect state.

struct ELEMENT_STREAKS_STATE

Referenced by btEffectDimBackgroundStep(), btEffectDrawStreaks(), btEffectStartElementStreaks() and btEffectTransferHalvedCanvas().

Definition at line 80 of file battle_effect_internal.h.

Fields in detail

frame

Sint32 frame

the streaks' tick count (btEffectDrawStreaks)

halvePending

Sint32 halvePending

the streaks are drawn: halve the canvas into VRAM

fadeFrame

Sint32 fadeFrame

Ticks of the background's fade left (btEffectDimBackgroundStep)

fadeStep

Sint32 fadeStep

the fade's steps so far, BACKGROUND_LEVEL_STEP each