NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/bases/d_cc.hpp>
A structure that contains information about a collider.
Public Attributes | |
float | mOffsetX |
The X offset of the collider. | |
float | mOffsetY |
The Y offset of the collider. | |
float | mWidth |
The width of the collider. | |
float | mHeight |
The height of the collider. | |
u8 | mCategory |
The category of this collider. See CC_CATEGORY_e . | |
u8 | mAttackCategory |
The attack category of this collider. See CC_ATTACK_e . | |
u32 | mCategoryInteract |
Which categories this collider should be able to collide with. | |
u32 | mAttackCategoryInteract |
Which attack categories this collider should be able to receive. | |
u16 | mFlag |
Flags for this collider. See CC_DATA_FLAG_e . | |
void(* | mCallback )(dCc_c *, dCc_c *) |
The callback to execute when a collision occurs. | |
float dCc_c::CcData_s::mOffsetX |
float dCc_c::CcData_s::mOffsetY |
float dCc_c::CcData_s::mWidth |
float dCc_c::CcData_s::mHeight |
u8 dCc_c::CcData_s::mCategory |
The category of this collider. See CC_CATEGORY_e .
u8 dCc_c::CcData_s::mAttackCategory |
u32 dCc_c::CcData_s::mCategoryInteract |
Which categories this collider should be able to collide with.
This is a bitfield with the bits enumerated by CC_CATEGORY_e .
u32 dCc_c::CcData_s::mAttackCategoryInteract |
u16 dCc_c::CcData_s::mFlag |
Flags for this collider. See CC_DATA_FLAG_e .