mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-06 09:52:38 -04:00
d_bg_s start
This commit is contained in:
@@ -38,6 +38,14 @@ struct cBgD_Blk_t {
|
||||
/* 0x0 */ u16 field_0x00;
|
||||
};
|
||||
|
||||
struct cBgD_Ti_t {
|
||||
public:
|
||||
/* 0x00 */ u32 mPolyInf0;
|
||||
/* 0x04 */ u32 mPolyInf1;
|
||||
/* 0x08 */ u32 mPolyInf2;
|
||||
/* 0x0C */ u32 mPolyInf3;
|
||||
};
|
||||
|
||||
struct cBgD_Tri_t {
|
||||
public:
|
||||
/* 0x00 */ u16 vtx0;
|
||||
@@ -79,7 +87,7 @@ public:
|
||||
/* 0x20 */ s32 m_g_num;
|
||||
/* 0x24 */ cBgD_Grp_t* m_g_tbl;
|
||||
/* 0x28 */ s32 m_ti_num;
|
||||
/* 0x2C */ void* m_ti_tbl;
|
||||
/* 0x2C */ cBgD_Ti_t* m_ti_tbl;
|
||||
/* 0x30 */ u32 flag;
|
||||
};
|
||||
class cBgS_LinChk;
|
||||
@@ -188,11 +196,26 @@ public:
|
||||
void ClrNoCalcVtx() {}
|
||||
void GetBaseMtxP() {}
|
||||
void GetOldInvMtx(float(*)[4]) const {}
|
||||
void GetPolyInf0(int) const {}
|
||||
void GetPolyInf1(int) const {}
|
||||
void GetPolyInf2(int) const {}
|
||||
void GetPolyInf3(int) const {}
|
||||
void GetPolyInfId(int) const {}
|
||||
u32 GetPolyInfId(int poly_index) const {
|
||||
JUT_ASSERT(0x2f1, 0 <= poly_index && poly_index < pm_bgd->m_t_num);
|
||||
return pm_bgd->m_t_tbl[poly_index].id;
|
||||
}
|
||||
u32 GetPolyInf0(int id) const {
|
||||
JUT_ASSERT(0x2f8, 0 <= id && id < pm_bgd->m_ti_num);
|
||||
return pm_bgd->m_ti_tbl[id].mPolyInf0;
|
||||
}
|
||||
u32 GetPolyInf1(int id) const {
|
||||
JUT_ASSERT(0x2fd, 0 <= id && id < pm_bgd->m_ti_num);
|
||||
return pm_bgd->m_ti_tbl[id].mPolyInf1;
|
||||
}
|
||||
u32 GetPolyInf2(int id) const {
|
||||
JUT_ASSERT(0x302, 0 <= id && id < pm_bgd->m_ti_num);
|
||||
return pm_bgd->m_ti_tbl[id].mPolyInf2;
|
||||
}
|
||||
u32 GetPolyInf3(int id) const {
|
||||
JUT_ASSERT(0x308, 0 <= id && id < pm_bgd->m_ti_num);
|
||||
return pm_bgd->m_ti_tbl[id].mPolyInf3;
|
||||
}
|
||||
void GetVtxNum() const {}
|
||||
void GetVtxTbl() const {}
|
||||
void GroundCross(cBgS_GndChk*) {}
|
||||
|
||||
Reference in New Issue
Block a user