NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
sCcDatNewF Struct Reference

#include <game/bases/d_cc.hpp>

Description

A structure that contains information about a collider.

Definition at line 98 of file d_cc.hpp.

Public Member Functions

void set (const sCcDatNewF &other)

Public Attributes

sCcDatNew mBase
 Base collider data.
u8 mKind
 The type of this collider. See CC_KIND_e.
u8 mAttack
 The attack type of this collider. See CC_ATTACK_e.
u32 mVsKind
 Which attack types this collider should be able to receive. This is a bitfield with the bits enumerated by CC_ATTACK_e.
u32 mVsDamage
u16 mStatus
 Status flags for this collider. See CC_STATUS_FLAG_e.
void(* mCallback )(dCc_c *self, dCc_c *target)
 The callback to execute when a collision occurs.

Member Function Documentation

◆ set()

void sCcDatNewF::set ( const sCcDatNewF & other)
inline

Definition at line 116 of file d_cc.hpp.

Member Data Documentation

◆ mBase

sCcDatNew sCcDatNewF::mBase

Base collider data.

Definition at line 99 of file d_cc.hpp.

◆ mKind

u8 sCcDatNewF::mKind

The type of this collider. See CC_KIND_e.

Definition at line 101 of file d_cc.hpp.

◆ mAttack

u8 sCcDatNewF::mAttack

The attack type of this collider. See CC_ATTACK_e.

Which types this collider should be able to collide with. This is a bitfield with the bits enumerated by CC_KIND_e.

Definition at line 102 of file d_cc.hpp.

◆ mVsKind

u32 sCcDatNewF::mVsKind

Which attack types this collider should be able to receive. This is a bitfield with the bits enumerated by CC_ATTACK_e.

Definition at line 106 of file d_cc.hpp.

◆ mVsDamage

u32 sCcDatNewF::mVsDamage

Definition at line 110 of file d_cc.hpp.

◆ mStatus

u16 sCcDatNewF::mStatus

Status flags for this collider. See CC_STATUS_FLAG_e.

Definition at line 112 of file d_cc.hpp.

◆ mCallback

void(* sCcDatNewF::mCallback) (dCc_c *self, dCc_c *target)

The callback to execute when a collision occurs.

Definition at line 114 of file d_cc.hpp.