Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_bg_s_grp_pass_chk.h
Go to the documentation of this file.
1#ifndef D_BG_D_BG_S_GRP_PASS_CHK_H
2#define D_BG_D_BG_S_GRP_PASS_CHK_H
3
5
7public:
8 enum {
9 /* 0x1 */ NORMAL_GRP = 1,
10 /* 0x2 */ WATER_GRP,
11 /* 0x3 */ FULL_GRP
12 };
13
14 /* 80077BA0 */ dBgS_GrpPassChk();
15
16 /* 80077BC4 */ virtual ~dBgS_GrpPassChk();
17
18 void OnWaterGrp() { mGrp |= WATER_GRP; }
19 void OnSpl() { mGrp |= WATER_GRP; }
23 void OffFullGrp() { mGrp &= ~FULL_GRP; }
24 void OnAll() { mGrp |= FULL_GRP; }
25 u32 MaskNormalGrp() const {return mGrp & NORMAL_GRP; }
26 u32 MaskWaterGrp() const {return mGrp & WATER_GRP; }
27private:
28 /* 0x4 */ u32 mGrp;
29};
30
31#endif /* D_BG_D_BG_S_GRP_PASS_CHK_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition c_bg_s_chk.h:9
Definition d_bg_s_grp_pass_chk.h:6
u32 mGrp
Definition d_bg_s_grp_pass_chk.h:28
void OnSpl()
Definition d_bg_s_grp_pass_chk.h:19
u32 MaskWaterGrp() const
Definition d_bg_s_grp_pass_chk.h:26
dBgS_GrpPassChk()
Definition d_bg_s_grp_pass_chk.cpp:9
virtual ~dBgS_GrpPassChk()
Definition d_bg_s_grp_pass_chk.cpp:14
u32 MaskNormalGrp() const
Definition d_bg_s_grp_pass_chk.h:25
void OffNormalGrp()
Definition d_bg_s_grp_pass_chk.h:22
void OffWaterGrp()
Definition d_bg_s_grp_pass_chk.h:20
@ FULL_GRP
Definition d_bg_s_grp_pass_chk.h:11
@ WATER_GRP
Definition d_bg_s_grp_pass_chk.h:10
@ NORMAL_GRP
Definition d_bg_s_grp_pass_chk.h:9
void OnWaterGrp()
Definition d_bg_s_grp_pass_chk.h:18
void OnNormalGrp()
Definition d_bg_s_grp_pass_chk.h:21
void OnAll()
Definition d_bg_s_grp_pass_chk.h:24
void OffFullGrp()
Definition d_bg_s_grp_pass_chk.h:23
unsigned long u32
Definition types.h:10