Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dBgWKCol Class Reference

#include <d_bg_w_kcol.h>

+ Inheritance diagram for dBgWKCol:
+ Collaboration diagram for dBgWKCol:

Public Member Functions

 dBgWKCol ()
 
void create (void *pprism, void *plc)
 
void getTriNrm (KC_PrismData *, Vec **) const
 
cM3dGPla GetTriPla (int) const
 
bool GetTriPnt (int, Vec *, Vec *, Vec *) const
 
bool GetTriPnt (KC_PrismData const *, Vec *, Vec *, Vec *) const
 
void getPolyCode (int, dBgPc *) const
 
bool chkPolyThrough (dBgPc *, cBgS_PolyPassChk *, cBgS_GrpPassChk *, cXyz &) const
 
bool ChkShdwDrawThrough (dBgPc *)
 
virtual ~dBgWKCol ()
 
virtual bool ChkNotReady () const
 
virtual bool ChkLock () const
 
virtual bool ChkMoveBg () const
 
virtual u32 ChkMoveFlag () const
 
virtual cM3dGPla GetTriPla (cBgS_PolyInfo const &) const
 
virtual bool GetTriPnt (cBgS_PolyInfo const &, cXyz *, cXyz *, cXyz *) const
 
virtual cM3dGAabGetBnd () const
 
virtual u32 GetGrpInf (cBgS_PolyInfo const &) const
 
virtual void OffMoveFlag ()
 
virtual void GetTopUnder (f32 *, f32 *) const
 
virtual bool LineCheck (cBgS_LinChk *)
 
virtual bool GroundCross (cBgS_GndChk *)
 
virtual void ShdwDraw (cBgS_ShdwDraw *)
 
virtual void CaptPoly (dBgS_CaptPoly &)
 
virtual bool WallCorrect (dBgS_Acch *)
 
virtual bool WallCorrectSort (dBgS_Acch *)
 
virtual bool RoofChk (dBgS_RoofChk *)
 
virtual bool SplGrpChk (dBgS_SplGrpChk *)
 
virtual bool SphChk (dBgS_SphChk *, void *)
 
virtual s32 GetGrpRoomIndex (cBgS_PolyInfo const &) const
 
virtual s32 GetExitId (cBgS_PolyInfo const &)
 
virtual s32 GetPolyColor (cBgS_PolyInfo const &)
 
virtual BOOL GetHorseNoEntry (cBgS_PolyInfo const &)
 
virtual int GetSpecialCode (cBgS_PolyInfo const &)
 
virtual int GetSpecialCode (int)
 
virtual int GetMagnetCode (cBgS_PolyInfo const &)
 
virtual u32 GetPolyObjThrough (int)
 
virtual u32 GetPolyCamThrough (int)
 
virtual u32 GetPolyLinkThrough (int)
 
virtual u32 GetPolyArrowThrough (int)
 
virtual u32 GetPolyHSStick (int)
 
virtual u32 GetPolyBoomerangThrough (int)
 
virtual u32 GetPolyRopeThrough (int)
 
virtual u32 GetPolyBombThrough (int)
 
virtual bool GetShdwThrough (int)
 
virtual u32 GetUnderwaterRoofCode (int)
 
virtual int GetMonkeyBarsCode (cBgS_PolyInfo const &)
 
virtual int GetLinkNo (cBgS_PolyInfo const &)
 
virtual s32 GetWallCode (cBgS_PolyInfo const &)
 
virtual int GetPolyAtt0 (cBgS_PolyInfo const &)
 
virtual int GetPolyAtt1 (cBgS_PolyInfo const &)
 
virtual int GetGroundCode (cBgS_PolyInfo const &)
 
virtual u32 GetIronBallThrough (int)
 
virtual u32 GetAttackThrough (int)
 
virtual s32 GetCamMoveBG (cBgS_PolyInfo const &)
 
virtual s32 GetRoomCamId (cBgS_PolyInfo const &)
 
virtual s32 GetRoomPathId (cBgS_PolyInfo const &)
 
virtual s32 GetRoomPathPntNo (cBgS_PolyInfo const &)
 
virtual u8 GetPolyGrpRoomInfId (cBgS_PolyInfo const &)
 
virtual int GetGrpSoundId (cBgS_PolyInfo const &)
 
virtual void CrrPos (cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)
 
virtual void TransPos (cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)
 
virtual void MatrixCrrPos (cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)
 
KC_PrismDatagetPrismData (int poly_index) const
 
void getTri1Pos (KC_PrismData *pd, Vec **nrm) const
 
- Public Member Functions inherited from dBgW_Base
 dBgW_Base ()
 
void ClrDBgWBase ()
 
void CalcDiffShapeAngleY (s16)
 
virtual ~dBgW_Base ()
 
virtual bool ChkMemoryError ()
 
virtual void SetOldShapeAngleY (s16)
 
virtual void CallRideCallBack (fopAc_ac_c *, fopAc_ac_c *)
 
virtual void CallArrowStickCallBack (fopAc_ac_c *, fopAc_ac_c *, cXyz &)
 
