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

#include <d_bg_w_sv.h>

+ Inheritance diagram for dBgWSv:
+ Collaboration diagram for dBgWSv:

Public Member Functions

 dBgWSv ()
 
u8 Set (cBgD_t *, u32)
 
void CopyBackVtx ()
 
bool CrrPosWork (cXyz *, int, int, int)
 
bool TransPosWork (cXyz *, int, int, int)
 
virtual ~dBgWSv ()
 
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 *)
 
- Public Member Functions inherited from dBgW
 dBgW ()
 
void Move ()
 
void positionWallCorrect (dBgS_Acch *, f32, cM3dGPla &, cXyz *pupper_pos, f32)
 
bool RwgWallCorrect (dBgS_Acch *, u16)
 
bool WallCorrectRp (dBgS_Acch *, int)
 
bool WallCorrectGrpRp (dBgS_Acch *, int, int)
 
void RwgWallCorrectSort (dBgS_Acch *, u16)
 
void WallCorrectRpSort (dBgS_Acch *, int)
 
bool WallCorrectGrpRpSort (dBgS_Acch *, int, int)
 
bool RwgRoofChk (u16, dBgS_RoofChk *)
 
bool RoofChkRp (dBgS_RoofChk *, int)
 
bool RoofChkGrpRp (dBgS_RoofChk *, int, int)
 
bool RwgSplGrpChk (u16, dBgS_SplGrpChk *)
 
bool SplGrpChkRp (dBgS_SplGrpChk *, int)
 
bool SplGrpChkGrpRp (dBgS_SplGrpChk *, int, int)
 
void RwgCaptPoly (int, dBgS_CaptPoly &)
 
void CaptPolyRp (dBgS_CaptPoly &, int)
 
void CaptPolyGrpRp (dBgS_CaptPoly &, int, int)
 
bool RwgSphChk (u16, dBgS_SphChk *, void *)
 
bool SphChkRp (dBgS_SphChk *, void *, int)
 
bool SphChkGrpRp (dBgS_SphChk *, void *, int, int)
 
virtual ~dBgW ()
 
virtual u32 ChkMoveFlag () const
 
virtual void OffMoveFlag ()
 
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 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 CallRideCallBack (fopAc_ac_c *, fopAc_ac_c *)
 
virtual void CallArrowStickCallBack (fopAc_ac_c *, fopAc_ac_c *, cXyz &)
 
virtual bool ChkPolyThrough (int, cBgS_PolyPassChk *)
 
virtual bool ChkShdwDrawThrough (int, cBgS_PolyPassChk *)
 
virtual bool ChkGrpThrough (int, cBgS_GrpPassChk *, int)
 
void SetCrrFunc (dBgW_CrrFunc func)
 
void SetRideCallback (dBgW_RideCallback func)
 
void OnMoveFlag ()
 
- Public Member Functions inherited from cBgW
 cBgW ()
 
void FreeArea ()
 
void GlobalVtx ()
 
bool SetVtx ()
 
bool SetTri ()
 
void BlckConnect (u16 *, int *, int)
 
void MakeBlckTransMinMax (cXyz *, cXyz *)
 
void MakeBlckMinMax (int, cXyz *, cXyz *)
 
void MakeBlckBnd (int, cXyz *, cXyz *)
 
void MakeNodeTreeRp (int)
 
void MakeNodeTreeGrpRp (int)
 
void MakeNodeTree ()
 
bool Set (cBgD_t *pdzb, u32 flags, Mtx *pbase_mtx)
 
bool RwgLineCheck (u16, cBgS_LinChk *)
 
bool LineCheckRp (cBgS_LinChk *, int)
 
bool LineCheckGrpRp (cBgS_LinChk *, int, int)
 
bool RwgGroundCheckCommon (f32, u16, cBgS_GndChk *)
 
bool RwgGroundCheckGnd (u16, cBgS_GndChk *)
 
bool RwgGroundCheckWall (u16, cBgS_GndChk *)
 
bool GroundCrossRp (cBgS_GndChk *, int)
 
bool GroundCrossGrpRp (cBgS_GndChk *, int, int)
 
void CopyOldMtx ()
 
void Move ()
 
void RwgShdwDraw (int, cBgS_ShdwDraw *)
 
void ShdwDrawRp (cBgS_ShdwDraw *, int)
 
void ShdwDrawGrpRp (cBgS_ShdwDraw *, int)
 
void GetTrans (cXyz *) const
 
int GetPolyInfId (int) const
 
u32 GetPolyInf0 (int, u32, u32) const
 
