Skip to Content
The Alchemy Project

struct BATTLE_EFFECT_INDEX_WINDOW

What btEffectBuildCenteredIndexList (unused) reads: a value to find in a list, and how many indices either side of it to keep.

Declared in battle_effect.h.

Fields

NameDescription
Sint32unused [3]no code names it
Sint32currentValuethe value looked for in values
Sint32indexRadiusindices kept either side of where it sits
Sint32entryLimitindices from this up are dropped
Sint32unusedAfterLimit [3]no code names it
Sint16values [1]indexRadius * 2 + 1 values, searched in order

Description

What btEffectBuildCenteredIndexList (unused) reads: a value to find in a list, and how many indices either side of it to keep.

struct BATTLE_EFFECT_INDEX_WINDOW

Referenced by btEffectBuildCenteredIndexList().

Definition at line 56 of file battle_effect.h.

Fields in detail

unused

Sint32 unused[3]

no code names it

currentValue

Sint32 currentValue

the value looked for in values

indexRadius

Sint32 indexRadius

indices kept either side of where it sits

entryLimit

Sint32 entryLimit

indices from this up are dropped

unusedAfterLimit

Sint32 unusedAfterLimit[3]

no code names it

values

Sint16 values[1]

indexRadius * 2 + 1 values, searched in order