PushPull_CallBack GetPushPullCallback () const
 
s16 GetDiffShapeAngleY ()
 
int GetRoomId ()
 
bool chkStickWall ()
 
bool chkStickRoof ()
 
bool ChkPushPullOk () const
 
void SetPushPullCallback (PushPull_CallBack i_callBack)
 
void SetRoomId (int id)
 
bool ChkPriority (int prio)
 
void SetPriority (PRIORITY priority)
 
void onStickWall ()
 
void onStickRoof ()
 
void OnPushPullOk ()
 
void OffPushPullOk ()
 
- Public Member Functions inherited from cBgW_BgId
void Release ()
 
bool ChkUsed () const
 
void Regist (int)
 
virtual ~cBgW_BgId ()
 
 cBgW_BgId ()
 
void Ct ()
 
u16 GetId () const
 

Static Public Member Functions

static voidinitKCollision (void *)
 

Private Attributes

pkcdatam_pkc_head
 
dBgPlc m_code
 
cM3dGAab m_bnd
 

Additional Inherited Members

- Public Types inherited from dBgW_Base
enum  PushPullLabel {
  PPLABEL_NONE = 0 , PPLABEL_PUSH = 1 , PPLABEL_PULL = 2 , PPLABEL_4 = 4 ,
  PPLABEL_HEAVY = 8
}
 
enum  PRIORITY { PRIORITY_0 }
 
typedef fopAc_ac_c *(* PushPull_CallBack) (fopAc_ac_c *, fopAc_ac_c *, s16, dBgW_Base::PushPullLabel)
 

Constructor & Destructor Documentation

◆ dBgWKCol()

dBgWKCol::dBgWKCol ( )

◆ ~dBgWKCol()

dBgWKCol::~dBgWKCol ( )
virtual

Member Function Documentation

◆ CaptPoly()

void dBgWKCol::CaptPoly ( dBgS_CaptPoly param_0)
virtual

Implements dBgW_Base.

◆ ChkLock()

bool dBgWKCol::ChkLock ( ) const
virtual

Implements dBgW_Base.

◆ ChkMoveBg()

bool dBgWKCol::ChkMoveBg ( ) const
virtual

Implements dBgW_Base.

◆ ChkMoveFlag()

u32 dBgWKCol::ChkMoveFlag ( ) const
virtual

Implements dBgW_Base.

◆ ChkNotReady()

bool dBgWKCol::ChkNotReady ( ) const
virtual

Implements dBgW_Base.

◆ chkPolyThrough()

bool dBgWKCol::chkPolyThrough ( dBgPc ppoly,
cBgS_PolyPassChk param_2,
cBgS_GrpPassChk param_3,
cXyz param_4 
) const

◆ ChkShdwDrawThrough()

bool dBgWKCol::ChkShdwDrawThrough ( dBgPc pbgpc)

◆ create()

void dBgWKCol::create ( void pprism,
void plc 
)

◆ CrrPos()

void dBgWKCol::CrrPos ( cBgS_PolyInfo const param_0,
void param_1,
bool  param_2,
cXyz param_3,
csXyz param_4,
csXyz param_5 
)
virtual

Implements dBgW_Base.

◆ GetAttackThrough()

u32 dBgWKCol::GetAttackThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetBnd()

cM3dGAab * dBgWKCol::GetBnd ( ) const
virtual

Implements dBgW_Base.

◆ GetCamMoveBG()

s32 dBgWKCol::GetCamMoveBG ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetExitId()

s32 dBgWKCol::GetExitId ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetGroundCode()

int dBgWKCol::GetGroundCode ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetGrpInf()

u32 dBgWKCol::GetGrpInf ( cBgS_PolyInfo const poly) const
virtual

Implements dBgW_Base.

◆ GetGrpRoomIndex()

s32 dBgWKCol::GetGrpRoomIndex ( cBgS_PolyInfo const poly) const
virtual

Implements dBgW_Base.

◆ GetGrpSoundId()

int dBgWKCol::GetGrpSoundId ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetHorseNoEntry()

BOOL dBgWKCol::GetHorseNoEntry ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetIronBallThrough()

u32 dBgWKCol::GetIronBallThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetLinkNo()

int dBgWKCol::GetLinkNo ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetMagnetCode()

int dBgWKCol::GetMagnetCode ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetMonkeyBarsCode()

int dBgWKCol::GetMonkeyBarsCode ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetPolyArrowThrough()

u32 dBgWKCol::GetPolyArrowThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetPolyAtt0()

int dBgWKCol::GetPolyAtt0 ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetPolyAtt1()

int dBgWKCol::GetPolyAtt1 ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetPolyBombThrough()

u32 dBgWKCol::GetPolyBombThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetPolyBoomerangThrough()

u32 dBgWKCol::GetPolyBoomerangThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetPolyCamThrough()

u32 dBgWKCol::GetPolyCamThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ getPolyCode()

void dBgWKCol::getPolyCode ( int  poly_index,
dBgPc pbgpc 
) const

