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

Description

Definition at line 33 of file d_bc.hpp.

Public Types

enum  Flag_e {
  FLAG_0 = BIT_FLAG(0) ,
  FLAG_1 = BIT_FLAG(1) ,
  FLAG_2 = BIT_FLAG(2) ,
  FLAG_3 = BIT_FLAG(3) ,
  FLAG_4 = BIT_FLAG(4) ,
  FLAG_5 = BIT_FLAG(5) ,
  FLAG_6 = BIT_FLAG(6) ,
  FLAG_7 = BIT_FLAG(7) ,
  FLAG_8 = BIT_FLAG(8) ,
  FLAG_9 = BIT_FLAG(9) ,
  FLAG_10 = BIT_FLAG(10) ,
  FLAG_11 = BIT_FLAG(11) ,
  FLAG_12 = BIT_FLAG(12) ,
  FLAG_13 = BIT_FLAG(13) ,
  FLAG_14 = BIT_FLAG(14) ,
  FLAG_15 = BIT_FLAG(15) ,
  FLAG_16 = BIT_FLAG(16) ,
  FLAG_17 = BIT_FLAG(17) ,
  FLAG_18 = BIT_FLAG(18) ,
  FLAG_19 = BIT_FLAG(19) ,
  FLAG_20 = BIT_FLAG(20) ,
  FLAG_21 = BIT_FLAG(21) ,
  FLAG_22 = BIT_FLAG(22) ,
  FLAG_23 = BIT_FLAG(23) ,
  FLAG_24 = BIT_FLAG(24) ,
  FLAG_25 = BIT_FLAG(25) ,
  FLAG_26 = BIT_FLAG(26) ,
  FLAG_27 = BIT_FLAG(27) ,
  FLAG_28 = BIT_FLAG(28) ,
  FLAG_29 = BIT_FLAG(29) ,
  FLAG_WALL_R ,
  FLAG_WALL_L ,
  FLAG_FOOT ,
  FLAG_HEAD
}
enum  WATER_TYPE_e {
  WATER_CHECK_NONE ,
  WATER_CHECK_WATER ,
  WATER_CHECK_WATER_BUBBLE ,
  WATER_CHECK_YOGAN ,
  WATER_CHECK_POISON
}

Public Member Functions

void set (dActor_c *, const sBcSensorBase *, const sBcSensorBase *, const sBcSensorBase *)
void checkLink ()
bool checkRide ()
bool checkHead (ulong)
s16 getSakaAngle (u8)
int getSakaMoveAngle (u8)
Flag_e checkWall (float *)
Flag_e checkWallEnm (float *)
Flag_e checkFoot ()
Flag_e checkFootEnm ()
u16 getFootAttr ()
bool hasSensorFoot ()
bool hasSensorHead ()
bool hasSensorWall ()
u32 isWallR ()
u32 isWallL ()
u32 isFoot ()
u32 isHead ()
u32 isCollision ()

Static Public Member Functions

static int checkWaterDepth (float, float, u8, u8, float *)
static WATER_TYPE_e checkWater (float, float, u8, float *)
static u32 checkBg (float, float, u8, u8, unsigned long)
static u32 checkWireNet (float x, float y, unsigned char layer)
static u32 checkGround (const mVec3_c *, float *, u8, u8, signed char)
static u32 checkTenjou (const mVec3_c *, float *, u8, u8)
static u32 checkWall (const mVec3_c *, const mVec3_c *, float *, u8, u8, dActor_c **)

Public Attributes

dActor_cmpOwner
sBcSensorBasempSensorFoot
sBcSensorBasempSensorHead
sBcSensorBasempSensorWall
mVec3_cmpOwnerPos
mVec3_cmpOwnerLastPos
mVec3_cmpOwnerSpeed
mVec3_c mPushForce
mVec2_c mOwnerPosDelta
mVec2_c m_34
mVec2_c m_3c
float m_44
float m_48
float m_4c
dRc_cmpRc
dActor_cmFriendActor
dBg_ctr_c * mCollidedBelow
dBg_ctr_c * mCollidedAbove
dBg_ctr_c * mCollidedAdj
dBg_ctr_c * mCollidedAdjForDirection [2]
dBc_cmPrevTrigBelowSensor
dBc_cmPrevTrigAboveSensor
dBc_cmPrevTrigAdjSensor
dBc_cmPrevTrigAdjSensorForDirection [2]
dBg_ctr_c * mLinkW [2]
u32 mFlags
u32 mPrevFlags
char pad3 [0x55]
u8 mAmiLine
char pad4 [0x2]
u8 * mpLayer
u8 mLayer

Member Enumeration Documentation

◆ Flag_e

enum dBc_c::Flag_e

Definition at line 35 of file d_bc.hpp.

◆ WATER_TYPE_e

enum dBc_c::WATER_TYPE_e

Definition at line 79 of file d_bc.hpp.

Member Function Documentation

◆ set()

void dBc_c::set ( dActor_c * ,
const sBcSensorBase * ,
const sBcSensorBase * ,
const sBcSensorBase *  )

