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

Description

Definition at line 69 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_30 = BIT_FLAG(30) ,
  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 init ()
void set (dActor_c *, const sBcSensorIf_c *, const sBcSensorIf_c *, const sBcSensorIf_c *)
void checkLink ()
bool checkRide ()
bool checkHead (unsigned long)
s16 getSakaAngle (u8)
s16 getSakaMoveAngle (u8)
Flag_e checkWall (float *)
Flag_e checkWallEnm (float *)
Flag_e checkFoot ()
Flag_e checkFootEnm ()
u16 getWallAttr (int)
u16 getFootAttr ()
u32 checkPoleCollision (sBcPointData *)
u32 checkVineCollision (sBcPointData *)
bool hasSensorFoot ()
bool hasSensorHead ()
bool hasSensorWall ()
bool checkRoofPlayer (const mVec3_c *, float *)
u32 getSakaDir ()
int checkDokanLR (mVec3_c *, u8, int *, float, float)
int checkDokanDown (mVec3_c *, int *)
int checkDokanUp (mVec3_c *, int *)
void setRideOnObjBg (dBg_ctr_c *, const mVec3_c &)
bool checkWallPlayer (const mVec3_c *, const mVec3_c *, float *)
u32 checkBgPlr (dActor_c *)
u16 getHeadAttr ()
short getHeadSakaMoveAngle (u8 direction)
void clearBgcSaveAll ()
bool getSakaUpDown (u8 direction)
short getSakaAngleBySpeed (float)
int getSakaType ()
u32 getFlags () const
u32 isWallR ()
u32 isWallL ()
u32 isWall ()
u32 isWall (u8 dir)
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, s8)
static u32 checkGround (const mVec3_c *, float *, int *, u8, u8, s8)
static bool checkGroundAngle (const mVec3_c *, float *, s16 *, u8, u8, s8, int *, int)
static u32 checkGroundHalf (const mVec3_c *, float *, u8, u8)
static u32 checkTenjou (const mVec3_c *, float *, u8, u8)
static u32 checkWall (const mVec3_c *, const mVec3_c *, float *, u8, u8, dActor_c **)
static u32 getUnitType (float x, float y, u8 layer)
static u32 getUnitKind (float x, float y, u8 layer)
static void getAirWaterHitPos (mVec2_c *)
static void getAirWaterHitAngle (short *)

Public Attributes

dActor_cmpOwner
sBcSensorIf_cmpSensorFoot
sBcSensorIf_cmpSensorHead
sBcSensorIf_cmpSensorWall
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_cmpNoHitActor
dBg_ctr_cmpCtrHead
dBg_ctr_cmpCtrFoot
dBg_ctr_cmpCtrWall
dBg_ctr_cmpCtrWalls [2]
dBc_cmPrevTrigBelowSensor
dBc_cmPrevTrigAboveSensor
dBc_cmPrevTrigAdjSensor
dBc_cmPrevTrigAdjSensorForDirection [2]
dBg_ctr_cmLinkW [2]
u32 mFlags
u32 mPrevFlags
u32 mLastUnitType
u32 mLastUnitKind
s8 mOwningPlrNo
s8 mRidePlrNo
char mPad5 [0x22]
u8 mPlayerFlags
char mPad6 [0x4]
int m_c4
mAng mAdjacentSlopeAngle
int mFenceType
dBg_ctr_cmpFenceCollision
char mPad7 [0x8]
float mIceSpeed
bool m_e0
u8 m_e1
u8 m_e2
bool mMovingLeft
bool mGrounded
u8 mAmiLine
char mPad9 [0x2]
u8 * mpLayer
u8 mLayer

Member Enumeration Documentation

◆ Flag_e

enum dBc_c::Flag_e

Definition at line 71 of file d_bc.hpp.

◆ WATER_TYPE_e

enum dBc_c::WATER_TYPE_e

Definition at line 116 of file d_bc.hpp.

