Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_bg_s_spl_grp_chk.h
Go to the documentation of this file.
1#ifndef D_BG_D_BG_S_SPL_GRP_CHK_H
2#define D_BG_D_BG_S_SPL_GRP_CHK_H
3
6#include "d/d_bg_s_chk.h"
7
8class dBgS_SplGrpChk : public cBgS_PolyInfo, public cBgS_Chk, public dBgS_Chk {
9public:
10 enum {
11 /* 0x1 */ FIND = 1,
12 /* 0x2 */ IN = 2,
13 /* 0x4 */ MOVE_BG_ONLY = 4
14 };
15
16 /* 80078B90 */ void Set(cXyz&, f32);
17 /* 80078BB0 */ dBgS_SplGrpChk();
18 /* 80078D0C */ void Init();
19
20 /* 80078C78 */ virtual ~dBgS_SplGrpChk();
21
22 void OffFind() { m_flags &= ~FIND; }
23 void OffIn() { m_flags &= ~IN; }
26 void OnFind() { m_flags |= FIND; }
27 bool ChkMoveBGOnly() { return m_flags & MOVE_BG_ONLY; }
28 void SetHeight(f32 height) { m_height = height; }
29 f32 GetHeight() { return m_height; }
30 cXyz& GetPosP() { return m_ground; }
31 f32 GetRoof() const { return m_roof; }
32
33private:
34 /* 0x3C */ cXyz m_ground;
35 /* 0x48 */ f32 m_roof;
36 /* 0x4C */ f32 m_height;
37 /* 0x50 */ u32 m_flags;
38}; // Size: 0x54
39
40#endif /* D_BG_D_BG_S_SPL_GRP_CHK_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition c_bg_s_chk.h:16
Definition d_bg_s_chk.h:7
Definition d_bg_s_spl_grp_chk.h:8
void SetHeight(f32 height)
Definition d_bg_s_spl_grp_chk.h:28
f32 m_roof
Definition d_bg_s_spl_grp_chk.h:35
void OffMoveBGOnly()
Definition d_bg_s_spl_grp_chk.h:24
f32 GetHeight()
Definition d_bg_s_spl_grp_chk.h:29
dBgS_SplGrpChk()
Definition d_bg_s_spl_grp_chk.cpp:15
void Init()
Definition d_bg_s_spl_grp_chk.cpp:35
u32 m_flags
Definition d_bg_s_spl_grp_chk.h:37
void OffFind()
Definition d_bg_s_spl_grp_chk.h:22
bool ChkMoveBGOnly()
Definition d_bg_s_spl_grp_chk.h:27
void Set(cXyz &, f32)
Definition d_bg_s_spl_grp_chk.cpp:9
cXyz & GetPosP()
Definition d_bg_s_spl_grp_chk.h:30
virtual ~dBgS_SplGrpChk()
Definition d_bg_s_spl_grp_chk.cpp:32
void OffIn()
Definition d_bg_s_spl_grp_chk.h:23
f32 GetRoof() const
Definition d_bg_s_spl_grp_chk.h:31
cXyz m_ground
Definition d_bg_s_spl_grp_chk.h:34
@ IN
Definition d_bg_s_spl_grp_chk.h:12
@ FIND
Definition d_bg_s_spl_grp_chk.h:11
@ MOVE_BG_ONLY
Definition d_bg_s_spl_grp_chk.h:13
void OnMoveBGOnly()
Definition d_bg_s_spl_grp_chk.h:25
f32 m_height
Definition d_bg_s_spl_grp_chk.h:36
void OnFind()
Definition d_bg_s_spl_grp_chk.h:26
Definition d_a_ep.cpp:134
Definition d_a_hozelda.cpp:20
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22