u32 GetMaskPolyInf0_NoShift (int, u32) const
 
u32 GetPolyInf1 (int, u32, u32) const
 
u32 GetMaskPolyInf1_NoShift (int, u32) const
 
u32 GetPolyInf2 (int, u32, u32) const
 
int GetTriGrp (int) const
 
virtual ~cBgW ()
 
virtual bool ChkMemoryError ()
 
virtual bool ChkNotReady () const
 
virtual bool ChkLock () const
 
virtual bool ChkMoveBg () 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 GetTopUnder (f32 *, f32 *) const
 
virtual bool LineCheck (cBgS_LinChk *)
 
virtual bool GroundCross (cBgS_GndChk *)
 
virtual void ShdwDraw (cBgS_ShdwDraw *)
 
virtual s32 GetGrpRoomIndex (cBgS_PolyInfo const &) const
 
virtual void CalcPlane ()
 
virtual void ClassifyPlane ()
 
u32 GetOldInvMtx (Mtx m)
 
MtxP GetBaseMtxP ()
 
bool ChkNoCalcVtx ()
 
bool ChkFlush ()
 
void SetLock ()
 
bool ChkRoofRegist ()
 
cBgD_Vtx_tGetVtxTbl () const
 
int GetVtxNum () const
 
- Public Member Functions inherited from dBgW_Base
 dBgW_Base ()
 
void ClrDBgWBase ()
 
void CalcDiffShapeAngleY (s16)
 
virtual ~dBgW_Base ()
 
virtual void SetOldShapeAngleY (s16)
 
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
 

Public Attributes

Vecfield_0xc0
 
u8 field_0xc4
 
- Public Attributes inherited from cBgW
MtxP pm_base
 
Mtx m_inv_mtx
 
Mtx m_mtx
 
cXyz mTransVel
 
u8 mFlags
 
u8 mNeedsFullTransform
 
u32 field_0x8c
 
u8 mMoveCounter
 
u8 field_0x91
 
u16 m_rootGrpIdx
 
cBgW_TriElmpm_tri
 
cBgW_RwgElmpm_rwg
 
cBgD_Vtx_tpm_vtx_tbl
 
cBgD_tpm_bgd
 
cBgW_BlkElmpm_blk
 
cBgW_GrpElmpm_grp
 
cBgW_NodeTreepm_node_tree
 

Additional Inherited Members

- Public Types inherited from cBgW
enum  Flags_e {
  MOVE_BG_e = 0x1 , NO_CALC_VTX_e = 0x2 , NO_VTX_TBL_e = 0x10 , GLOBAL_e = 0x20 ,
  CBGW_UNK_FLAG_40 = 0x40 , LOCK_e = 0x80
}
 
- 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

◆ dBgWSv()

dBgWSv::dBgWSv ( )
inline

◆ ~dBgWSv()

virtual dBgWSv::~dBgWSv ( )
inlinevirtual

Member Function Documentation

◆ CopyBackVtx()

void dBgWSv::CopyBackVtx ( )

◆ CrrPos()

void dBgWSv::CrrPos ( cBgS_PolyInfo const i_poly,
void i_actor_ptr,
bool  param_2,
cXyz i_pos,
csXyz i_angle,
csXyz i_shapeAngle 
)
virtual

Reimplemented from dBgW.

◆ CrrPosWork()

bool dBgWSv::CrrPosWork ( cXyz i_pos,
int  i_vtx0,
int  i_vtx1,
int  i_vtx2 
)

◆ MatrixCrrPos()

void dBgWSv::MatrixCrrPos ( cBgS_PolyInfo const i_poly,
void i_actor_ptr,
bool  param_2,
cXyz i_pos,
csXyz i_angle,
csXyz i_shapeAngle 
)
virtual

Reimplemented from dBgW.

◆ Set()

u8 dBgWSv::Set ( cBgD_t pbgd,
u32  param_1 
)

◆ TransPos()

void dBgWSv::TransPos ( cBgS_PolyInfo const i_poly,
void i_actor_ptr,
bool  param_2,
cXyz i_pos,
csXyz i_angle,
csXyz i_shapeAngle 
)
virtual

Reimplemented from dBgW.

◆ TransPosWork()

bool dBgWSv::TransPosWork ( cXyz i_pos,
int  i_vtx0,
int  i_vtx1,
int  i_vtx2 
)

Member Data Documentation

◆ field_0xc0

Vec* dBgWSv::field_0xc0

◆ field_0xc4

u8 dBgWSv::field_0xc4

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