Member Function Documentation

◆ set()

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

◆ checkPoleCollision()

u32 dBc_c::checkPoleCollision ( sBcPointData * )

◆ checkVineCollision()

u32 dBc_c::checkVineCollision ( sBcPointData * )

◆ hasSensorFoot()

bool dBc_c::hasSensorFoot ( )
inline

Definition at line 145 of file d_bc.hpp.

◆ hasSensorHead()

bool dBc_c::hasSensorHead ( )
inline

Definition at line 146 of file d_bc.hpp.

◆ hasSensorWall()

bool dBc_c::hasSensorWall ( )
inline

Definition at line 147 of file d_bc.hpp.

◆ getFlags()

u32 dBc_c::getFlags ( ) const
inline

Definition at line 165 of file d_bc.hpp.

◆ isWallR()

u32 dBc_c::isWallR ( )
inline

Definition at line 167 of file d_bc.hpp.

◆ isWallL()

u32 dBc_c::isWallL ( )
inline

Definition at line 168 of file d_bc.hpp.

◆ isWall() [1/2]

u32 dBc_c::isWall ( )
inline

Definition at line 169 of file d_bc.hpp.

◆ isWall() [2/2]

u32 dBc_c::isWall ( u8 dir)
inline

Definition at line 170 of file d_bc.hpp.

◆ isHead()

u32 dBc_c::isHead ( )
inline

Definition at line 172 of file d_bc.hpp.

◆ isCollision()

u32 dBc_c::isCollision ( )
inline

Definition at line 173 of file d_bc.hpp.

Member Data Documentation

◆ mpOwner

dActor_c* dBc_c::mpOwner

Definition at line 175 of file d_bc.hpp.

◆ mpSensorFoot

sBcSensorIf_c* dBc_c::mpSensorFoot

Definition at line 176 of file d_bc.hpp.

◆ mpSensorHead

sBcSensorIf_c* dBc_c::mpSensorHead

Definition at line 177 of file d_bc.hpp.

◆ mpSensorWall

sBcSensorIf_c* dBc_c::mpSensorWall

Definition at line 178 of file d_bc.hpp.

◆ mpOwnerPos

mVec3_c* dBc_c::mpOwnerPos

Definition at line 179 of file d_bc.hpp.

◆ mpOwnerLastPos

mVec3_c* dBc_c::mpOwnerLastPos

Definition at line 180 of file d_bc.hpp.

◆ mpOwnerSpeed

mVec3_c* dBc_c::mpOwnerSpeed

Definition at line 181 of file d_bc.hpp.

◆ mPushForce

mVec3_c dBc_c::mPushForce

Definition at line 182 of file d_bc.hpp.

◆ mOwnerPosDelta

mVec2_c dBc_c::mOwnerPosDelta

Definition at line 183 of file d_bc.hpp.

◆ m_34

mVec2_c dBc_c::m_34

Definition at line 184 of file d_bc.hpp.

◆ m_3c

mVec2_c dBc_c::m_3c

Definition at line 185 of file d_bc.hpp.

◆ m_44

float dBc_c::m_44

Definition at line 186 of file d_bc.hpp.

◆ m_48

float dBc_c::m_48

Definition at line 187 of file d_bc.hpp.

◆ m_4c

float dBc_c::m_4c

Definition at line 188 of file d_bc.hpp.

◆ mpRc

dRc_c* dBc_c::mpRc

Definition at line 189 of file d_bc.hpp.

◆ mpNoHitActor

dActor_c* dBc_c::mpNoHitActor

Definition at line 190 of file d_bc.hpp.

◆ mpCtrHead

dBg_ctr_c* dBc_c::mpCtrHead

Definition at line 191 of file d_bc.hpp.

◆ mpCtrFoot

dBg_ctr_c* dBc_c::mpCtrFoot

Definition at line 192 of file d_bc.hpp.

