T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition c_bg_s_chk.h:9
Definition d_bg_s_poly_pass_chk.h:5
Definition c_bg_s_shdw_draw.h:12
cBgW_GrpElm()
Definition d_bg_w.cpp:423
cM3dGAab m_aab
Definition d_bg_w.h:47
virtual ~cBgW_GrpElm()
Definition d_bg_w.cpp:420
cBgW_NodeTree()
Definition d_bg_w.cpp:22
virtual ~cBgW_NodeTree()
Definition d_bg_w.cpp:25
cBgW_RwgElm()
Definition d_bg_w.cpp:16
u16 m_next
Definition d_bg_w.h:28
virtual ~cBgW_RwgElm()
Definition d_bg_w.cpp:19
cBgW_TriElm()
Definition d_bg_w.cpp:142
virtual ~cBgW_TriElm()
Definition d_bg_w.cpp:139
cM3dGPla m_plane
Definition d_bg_w.h:18
virtual int GetPolyAtt0(cBgS_PolyInfo const &)=0
virtual void CaptPoly(dBgS_CaptPoly &)=0
virtual bool ChkLock() const
Definition d_bg_w.cpp:1059
virtual u8 GetPolyGrpRoomInfId(cBgS_PolyInfo const &)=0
cBgD_t * pm_bgd
Definition d_bg_w.h:241
virtual s32 GetRoomCamId(cBgS_PolyInfo const &)=0
void FreeArea()
Definition d_bg_w.cpp:55
virtual int GetSpecialCode(int)=0
virtual int GetGroundCode(cBgS_PolyInfo const &)=0
virtual int GetSpecialCode(cBgS_PolyInfo const &)=0
virtual bool WallCorrect(dBgS_Acch *)=0
void Move()
Definition d_bg_w.cpp:686
virtual bool SphChk(dBgS_SphChk *, void *)=0
u32 GetMaskPolyInf1_NoShift(int, u32) const
Definition d_bg_w.cpp:1007
virtual u32 GetPolyLinkThrough(int)=0
void BlckConnect(u16 *, int *, int)
Definition d_bg_w.cpp:145
virtual s32 GetRoomPathPntNo(cBgS_PolyInfo const &)=0
u32 GetOldInvMtx(Mtx m)
Definition d_bg_w.h:218
u8 mMoveCounter
Definition d_bg_w.h:235
virtual bool GroundCross(cBgS_GndChk *)
Definition d_bg_w.cpp:673
bool ChkFlush()
Definition d_bg_w.h:221
virtual u32 GetUnderwaterRoofCode(int)=0
void GetTrans(cXyz *) const
Definition d_bg_w.cpp:830
Flags_e
Definition d_bg_w.h:113
@ NO_CALC_VTX_e
Definition d_bg_w.h:115
@ CBGW_UNK_FLAG_40
Definition d_bg_w.h:118
@ GLOBAL_e
Definition d_bg_w.h:117
@ LOCK_e
Definition d_bg_w.h:119
@ NO_VTX_TBL_e
Definition d_bg_w.h:116
@ MOVE_BG_e
Definition d_bg_w.h:114
cBgD_Vtx_t * pm_vtx_tbl
Definition d_bg_w.h:240
u8 mNeedsFullTransform
Definition d_bg_w.h:233
void MakeBlckBnd(int, cXyz *, cXyz *)
Definition d_bg_w.cpp:237
virtual ~cBgW()
Definition d_bg_w.cpp:50
virtual u32 GetPolyBombThrough(int)=0
virtual s32 GetCamMoveBG(cBgS_PolyInfo const &)=0
cBgD_Vtx_t * GetVtxTbl() const
Definition d_bg_w.h:224
void MakeNodeTreeGrpRp(int)
Definition d_bg_w.cpp:301
cBgW()
Definition d_bg_w.cpp:28
virtual bool ChkMemoryError()
Definition d_bg_w.cpp:346
void SetLock()
Definition d_bg_w.h:222
bool RwgGroundCheckGnd(u16, cBgS_GndChk *)
Definition d_bg_w.cpp:558
virtual cM3dGPla GetTriPla(cBgS_PolyInfo const &) const
Definition d_bg_w.cpp:857
u32 field_0x8c
Definition d_bg_w.h:234
u32 GetPolyInf0(int, u32, u32) const
Definition d_bg_w.cpp:875
virtual u32 GetIronBallThrough(int)=0
bool GroundCrossRp(cBgS_GndChk *, int)
Definition d_bg_w.cpp:598
bool RwgGroundCheckCommon(f32, u16, cBgS_GndChk *)
Definition d_bg_w.cpp:540
cBgW_RwgElm * pm_rwg
Definition d_bg_w.h:239
virtual bool ChkNotReady() const
Definition d_bg_w.cpp:1054
virtual void CrrPos(cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)=0
virtual s32 GetGrpRoomIndex(cBgS_PolyInfo const &) const
Definition d_bg_w.cpp:807
cXyz mTransVel
Definition d_bg_w.h:231
void MakeBlckMinMax(int, cXyz *, cXyz *)
Definition d_bg_w.cpp:208
virtual int GetLinkNo(cBgS_PolyInfo const &)=0
virtual void TransPos(cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)=0
bool ChkNoCalcVtx()
Definition d_bg_w.h:220
virtual int GetPolyAtt1(cBgS_PolyInfo const &)=0
void CopyOldMtx()
Definition d_bg_w.cpp:678
cBgW_GrpElm * pm_grp
Definition d_bg_w.h:243
void MakeNodeTree()
Definition d_bg_w.cpp:322
void ShdwDrawGrpRp(cBgS_ShdwDraw *, int)
Definition d_bg_w.cpp:767
virtual s32 GetWallCode(cBgS_PolyInfo const &)=0
MtxP pm_base
Definition d_bg_w.h:228
virtual u32 ChkMoveFlag() const =0
int GetPolyInfId(int) const
Definition d_bg_w.cpp:870
Mtx m_mtx
Definition d_bg_w.h:230
u32 GetPolyInf1(int, u32, u32) const
Definition d_bg_w.cpp:974
bool RwgLineCheck(u16, cBgS_LinChk *)
Definition d_bg_w.cpp:426
virtual bool ChkMoveBg() const
Definition d_bg_w.cpp:1064
bool SetVtx()
Definition d_bg_w.cpp:81
virtual void GetTopUnder(f32 *, f32 *) const
Definition d_bg_w.cpp:850
virtual void MatrixCrrPos(cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)=0
cBgW_BlkElm * pm_blk
Definition d_bg_w.h:242
virtual int GetMagnetCode(cBgS_PolyInfo const &)=0
virtual bool GetTriPnt(cBgS_PolyInfo const &, cXyz *, cXyz *, cXyz *) const
Definition d_bg_w.cpp:839
virtual u32 GetGrpInf(cBgS_PolyInfo const &) const
Definition d_bg_w.cpp:864
u8 mFlags
Definition d_bg_w.h:232
virtual int GetMonkeyBarsCode(cBgS_PolyInfo const &)=0
virtual u32 GetPolyArrowThrough(int)=0
cBgW_TriElm * pm_tri
Definition d_bg_w.h:238
virtual s32 GetPolyColor(cBgS_PolyInfo const &)=0
cBgW_NodeTree * pm_node_tree
Definition d_bg_w.h:244
void RwgShdwDraw(int, cBgS_ShdwDraw *)
Definition d_bg_w.cpp:726
virtual u32 GetPolyCamThrough(int)=0
int GetTriGrp(int) const
Definition d_bg_w.cpp:1049
MtxP GetBaseMtxP()
Definition d_bg_w.h:219
virtual void ShdwDraw(cBgS_ShdwDraw *)
Definition d_bg_w.cpp:785
bool LineCheckGrpRp(cBgS_LinChk *, int, int)
Definition d_bg_w.cpp:501
virtual void OffMoveFlag()=0
virtual bool RoofChk(dBgS_RoofChk *)=0
virtual bool ChkGrpThrough(int, cBgS_GrpPassChk *, int)
Definition d_bg_w.cpp:802
u32 GetMaskPolyInf0_NoShift(int, u32) const
Definition d_bg_w.cpp:881
bool SetTri()
Definition d_bg_w.cpp:127
bool Set(cBgD_t *pdzb, u32 flags, Mtx *pbase_mtx)
Definition d_bg_w.cpp:357
virtual int GetGrpSoundId(cBgS_PolyInfo const &)=0
virtual bool SplGrpChk(dBgS_SplGrpChk *)=0
virtual u32 GetPolyRopeThrough(int)=0
virtual u32 GetPolyObjThrough(int)=0
virtual u32 GetPolyBoomerangThrough(int)=0
virtual void CalcPlane()
Definition d_bg_w.cpp:108
void GlobalVtx()
Definition d_bg_w.cpp:65
void MakeBlckTransMinMax(cXyz *, cXyz *)
Definition d_bg_w.cpp:201
virtual bool LineCheck(cBgS_LinChk *)
Definition d_bg_w.cpp:534
void ShdwDrawRp(cBgS_ShdwDraw *, int)
Definition d_bg_w.cpp:743
virtual bool WallCorrectSort(dBgS_Acch *)=0
int GetVtxNum() const
Definition d_bg_w.h:225
bool LineCheckRp(cBgS_LinChk *, int)
Definition d_bg_w.cpp:458
virtual void ClassifyPlane()
Definition d_bg_w.cpp:159
u16 m_rootGrpIdx
Definition d_bg_w.h:237
virtual bool ChkShdwDrawThrough(int, cBgS_PolyPassChk *)
Definition d_bg_w.cpp:797
virtual s32 GetRoomPathId(cBgS_PolyInfo const &)=0
Mtx m_inv_mtx
Definition d_bg_w.h:229
bool ChkRoofRegist()
Definition d_bg_w.h:223
u32 GetPolyInf2(int, u32, u32) const
Definition d_bg_w.cpp:1023
virtual BOOL GetHorseNoEntry(cBgS_PolyInfo const &)=0
virtual s32 GetExitId(cBgS_PolyInfo const &)=0
virtual bool GetShdwThrough(int)=0
virtual u32 GetAttackThrough(int)=0
void MakeNodeTreeRp(int)
Definition d_bg_w.cpp:273
virtual cM3dGAab * GetBnd() const
Definition d_bg_w.cpp:825
virtual bool ChkPolyThrough(int, cBgS_PolyPassChk *)
Definition d_bg_w.cpp:791
bool RwgGroundCheckWall(u16, cBgS_GndChk *)
Definition d_bg_w.cpp:577
u8 field_0x91
Definition d_bg_w.h:236
bool GroundCrossGrpRp(cBgS_GndChk *, int, int)
Definition d_bg_w.cpp:635
virtual u32 GetPolyHSStick(int)=0
Definition d_bg_s_roof_chk.h:8
Definition d_bg_s_sph_chk.h:13
Definition d_bg_s_spl_grp_chk.h:8
Definition d_bg_w_base.h:26
dBgW_CrrFunc m_crr_func
Definition d_bg_w.h:332
virtual s32 GetRoomPathId(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:1039
virtual ~dBgW()
Definition d_bg_w.h:276
virtual u32 GetPolyCamThrough(int)
Definition d_bg_w.cpp:929
virtual void MatrixCrrPos(cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)
Definition d_bg_w.cpp:2162
virtual int GetSpecialCode(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:903
virtual bool SplGrpChk(dBgS_SplGrpChk *)
Definition d_bg_w.cpp:1945
virtual u32 GetPolyLinkThrough(int)
Definition d_bg_w.cpp:934
void RwgWallCorrectSort(dBgS_Acch *, u16)
Definition d_bg_w.cpp:1404
void positionWallCorrect(dBgS_Acch *, f32, cM3dGPla &, cXyz *pupper_pos, f32)
Definition d_bg_w.cpp:1084
void CaptPolyRp(dBgS_CaptPoly &, int)
Definition d_bg_w.cpp:1965
void CaptPolyGrpRp(dBgS_CaptPoly &, int, int)
Definition d_bg_w.cpp:1993
virtual s32 GetRoomCamId(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:1034
bool RoofChkGrpRp(dBgS_RoofChk *, int, int)
Definition d_bg_w.cpp:1813
virtual u32 ChkMoveFlag() const
Definition d_bg_w.cpp:2290
bool RoofChkRp(dBgS_RoofChk *, int)
Definition d_bg_w.cpp:1784
virtual void CallRideCallBack(fopAc_ac_c *, fopAc_ac_c *)
Definition d_bg_w.cpp:2270
bool RwgSplGrpChk(u16, dBgS_SplGrpChk *)
Definition d_bg_w.cpp:1852
void WallCorrectRpSort(dBgS_Acch *, int)
Definition d_bg_w.cpp:1490
u8 m_flags
Definition d_bg_w.h:335
virtual bool SphChk(dBgS_SphChk *, void *)
Definition d_bg_w.cpp:2127
virtual bool WallCorrect(dBgS_Acch *)
Definition d_bg_w.cpp:1384
virtual u32 GetPolyObjThrough(int)
Definition d_bg_w.cpp:924
virtual bool ChkGrpThrough(int, cBgS_GrpPassChk *, int)
Definition d_bg_w.cpp:2249
virtual int GetLinkNo(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:981
virtual BOOL GetHorseNoEntry(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:898
bool SphChkRp(dBgS_SphChk *, void *, int)
Definition d_bg_w.cpp:2056
virtual bool GetShdwThrough(int)
Definition d_bg_w.cpp:964
virtual u32 GetPolyHSStick(int)
Definition d_bg_w.cpp:944
virtual void TransPos(cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)
Definition d_bg_w.cpp:2153
virtual void CrrPos(cBgS_PolyInfo const &, void *, bool, cXyz *, csXyz *, csXyz *)
Definition d_bg_w.cpp:2144
void SetRideCallback(dBgW_RideCallback func)
Definition d_bg_w.h:328
virtual void OffMoveFlag()
Definition d_bg_w.cpp:2285
virtual int GetGroundCode(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:1001
dBgW_RideCallback m_ride_callback
Definition d_bg_w.h:333
dBgW()
Definition d_bg_w.cpp:1069
bool RwgWallCorrect(dBgS_Acch *, u16)
Definition d_bg_w.cpp:1100
virtual void CallArrowStickCallBack(fopAc_ac_c *, fopAc_ac_c *, cXyz &)
Definition d_bg_w.cpp:2278
void SetCrrFunc(dBgW_CrrFunc func)
Definition d_bg_w.h:327
virtual bool ChkShdwDrawThrough(int, cBgS_PolyPassChk *)
Definition d_bg_w.cpp:2240
dBgW_ArrowStickCallback m_arrow_stick_callback
Definition d_bg_w.h:334
virtual u8 GetPolyGrpRoomInfId(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:2133
virtual u32 GetPolyArrowThrough(int)
Definition d_bg_w.cpp:939
void Move()
Definition d_bg_w.cpp:1077
virtual s32 GetRoomPathPntNo(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:1044
virtual u32 GetPolyBoomerangThrough(int)
Definition d_bg_w.cpp:949
bool RwgRoofChk(u16, dBgS_RoofChk *)
Definition d_bg_w.cpp:1754
virtual u32 GetPolyBombThrough(int)
Definition d_bg_w.cpp:959
virtual u32 GetUnderwaterRoofCode(int)
Definition d_bg_w.cpp:969
bool SplGrpChkRp(dBgS_SplGrpChk *, int)
Definition d_bg_w.cpp:1881
virtual int GetMagnetCode(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:913
bool WallCorrectGrpRpSort(dBgS_Acch *, int, int)
Definition d_bg_w.cpp:1514
virtual u32 GetPolyRopeThrough(int)
Definition d_bg_w.cpp:954
bool WallCorrectGrpRp(dBgS_Acch *, int, int)
Definition d_bg_w.cpp:1353
void OnMoveFlag()
Definition d_bg_w.h:329
virtual u32 GetIronBallThrough(int)
Definition d_bg_w.cpp:1013
virtual u32 GetAttackThrough(int)
Definition d_bg_w.cpp:1018
virtual int GetPolyAtt1(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:996
bool SphChkGrpRp(dBgS_SphChk *, void *, int, int)
Definition d_bg_w.cpp:2097
bool RwgSphChk(u16, dBgS_SphChk *, void *)
Definition d_bg_w.cpp:2025
void RwgCaptPoly(int, dBgS_CaptPoly &)
Definition d_bg_w.cpp:1950
virtual bool WallCorrectSort(dBgS_Acch *)
Definition d_bg_w.cpp:1541
virtual int GetPolyAtt0(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:991
bool SplGrpChkGrpRp(dBgS_SplGrpChk *, int, int)
Definition d_bg_w.cpp:1910
virtual void CaptPoly(dBgS_CaptPoly &)
Definition d_bg_w.cpp:2019
virtual bool ChkPolyThrough(int, cBgS_PolyPassChk *)
Definition d_bg_w.cpp:2169
virtual bool RoofChk(dBgS_RoofChk *)
Definition d_bg_w.cpp:1847
virtual s32 GetExitId(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:888
bool WallCorrectRp(dBgS_Acch *, int)
Definition d_bg_w.cpp:1322
virtual s32 GetWallCode(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:986
virtual s32 GetCamMoveBG(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:1029
virtual s32 GetPolyColor(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:893
virtual int GetGrpSoundId(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:2138
virtual int GetMonkeyBarsCode(cBgS_PolyInfo const &)
Definition d_bg_w.cpp:919
void(* dBgW_CrrFunc)(dBgW *, void *, cBgS_PolyInfo const &, bool, cXyz *, csXyz *, csXyz *)
Definition d_bg_w.h:250
void(* dBgW_RideCallback)(dBgW *, fopAc_ac_c *, fopAc_ac_c *)
Definition d_bg_w.h:248
void(* dBgW_ArrowStickCallback)(dBgW *, fopAc_ac_c *, fopAc_ac_c *, cXyz &)
Definition d_bg_w.h:249
int m
Definition e_atan2.c:62
f32(* MtxP)[4]
Definition mtx.h:18
f32 Mtx[3][4]
Definition mtx.h:15
u16 field_0x0
Definition d_bg_w.h:72
u16 m_first_vtx_idx
Definition d_bg_w.h:90
cXyz m_scale
Definition d_bg_w.h:83
u16 m_room_id
Definition d_bg_w.h:89
cXyz m_translation
Definition d_bg_w.h:85
u16 m_first_child
Definition d_bg_w.h:88
u16 m_next_sibling
Definition d_bg_w.h:87
u32 m_info
Definition d_bg_w.h:92
u16 m_parent
Definition d_bg_w.h:86
char * m_name
Definition d_bg_w.h:82
csXyz m_rotation
Definition d_bg_w.h:84
u16 m_tree_idx
Definition d_bg_w.h:91
u32 m_info1
Definition d_bg_w.h:66
u32 m_info2
Definition d_bg_w.h:67
u32 m_info0
Definition d_bg_w.h:65
u32 m_passFlag
Definition d_bg_w.h:68
u16 m_flag
Definition d_bg_w.h:76
u16 m_parent_id
Definition d_bg_w.h:77
u16 m_id[8]
Definition d_bg_w.h:78
u16 m_vtx_idx0
Definition d_bg_w.h:57
u16 m_id
Definition d_bg_w.h:60
u16 m_vtx_idx2
Definition d_bg_w.h:59
u16 m_vtx_idx1
Definition d_bg_w.h:58
u16 m_grp
Definition d_bg_w.h:61
Definition c_bg_s_chk.h:7
int m_b_num
Definition d_bg_w.h:100
int m_v_num
Definition d_bg_w.h:96
cBgD_Blk_t * m_b_tbl
Definition d_bg_w.h:101
cBgD_Tree_t * m_tree_tbl
Definition d_bg_w.h:103
cBgD_Vtx_t * m_v_tbl
Definition d_bg_w.h:97
cBgD_Tri_t * m_t_tbl
Definition d_bg_w.h:99
int m_g_num
Definition d_bg_w.h:104
int mFlags
Definition d_bg_w.h:108
int m_tree_num
Definition d_bg_w.h:102
cBgD_Grp_t * m_g_tbl
Definition d_bg_w.h:105
cBgD_Ti_t * m_ti_tbl
Definition d_bg_w.h:107
int m_ti_num
Definition d_bg_w.h:106
int m_t_num
Definition d_bg_w.h:98
Definition d_a_ep.cpp:138
Definition d_a_ep.cpp:136
Definition d_a_ep.cpp:134
u16 m_gnd_idx
Definition d_bg_w.h:53
u16 m_roof_idx
Definition d_bg_w.h:51
u16 m_wall_idx
Definition d_bg_w.h:52
Definition d_a_npc_fguard.cpp:137
Definition d_a_npc_fguard.cpp:122
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:115
Definition d_bg_s_cap_poly.h:10
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8