Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_bg_s_poly_info.h
Go to the documentation of this file.
1#ifndef C_BG_S_POLY_INFO_H
2#define C_BG_S_POLY_INFO_H
3
4#include "dolphin/types.h"
5
6class cBgS_PolyInfo {
7private:
8 /* 0x00 */ u16 mPolyIndex;
9 /* 0x02 */ u16 mBgIndex;
10 /* 0x04 */ void* unk_0x04;
11 /* 0x08 */ unsigned int mActorId;
12
13public:
15 bool ChkSetInfo() const;
16 void ClearPi();
17 void SetPolyInfo(const cBgS_PolyInfo&);
18 void SetActorInfo(int, void*, unsigned int);
19 bool ChkSafe(const void*, unsigned int) const;
20 void SetPolyIndex(int);
21 bool ChkBgIndex() const;
22
23 virtual ~cBgS_PolyInfo();
24
25 u16 GetPolyIndex() const { return mPolyIndex; }
26 u16 GetBgIndex() const { return mBgIndex; }
27}; // Size: 0x10
28
29#endif /* C_BG_S_POLY_INFO_H */
Definition d_a_ep.cpp:134
bool ChkBgIndex() const
Definition c_bg_s_poly_info.cpp:66
void SetActorInfo(int, void *, unsigned int)
Definition c_bg_s_poly_info.cpp:44
cBgS_PolyInfo()
Definition c_bg_s_poly_info.cpp:9
void SetPolyInfo(const cBgS_PolyInfo &)
Definition c_bg_s_poly_info.cpp:35
u16 mPolyIndex
Definition c_bg_s_poly_info.h:8
bool ChkSetInfo() const
Definition c_bg_s_poly_info.cpp:17
void ClearPi()
Definition c_bg_s_poly_info.cpp:26
u16 GetPolyIndex() const
Definition c_bg_s_poly_info.h:25
void SetPolyIndex(int)
Definition c_bg_s_poly_info.cpp:61
u16 mBgIndex
Definition c_bg_s_poly_info.h:9
u16 GetBgIndex() const
Definition c_bg_s_poly_info.h:26
unsigned int mActorId
Definition c_bg_s_poly_info.h:11
virtual ~cBgS_PolyInfo()
void * unk_0x04
Definition c_bg_s_poly_info.h:10
bool ChkSafe(const void *, unsigned int) const
Definition c_bg_s_poly_info.cpp:51
unsigned short u16
Definition types.h:9