◆ mpCtrWall

dBg_ctr_c* dBc_c::mpCtrWall

Definition at line 193 of file d_bc.hpp.

◆ mpCtrWalls

dBg_ctr_c* dBc_c::mpCtrWalls[2]

Definition at line 194 of file d_bc.hpp.

◆ mPrevTrigBelowSensor

dBc_c* dBc_c::mPrevTrigBelowSensor

Definition at line 195 of file d_bc.hpp.

◆ mPrevTrigAboveSensor

dBc_c* dBc_c::mPrevTrigAboveSensor

Definition at line 196 of file d_bc.hpp.

◆ mPrevTrigAdjSensor

dBc_c* dBc_c::mPrevTrigAdjSensor

Definition at line 197 of file d_bc.hpp.

◆ mPrevTrigAdjSensorForDirection

dBc_c* dBc_c::mPrevTrigAdjSensorForDirection[2]

Definition at line 198 of file d_bc.hpp.

◆ mLinkW

dBg_ctr_c* dBc_c::mLinkW[2]

Definition at line 199 of file d_bc.hpp.

◆ mFlags

u32 dBc_c::mFlags

Definition at line 200 of file d_bc.hpp.

◆ mPrevFlags

u32 dBc_c::mPrevFlags

Definition at line 201 of file d_bc.hpp.

◆ mLastUnitType

u32 dBc_c::mLastUnitType

Definition at line 202 of file d_bc.hpp.

◆ mLastUnitKind

u32 dBc_c::mLastUnitKind

Definition at line 203 of file d_bc.hpp.

◆ mOwningPlrNo

s8 dBc_c::mOwningPlrNo

Definition at line 204 of file d_bc.hpp.

◆ mRidePlrNo

s8 dBc_c::mRidePlrNo

Definition at line 205 of file d_bc.hpp.

◆ mPad5

char dBc_c::mPad5[0x22]

Definition at line 206 of file d_bc.hpp.

◆ mPlayerFlags

u8 dBc_c::mPlayerFlags

Definition at line 207 of file d_bc.hpp.

◆ mPad6

char dBc_c::mPad6[0x4]

Definition at line 208 of file d_bc.hpp.

◆ m_c4

int dBc_c::m_c4

Definition at line 209 of file d_bc.hpp.

◆ mAdjacentSlopeAngle

mAng dBc_c::mAdjacentSlopeAngle

Definition at line 210 of file d_bc.hpp.

◆ mFenceType

int dBc_c::mFenceType

Definition at line 211 of file d_bc.hpp.

◆ mpFenceCollision

dBg_ctr_c* dBc_c::mpFenceCollision

Definition at line 212 of file d_bc.hpp.

◆ mPad7

char dBc_c::mPad7[0x8]

Definition at line 213 of file d_bc.hpp.

◆ mIceSpeed

float dBc_c::mIceSpeed

Definition at line 214 of file d_bc.hpp.

◆ m_e0

bool dBc_c::m_e0

Definition at line 215 of file d_bc.hpp.

◆ m_e1

u8 dBc_c::m_e1

Definition at line 216 of file d_bc.hpp.

◆ m_e2

u8 dBc_c::m_e2

Definition at line 217 of file d_bc.hpp.

◆ mMovingLeft

bool dBc_c::mMovingLeft

Definition at line 218 of file d_bc.hpp.

◆ mGrounded

bool dBc_c::mGrounded

Definition at line 219 of file d_bc.hpp.

◆ mAmiLine

u8 dBc_c::mAmiLine

Definition at line 220 of file d_bc.hpp.

◆ mPad9

char dBc_c::mPad9[0x2]

Definition at line 221 of file d_bc.hpp.

◆ mpLayer

u8* dBc_c::mpLayer

Definition at line 222 of file d_bc.hpp.

◆ mLayer

u8 dBc_c::mLayer

Definition at line 223 of file d_bc.hpp.