d_bg_s constructors (#46)

This commit is contained in:
LagoLunatic
2023-09-16 18:50:07 -04:00
committed by GitHub
parent f0cc6a9bef
commit 4a83c97a48
8 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ struct cBgD_Vtx_t : public Vec {};
class cBgS_GrpPassChk {
public:
virtual ~cBgS_GrpPassChk();
virtual ~cBgS_GrpPassChk() {}
};
class cBgS_PolyPassChk;
+4 -2
View File
@@ -8,11 +8,13 @@
class cBgS_GndChk : public cBgS_Chk, public cBgS_PolyInfo {
public:
cBgS_GndChk();
void SetPos(cXyz const*);
void SetPos(cXyz const* pos) {
m_pos = *pos;
}
void SetPos(Vec const*);
void PreCheck();
virtual ~cBgS_GndChk();
virtual ~cBgS_GndChk() {}
f32 GetNowY() const { return mNowY; }
void SetNowY(f32 y) { mNowY = y; }
@@ -13,7 +13,7 @@ private:
/* 0x08 */ unsigned int mActorId;
public:
cBgS_PolyInfo();
cBgS_PolyInfo() {}
void ClearPi() {
mPolyIndex = -1;
mBgIndex = 0x100;
@@ -26,7 +26,7 @@ public:
void SetPolyIndex(int);
bool ChkBgIndex() const;
virtual ~cBgS_PolyInfo();
virtual ~cBgS_PolyInfo() {}
u16 GetPolyIndex() const { return mPolyIndex; }
u16 GetBgIndex() const { return mBgIndex; }