◆ GetPolyColor()

s32 dBgWKCol::GetPolyColor ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetPolyGrpRoomInfId()

u8 dBgWKCol::GetPolyGrpRoomInfId ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetPolyHSStick()

u32 dBgWKCol::GetPolyHSStick ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetPolyLinkThrough()

u32 dBgWKCol::GetPolyLinkThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetPolyObjThrough()

u32 dBgWKCol::GetPolyObjThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetPolyRopeThrough()

u32 dBgWKCol::GetPolyRopeThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ getPrismData()

KC_PrismData * dBgWKCol::getPrismData ( int  poly_index) const
inline

◆ GetRoomCamId()

s32 dBgWKCol::GetRoomCamId ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetRoomPathId()

s32 dBgWKCol::GetRoomPathId ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetRoomPathPntNo()

s32 dBgWKCol::GetRoomPathPntNo ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetShdwThrough()

bool dBgWKCol::GetShdwThrough ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetSpecialCode() [1/2]

int dBgWKCol::GetSpecialCode ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GetSpecialCode() [2/2]

int dBgWKCol::GetSpecialCode ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetTopUnder()

void dBgWKCol::GetTopUnder ( f32 param_0,
f32 param_1 
) const
virtual

Implements dBgW_Base.

◆ getTri1Pos()

void dBgWKCol::getTri1Pos ( KC_PrismData pd,
Vec **  nrm 
) const
inline

◆ getTriNrm()

void dBgWKCol::getTriNrm ( KC_PrismData pkc,
Vec **  nrm 
) const

◆ GetTriPla() [1/2]

cM3dGPla dBgWKCol::GetTriPla ( cBgS_PolyInfo const poly) const
virtual

Implements dBgW_Base.

◆ GetTriPla() [2/2]

cM3dGPla dBgWKCol::GetTriPla ( int  poly_index) const

◆ GetTriPnt() [1/3]

bool dBgWKCol::GetTriPnt ( cBgS_PolyInfo const poly,
cXyz param_1,
cXyz param_2,
cXyz param_3 
) const
virtual

Implements dBgW_Base.

◆ GetTriPnt() [2/3]

bool dBgWKCol::GetTriPnt ( int  poly_index,
Vec param_1,
Vec param_2,
Vec param_3 
) const

◆ GetTriPnt() [3/3]

bool dBgWKCol::GetTriPnt ( KC_PrismData const param_1,
Vec param_2,
Vec param_3,
Vec param_4 
) const

◆ GetUnderwaterRoofCode()

u32 dBgWKCol::GetUnderwaterRoofCode ( int  poly_index)
virtual

Implements dBgW_Base.

◆ GetWallCode()

s32 dBgWKCol::GetWallCode ( cBgS_PolyInfo const poly)
virtual

Implements dBgW_Base.

◆ GroundCross()

bool dBgWKCol::GroundCross ( cBgS_GndChk i_chk)
virtual

Implements dBgW_Base.

◆ initKCollision()

void * dBgWKCol::initKCollision ( void i_kclData)
static

◆ LineCheck()

bool dBgWKCol::LineCheck ( cBgS_LinChk param_0)
virtual

Implements dBgW_Base.

◆ MatrixCrrPos()

void dBgWKCol::MatrixCrrPos ( cBgS_PolyInfo const param_0,
void param_1,
bool  param_2,
cXyz param_3,
csXyz param_4,
csXyz param_5 
)
virtual

Implements dBgW_Base.

◆ OffMoveFlag()

void dBgWKCol::OffMoveFlag ( )
virtual

Implements dBgW_Base.

◆ RoofChk()

bool dBgWKCol::RoofChk ( dBgS_RoofChk param_0)
virtual

Implements dBgW_Base.

◆ ShdwDraw()

void dBgWKCol::ShdwDraw ( cBgS_ShdwDraw param_0)
virtual

Implements dBgW_Base.

◆ SphChk()

bool dBgWKCol::SphChk ( dBgS_SphChk param_0,
void param_1 
)
virtual

Implements dBgW_Base.

◆ SplGrpChk()

bool dBgWKCol::SplGrpChk ( dBgS_SplGrpChk param_0)
virtual

Implements dBgW_Base.

◆ TransPos()

void dBgWKCol::TransPos ( cBgS_PolyInfo const param_0,
void param_1,
bool  param_2,
cXyz param_3,
csXyz param_4,
csXyz param_5 
)
virtual

Implements dBgW_Base.

◆ WallCorrect()

bool dBgWKCol::WallCorrect ( dBgS_Acch param_0)
virtual

Implements dBgW_Base.

◆ WallCorrectSort()

bool dBgWKCol::WallCorrectSort ( dBgS_Acch param_0)
virtual

Implements dBgW_Base.

Member Data Documentation

◆ m_bnd

cM3dGAab dBgWKCol::m_bnd
private

◆ m_code

dBgPlc dBgWKCol::m_code
private

◆ m_pkc_head

pkcdata* dBgWKCol::m_pkc_head
private

The documentation for this class was generated from the following files: