Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dBgW_Base Class Referenceabstract

#include <d_bg_w_base.h>

+ Inheritance diagram for dBgW_Base:
+ Collaboration diagram for dBgW_Base:

Public Types

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)
 

Public Member Functions

 dBgW_Base ()
 
void ClrDBgWBase ()
 
void CalcDiffShapeAngleY (s16)
 
virtual ~dBgW_Base ()
 
virtual bool ChkMemoryError ()
 
virtual bool ChkNotReady () const =0
 
virtual bool ChkLock () const =0
 
virtual bool ChkMoveBg () const =0
 
virtual u32 ChkMoveFlag () const =0
 
virtual cM3dGPla GetTriPla (cBgS_PolyInfo const &) const =0
 
virtual bool GetTriPnt (cBgS_PolyInfo const &, cXyz *, cXyz *, cXyz *) const =0
 
virtual cM3dGAabGetBnd () const =0
 
virtual u32 GetGrpInf (cBgS_PolyInfo const &) const =0
 
virtual void OffMoveFlag ()=0
 
virtual void GetTopUnder (f32 *, f32 *) const =0
 
virtual void SetOldShapeAngleY (s16)
 
virtual bool LineCheck (cBgS_LinChk *)=0
 
virtual bool GroundCross (cBgS_GndChk *)=0
 
virtual void ShdwDraw (cBgS_ShdwDraw *)=0
 
virtual void CaptPoly (dBgS_CaptPoly &)=0
 
virtual bool WallCorrect (dBgS_Acch *)=0
 
virtual bool WallCorrectSort (dBgS_Acch *)=0
 
virtual bool RoofChk (dBgS_RoofChk *)=0
 
virtual bool SplGrpChk (dBgS_SplGrpChk *)=0
 
virtual bool SphChk (dBgS_SphChk *, void *)=0
 
virtual s32 GetGrpRoomIndex (cBgS_PolyInfo const &) const =0
 
virtual s32 GetExitId (cBgS_PolyInfo const &)=0
 
virtual s32 GetPolyColor (cBgS_PolyInfo const &)=0
 
virtual BOOL GetHorseNoEntry (cBgS_PolyInfo const &)=0
 
virtual int GetSpecialCode (cBgS_PolyInfo const &)=0
 
virtual int GetSpecialCode (int)=0
 
virtual int GetMagnetCode (cBgS_PolyInfo const &)=0
 
virtual u32 GetPolyObjThrough (int)=0
 
virtual u32 GetPolyCamThrough (int)=0
 
virtual u32 GetPolyLinkThrough (int)=0
 
virtual u32 GetPolyArrowThrough (int)=0
 
virtual u32 GetPolyHSStick (int)=0
 
virtual u32 GetPolyBoomerangThrough (int)=0
 
virtual u32 GetPolyRopeThrough (int)=0
 
virtual u32 GetPolyBombThrough (int)=0
 
virtual bool GetShdwThrough (int)=0
 
virtual u32 GetUnderwaterRoofCode (int)=0
 
virtual int GetMonkeyBarsCode (cBgS_PolyInfo const &)=0
 
virtual int GetLinkNo (cBgS_PolyInfo const &)=0
 
virtual s32 GetWallCode (cBgS_PolyInfo const &)=0
 
virtual int GetPolyAtt0 (cBgS_PolyInfo const &)=0
 
virtual int GetPolyAtt1 (cBgS_PolyInfo const &)=0
 
virtual int GetGroundCode (cBgS_PolyInfo const &)=0
 
virtual u32 GetIronBallThrough (int)=0
 
virtual u32 GetAttackThrough (int)=0
 
virtual s32 GetCamMoveBG (cBgS_PolyInfo const &)=0
 
virtual s32 GetRoomCamId (cBgS_PolyInfo const &)=0
 
virtual s32 GetRoomPathId (cBgS_PolyInfo const &)=0
 
virtual s32 GetRoomPathPntNo (cBgS_PolyInfo const &)=0
 
virtual u8 GetPolyGrpRoomInfId (cBgS_PolyInfo const &)=0
 
virtual int GetGrpSoundId (cBgS_PolyInfo const &)=0
 
virtual void CrrPos (cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)=0
 
virtual void TransPos (cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)=0
 
virtual void MatrixCrrPos (cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)=0
 
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
 

Private Attributes

u8 m_priority
 
u8 m_roomId
 
u8 field_0xa
 
u8 field_0xb
 
s16 m_old_ShapeAngleY
 
s16 m_diff_ShapeAngleY
 
PushPull_CallBack m_pushPull_Callback
 
bool m_pushPull_Ok
 

Member Typedef Documentation

◆ PushPull_CallBack

typedef fopAc_ac_c *(* dBgW_Base::PushPull_CallBack) (fopAc_ac_c *, fopAc_ac_c *, s16, dBgW_Base::PushPullLabel)

Member Enumeration Documentation

◆ PRIORITY

Enumerator
PRIORITY_0 

◆ PushPullLabel

Enumerator
PPLABEL_NONE 
PPLABEL_PUSH 
PPLABEL_PULL 
PPLABEL_4 
PPLABEL_HEAVY 

Constructor & Destructor Documentation

◆ dBgW_Base()

dBgW_Base::dBgW_Base ( )

◆ ~dBgW_Base()

dBgW_Base::~dBgW_Base ( )
virtual

Member Function Documentation

◆ CalcDiffShapeAngleY()

void dBgW_Base::CalcDiffShapeAngleY ( s16  param_0)

◆ CallArrowStickCallBack()

void dBgW_Base::CallArrowStickCallBack ( fopAc_ac_c param_0,
fopAc_ac_c param_1,
cXyz param_2 
)
virtual

Reimplemented in dBgW.

◆ CallRideCallBack()

void dBgW_Base::CallRideCallBack ( fopAc_ac_c param_0,
fopAc_ac_c param_1 
)
virtual

Reimplemented in dBgW.

◆ CaptPoly()

virtual void dBgW_Base::CaptPoly ( dBgS_CaptPoly )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ ChkLock()

virtual bool dBgW_Base::ChkLock ( ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ ChkMemoryError()

bool dBgW_Base::ChkMemoryError ( )
virtual

Reimplemented in cBgW.

◆ ChkMoveBg()

virtual bool dBgW_Base::ChkMoveBg ( ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ ChkMoveFlag()

virtual u32 dBgW_Base::ChkMoveFlag ( ) const
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ ChkNotReady()

virtual bool dBgW_Base::ChkNotReady ( ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ ChkPriority()

bool dBgW_Base::ChkPriority ( int  prio)
inline

◆ ChkPushPullOk()

bool dBgW_Base::ChkPushPullOk ( ) const
inline

◆ chkStickRoof()

bool dBgW_Base::chkStickRoof ( )
inline

◆ chkStickWall()

bool dBgW_Base::chkStickWall ( )
inline

◆ ClrDBgWBase()

void dBgW_Base::ClrDBgWBase ( )

◆ CrrPos()

virtual void dBgW_Base::CrrPos ( cBgS_PolyInfo const ,
void ,
bool  ,
cXyz ,
csXyz ,
csXyz  
)
pure virtual

Implemented in dBgW, dBgWKCol, dBgWSv, and cBgW.

◆ GetAttackThrough()

virtual u32 dBgW_Base::GetAttackThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetBnd()

virtual cM3dGAab * dBgW_Base::GetBnd ( ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ GetCamMoveBG()

virtual s32 dBgW_Base::GetCamMoveBG ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetDiffShapeAngleY()

s16 dBgW_Base::GetDiffShapeAngleY ( )
inline

◆ GetExitId()

virtual s32 dBgW_Base::GetExitId ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetGroundCode()

virtual int dBgW_Base::GetGroundCode ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetGrpInf()

virtual u32 dBgW_Base::GetGrpInf ( cBgS_PolyInfo const ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ GetGrpRoomIndex()

virtual s32 dBgW_Base::GetGrpRoomIndex ( cBgS_PolyInfo const ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ GetGrpSoundId()

virtual int dBgW_Base::GetGrpSoundId ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetHorseNoEntry()

virtual BOOL dBgW_Base::GetHorseNoEntry ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetIronBallThrough()

virtual u32 dBgW_Base::GetIronBallThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetLinkNo()

virtual int dBgW_Base::GetLinkNo ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetMagnetCode()

virtual int dBgW_Base::GetMagnetCode ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetMonkeyBarsCode()

virtual int dBgW_Base::GetMonkeyBarsCode ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyArrowThrough()

virtual u32 dBgW_Base::GetPolyArrowThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyAtt0()

virtual int dBgW_Base::GetPolyAtt0 ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyAtt1()

virtual int dBgW_Base::GetPolyAtt1 ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyBombThrough()

virtual u32 dBgW_Base::GetPolyBombThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyBoomerangThrough()

virtual u32 dBgW_Base::GetPolyBoomerangThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyCamThrough()

virtual u32 dBgW_Base::GetPolyCamThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyColor()

virtual s32 dBgW_Base::GetPolyColor ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyGrpRoomInfId()

virtual u8 dBgW_Base::GetPolyGrpRoomInfId ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyHSStick()

virtual u32 dBgW_Base::GetPolyHSStick ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyLinkThrough()

virtual u32 dBgW_Base::GetPolyLinkThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyObjThrough()

virtual u32 dBgW_Base::GetPolyObjThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPolyRopeThrough()

virtual u32 dBgW_Base::GetPolyRopeThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetPushPullCallback()

PushPull_CallBack dBgW_Base::GetPushPullCallback ( ) const
inline

◆ GetRoomCamId()

virtual s32 dBgW_Base::GetRoomCamId ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetRoomId()

int dBgW_Base::GetRoomId ( )
inline

◆ GetRoomPathId()

virtual s32 dBgW_Base::GetRoomPathId ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetRoomPathPntNo()

virtual s32 dBgW_Base::GetRoomPathPntNo ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetShdwThrough()

virtual bool dBgW_Base::GetShdwThrough ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetSpecialCode() [1/2]

virtual int dBgW_Base::GetSpecialCode ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetSpecialCode() [2/2]

virtual int dBgW_Base::GetSpecialCode ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetTopUnder()

virtual void dBgW_Base::GetTopUnder ( f32 ,
f32  
) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ GetTriPla()

virtual cM3dGPla dBgW_Base::GetTriPla ( cBgS_PolyInfo const ) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ GetTriPnt()

virtual bool dBgW_Base::GetTriPnt ( cBgS_PolyInfo const ,
cXyz ,
cXyz ,
cXyz  
) const
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ GetUnderwaterRoofCode()

virtual u32 dBgW_Base::GetUnderwaterRoofCode ( int  )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GetWallCode()

virtual s32 dBgW_Base::GetWallCode ( cBgS_PolyInfo const )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ GroundCross()

virtual bool dBgW_Base::GroundCross ( cBgS_GndChk )
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ LineCheck()

virtual bool dBgW_Base::LineCheck ( cBgS_LinChk )
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ MatrixCrrPos()

virtual void dBgW_Base::MatrixCrrPos ( cBgS_PolyInfo const ,
void ,
bool  ,
cXyz ,
csXyz ,
csXyz  
)
pure virtual

Implemented in dBgW, dBgWKCol, dBgWSv, and cBgW.

◆ OffMoveFlag()

virtual void dBgW_Base::OffMoveFlag ( )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ OffPushPullOk()

void dBgW_Base::OffPushPullOk ( )
inline

◆ OnPushPullOk()

void dBgW_Base::OnPushPullOk ( )
inline

◆ onStickRoof()

void dBgW_Base::onStickRoof ( )
inline

◆ onStickWall()

void dBgW_Base::onStickWall ( )
inline

◆ RoofChk()

virtual bool dBgW_Base::RoofChk ( dBgS_RoofChk )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ SetOldShapeAngleY()

void dBgW_Base::SetOldShapeAngleY ( s16  shape_angle)
virtual

◆ SetPriority()

void dBgW_Base::SetPriority ( PRIORITY  priority)
inline

◆ SetPushPullCallback()

void dBgW_Base::SetPushPullCallback ( PushPull_CallBack  i_callBack)
inline

◆ SetRoomId()

void dBgW_Base::SetRoomId ( int  id)
inline

◆ ShdwDraw()

virtual void dBgW_Base::ShdwDraw ( cBgS_ShdwDraw )
pure virtual

Implemented in cBgW, and dBgWKCol.

◆ SphChk()

virtual bool dBgW_Base::SphChk ( dBgS_SphChk ,
void  
)
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ SplGrpChk()

virtual bool dBgW_Base::SplGrpChk ( dBgS_SplGrpChk )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ TransPos()

virtual void dBgW_Base::TransPos ( cBgS_PolyInfo const ,
void ,
bool  ,
cXyz ,
csXyz ,
csXyz  
)
pure virtual

Implemented in dBgW, dBgWKCol, dBgWSv, and cBgW.

◆ WallCorrect()

virtual bool dBgW_Base::WallCorrect ( dBgS_Acch )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

◆ WallCorrectSort()

virtual bool dBgW_Base::WallCorrectSort ( dBgS_Acch )
pure virtual

Implemented in dBgW, dBgWKCol, and cBgW.

Member Data Documentation

◆ field_0xa

u8 dBgW_Base::field_0xa
private

◆ field_0xb

u8 dBgW_Base::field_0xb
private

◆ m_diff_ShapeAngleY

s16 dBgW_Base::m_diff_ShapeAngleY
private

◆ m_old_ShapeAngleY

s16 dBgW_Base::m_old_ShapeAngleY
private

◆ m_priority

u8 dBgW_Base::m_priority
private

◆ m_pushPull_Callback

PushPull_CallBack dBgW_Base::m_pushPull_Callback
private

◆ m_pushPull_Ok

bool dBgW_Base::m_pushPull_Ok
private

◆ m_roomId

u8 dBgW_Base::m_roomId
private

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