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

#include <itCommonItems.h>

Data Fields

s32 opened
 True if box has been opened/broken.
 
s32 despawn_timer
 Countdown timer after opening (starts at 40)
 
HSD_GObjspawned_gobj
 Related GObj that needs cleanup on destroy.
 
f32 rot_vel_x
 Rotation velocity around X axis (wobble)
 
f32 rot_vel_y
 Rotation velocity around Y axis (wobble)
 

Field Documentation

◆ opened

s32 itBox_ItemVars::opened

True if box has been opened/broken.

◆ despawn_timer

s32 itBox_ItemVars::despawn_timer

Countdown timer after opening (starts at 40)

◆ spawned_gobj

HSD_GObj* itBox_ItemVars::spawned_gobj

Related GObj that needs cleanup on destroy.

◆ rot_vel_x

f32 itBox_ItemVars::rot_vel_x

Rotation velocity around X axis (wobble)

◆ rot_vel_y

f32 itBox_ItemVars::rot_vel_y

Rotation velocity around Y axis (wobble)


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