mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-22 06:20:02 -04:00
d_bg_s constructors (#46)
This commit is contained in:
@@ -8,7 +8,7 @@ struct cBgD_Vtx_t : public Vec {};
|
||||
|
||||
class cBgS_GrpPassChk {
|
||||
public:
|
||||
virtual ~cBgS_GrpPassChk();
|
||||
virtual ~cBgS_GrpPassChk() {}
|
||||
};
|
||||
|
||||
class cBgS_PolyPassChk;
|
||||
|
||||
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user