SSBM Decomp
Loading...
Searching...
No Matches
itFlipper_ItemVars Struct Reference

Per-instance runtime state of a flipper item (overlaid on Item::xDD4_itemVar). More...

#include <itCommonItems.h>

Data Fields

s32 xDD4_flightTimer
 Frames a thrown flipper stays airborne before it settles; counts down each in-flight frame.
bool xDD8_isSettled
 0 while the flipper is an airborne projectile, 1 once it has settled into a stationary hazard.
s32 xDDC_hitboxTimer
 Countdown that refreshes the active flipper's hitboxes when it reaches 0; set from x14_hitboxInterval on a hit.
f32 xDE0_spinAngle
 Accumulated paddle rotation; each frame xDE4_spinVel is added in and the result is passed to HSD_JObjSetRotationX.
f32 xDE4_spinVel
 Paddle angular velocity; kicked on contact, decays by x20_spinDecay, and saturates at +/- x24_maxSpinVel.
bool xDE8_isStageFixed
 Set when the flipper is anchored to a stage joint (Break-the-Targets) rather than free-spawned; only ever set by itFlipper_Spawn().
HSD_JObjxDEC_stageAnchor
 The stage HSD_JObj a stage-fixed flipper is pinned to; the flipper's pos tracks this joint each frame.

Detailed Description

Per-instance runtime state of a flipper item (overlaid on Item::xDD4_itemVar).

Note
These field names were determined by Claude (an AI), not recovered from an original author; treat them as tentative. Each @alias records the offset-only name it replaced, and the superscript markers are footnotes into itflipper_naming.

Field Documentation

◆ xDD4_flightTimer

s32 itFlipper_ItemVars::xDD4_flightTimer

Frames a thrown flipper stays airborne before it settles; counts down each in-flight frame.

[E1], [E2]

Alias
xDD4.

◆ xDD8_isSettled

bool itFlipper_ItemVars::xDD8_isSettled

0 while the flipper is an airborne projectile, 1 once it has settled into a stationary hazard.

[E1], [E2]

Alias
xDD8.

◆ xDDC_hitboxTimer

s32 itFlipper_ItemVars::xDDC_hitboxTimer

Countdown that refreshes the active flipper's hitboxes when it reaches 0; set from x14_hitboxInterval on a hit.

[E3]

Alias
xDDC.

◆ xDE0_spinAngle

f32 itFlipper_ItemVars::xDE0_spinAngle

Accumulated paddle rotation; each frame xDE4_spinVel is added in and the result is passed to HSD_JObjSetRotationX.

[E3]

Alias
xDE0.

◆ xDE4_spinVel

f32 itFlipper_ItemVars::xDE4_spinVel

Paddle angular velocity; kicked on contact, decays by x20_spinDecay, and saturates at +/- x24_maxSpinVel.

[E3], [E4]

Alias
xDE4.

◆ xDE8_isStageFixed

bool itFlipper_ItemVars::xDE8_isStageFixed

Set when the flipper is anchored to a stage joint (Break-the-Targets) rather than free-spawned; only ever set by itFlipper_Spawn().

[E6]

Alias
xDE8.

◆ xDEC_stageAnchor

HSD_JObj* itFlipper_ItemVars::xDEC_stageAnchor

The stage HSD_JObj a stage-fixed flipper is pinned to; the flipper's pos tracks this joint each frame.

[E6]

Alias
xDEC.

The documentation for this struct was generated from the following files: