Alchemy
Loading...
Searching...
No Matches

BattleEffectIndexWindow Struct Reference

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

#include <unit/effect/effect.h>

Data Fields

s32 unk_00 [3]
 not named by TBS code
s32 currentValue
 the value looked for in values
s32 indexRadius
 indices kept either side of where it sits
s32 entryLimit
 indices from this up are dropped
s32 unk_18 [3]
 not named by TBS code
s16 values [1]
 indexRadius * 2 + 1 values, searched in order

Detailed Description

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

Definition at line 209 of file effect.h.

Field Documentation

◆ unk_00

s32 BattleEffectIndexWindow::unk_00[3]

not named by TBS code

Definition at line 210 of file effect.h.

◆ currentValue

s32 BattleEffectIndexWindow::currentValue

the value looked for in values

Definition at line 211 of file effect.h.

Referenced by BattleFx_BuildCenteredIndexList().

◆ indexRadius

s32 BattleEffectIndexWindow::indexRadius

indices kept either side of where it sits

Definition at line 212 of file effect.h.

Referenced by BattleFx_BuildCenteredIndexList().

◆ entryLimit

s32 BattleEffectIndexWindow::entryLimit

indices from this up are dropped

Definition at line 213 of file effect.h.

◆ unk_18

s32 BattleEffectIndexWindow::unk_18[3]

not named by TBS code

Definition at line 214 of file effect.h.

◆ values

s16 BattleEffectIndexWindow::values[1]

indexRadius * 2 + 1 values, searched in order

Definition at line 215 of file effect.h.

Referenced by BattleFx_BuildCenteredIndexList().