◆ hasSensorFoot()

bool dBc_c::hasSensorFoot ( )
inline

Definition at line 103 of file d_bc.hpp.

◆ hasSensorHead()

bool dBc_c::hasSensorHead ( )
inline

Definition at line 104 of file d_bc.hpp.

◆ hasSensorWall()

bool dBc_c::hasSensorWall ( )
inline

Definition at line 105 of file d_bc.hpp.

◆ isWallR()

u32 dBc_c::isWallR ( )
inline

Definition at line 149 of file d_bc.hpp.

◆ isWallL()

u32 dBc_c::isWallL ( )
inline

Definition at line 150 of file d_bc.hpp.

◆ isHead()

u32 dBc_c::isHead ( )
inline

Definition at line 152 of file d_bc.hpp.

◆ isCollision()

u32 dBc_c::isCollision ( )
inline

Definition at line 153 of file d_bc.hpp.

Member Data Documentation

◆ mpOwner

dActor_c* dBc_c::mpOwner

Definition at line 107 of file d_bc.hpp.

◆ mpSensorFoot

sBcSensorBase* dBc_c::mpSensorFoot

Definition at line 108 of file d_bc.hpp.

◆ mpSensorHead

sBcSensorBase* dBc_c::mpSensorHead

Definition at line 109 of file d_bc.hpp.

◆ mpSensorWall

sBcSensorBase* dBc_c::mpSensorWall

Definition at line 110 of file d_bc.hpp.

◆ mpOwnerPos

mVec3_c* dBc_c::mpOwnerPos

Definition at line 111 of file d_bc.hpp.

◆ mpOwnerLastPos

mVec3_c* dBc_c::mpOwnerLastPos

Definition at line 112 of file d_bc.hpp.

◆ mpOwnerSpeed

mVec3_c* dBc_c::mpOwnerSpeed

Definition at line 113 of file d_bc.hpp.

◆ mPushForce

mVec3_c dBc_c::mPushForce

Definition at line 114 of file d_bc.hpp.

◆ mOwnerPosDelta

mVec2_c dBc_c::mOwnerPosDelta

Definition at line 115 of file d_bc.hpp.

◆ m_34

mVec2_c dBc_c::m_34

Definition at line 116 of file d_bc.hpp.

◆ m_3c

mVec2_c dBc_c::m_3c

Definition at line 117 of file d_bc.hpp.

◆ m_44

float dBc_c::m_44

Definition at line 118 of file d_bc.hpp.

◆ m_48

float dBc_c::m_48

Definition at line 119 of file d_bc.hpp.

◆ m_4c

float dBc_c::m_4c

Definition at line 120 of file d_bc.hpp.

◆ mpRc

dRc_c* dBc_c::mpRc

Definition at line 121 of file d_bc.hpp.

◆ mFriendActor

dActor_c* dBc_c::mFriendActor

Definition at line 122 of file d_bc.hpp.

◆ mCollidedBelow

dBg_ctr_c* dBc_c::mCollidedBelow

Definition at line 123 of file d_bc.hpp.

◆ mCollidedAbove

dBg_ctr_c* dBc_c::mCollidedAbove

Definition at line 124 of file d_bc.hpp.

◆ mCollidedAdj

dBg_ctr_c* dBc_c::mCollidedAdj

Definition at line 125 of file d_bc.hpp.

◆ mCollidedAdjForDirection

dBg_ctr_c* dBc_c::mCollidedAdjForDirection[2]

Definition at line 126 of file d_bc.hpp.

◆ mPrevTrigBelowSensor

dBc_c* dBc_c::mPrevTrigBelowSensor

Definition at line 127 of file d_bc.hpp.

◆ mPrevTrigAboveSensor

dBc_c* dBc_c::mPrevTrigAboveSensor

Definition at line 128 of file d_bc.hpp.

◆ mPrevTrigAdjSensor

dBc_c* dBc_c::mPrevTrigAdjSensor

Definition at line 129 of file d_bc.hpp.

◆ mPrevTrigAdjSensorForDirection

dBc_c* dBc_c::mPrevTrigAdjSensorForDirection[2]

Definition at line 130 of file d_bc.hpp.

◆ mLinkW

dBg_ctr_c* dBc_c::mLinkW[2]

Definition at line 131 of file d_bc.hpp.

◆ mFlags

u32 dBc_c::mFlags

Definition at line 132 of file d_bc.hpp.

◆ mPrevFlags

u32 dBc_c::mPrevFlags

Definition at line 133 of file d_bc.hpp.

◆ pad3

char dBc_c::pad3[0x55]

Definition at line 134 of file d_bc.hpp.

◆ mAmiLine

u8 dBc_c::mAmiLine

Definition at line 135 of file d_bc.hpp.

◆ pad4

char dBc_c::pad4[0x2]

Definition at line 136 of file d_bc.hpp.

◆ mpLayer

u8* dBc_c::mpLayer

Definition at line 137 of file d_bc.hpp.

◆ mLayer

u8 dBc_c::mLayer

Definition at line 138 of file d_bc.hpp.