mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-05 09:33:47 -04:00
e70562699f
* should be fixed * matching ? * matching now * matching for GZLE01 and GZLP01 * fixed dDemo_setDemoData probably * matching except setfrontwalltype for demo
49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
#ifndef D_BG_D_BG_S_ROOF_CHK_H
|
|
#define D_BG_D_BG_S_ROOF_CHK_H
|
|
|
|
#include "SSystem/SComponent/c_bg_s_poly_info.h"
|
|
#include "SSystem/SComponent/c_xyz.h"
|
|
#include "d/d_bg_s_chk.h"
|
|
#include "f_pc/f_pc_manager.h"
|
|
|
|
class dBgS_RoofChk : public cBgS_PolyInfo, public cBgS_Chk, public dBgS_Chk {
|
|
public:
|
|
dBgS_RoofChk() {
|
|
SetPolyPassChk(GetPolyPassChkInfo());
|
|
SetGrpPassChk(GetGrpPassChkInfo());
|
|
m_pos.x = 0.0f;
|
|
m_pos.y = 0.0f;
|
|
m_pos.z = 0.0f;
|
|
SetActorPid(fpcM_ERROR_PROCESS_ID_e);
|
|
field_0x44 = NULL;
|
|
}
|
|
void Init();
|
|
|
|
virtual ~dBgS_RoofChk() {}
|
|
|
|
void SetPos(cXyz &pos) { m_pos = pos; }
|
|
cXyz* GetPosP() { return &m_pos; }
|
|
f32 GetNowY() { return m_now_y; }
|
|
void SetNowY(f32 y) { m_now_y = y; }
|
|
|
|
private:
|
|
/* 0x38 */ cXyz m_pos;
|
|
/* 0x44 */ void* field_0x44;
|
|
/* 0x48 */ f32 m_now_y;
|
|
}; // Size: 0x4C
|
|
|
|
STATIC_ASSERT(sizeof(dBgS_RoofChk) == 0x4C);
|
|
|
|
class dBgS_LinkRoofChk : public dBgS_RoofChk {
|
|
public:
|
|
dBgS_LinkRoofChk() { SetLink(); }
|
|
virtual ~dBgS_LinkRoofChk() {}
|
|
}; // Size: 0x4C
|
|
|
|
class dBgS_ObjRoofChk : public dBgS_RoofChk {
|
|
public:
|
|
dBgS_ObjRoofChk() { SetObj(); }
|
|
virtual ~dBgS_ObjRoofChk() {}
|
|
};
|
|
#endif /* D_BG_D_BG_S_ROOF_CHK_H */
|