Files
tww/include/SSystem/SComponent/c_bg_s_poly_info.h
T
TakaRikka 85b77c336b work on m_Do_audio and d_com_inf_game (#18)
* fix float issues and add decompctx.py tool

* work on m_Do_audio and d_com_inf_game

* fix build
2023-09-12 03:14:40 -07:00

38 lines
875 B
C++

#ifndef C_BG_S_POLY_INFO_H
#define C_BG_S_POLY_INFO_H
#include "dolphin/types.h"
class cBgS_PolyInfo {
private:
/* 0x00 */ u16 mPolyIndex;
/* 0x02 */ u16 mBgIndex;
/* 0x04 */ void* unk_0x04;
/* 0x08 */ unsigned int mActorId;
public:
cBgS_PolyInfo();
void ClearPi();
void SetPolyInfo(const cBgS_PolyInfo&);
void SetActorInfo(int, void*, unsigned int);
bool ChkSafe(const void*, unsigned int) const;
void SetPolyIndex(int);
bool ChkBgIndex() const;
virtual ~cBgS_PolyInfo();
u16 GetPolyIndex() const { return mPolyIndex; }
u16 GetBgIndex() const { return mBgIndex; }
bool ChkSetInfo() const {
if (mPolyIndex == 0xFFFF || mBgIndex == 0x100) {
return false;
}
return true;
}
}; // Size: 0x10
STATIC_ASSERT(sizeof(cBgS_PolyInfo) == 0x10);
#endif /* C_BG_S_POLY_INFO_H */