Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_digplace.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_DIGPLACE_H
2#define D_A_OBJ_DIGPLACE_H
3
4#include "d/d_path.h"
6
15class daObjDigpl_c : public fopAc_ac_c {
16public:
17 /* 8057BF98 */ int create();
18 /* 8057C1EC */ int execute();
19
20private:
21 /* 0x568 */ u8 mType;
22 /* 0x569 */ u8 mSwitch;
23 /* 0x56A */ u8 mDigFlg;
24 /* 0x56B */ u8 field_0x56b;
25 /* 0x56C */ u8 mCurrentDigPoint;
26 /* 0x570 */ Mtx field_0x570;
27 /* 0x5A0 */ int mUsedDigFlags[6];
28 /* 0x5B8 */ dPath* mpDigPoints;
29
30public:
31 /* 8057C158 */ virtual ~daObjDigpl_c();
32
33 u8 getSceneNum() { return (fopAcM_GetParam(this) >> 0xC) & 0xFF; }
34 int getItemNum() { return getSceneNum(); }
35 u8 getType() const { return mType; }
36 void onDigFlg() { mDigFlg = true; }
37};
38
39STATIC_ASSERT(sizeof(daObjDigpl_c) == 0x5C0);
40
41#endif /* D_A_OBJ_DIGPLACE_H */
Wolf Dig Place (Treasure)
Definition d_a_obj_digplace.h:15
u8 mDigFlg
Definition d_a_obj_digplace.h:23
u8 getType() const
Definition d_a_obj_digplace.h:35
int mUsedDigFlags[6]
Definition d_a_obj_digplace.h:27
u8 field_0x56b
Definition d_a_obj_digplace.h:24
int execute()
Definition d_a_obj_digplace.cpp:64
virtual ~daObjDigpl_c()
Definition d_a_obj_digplace.cpp:54
dPath * mpDigPoints
Definition d_a_obj_digplace.h:28
u8 mSwitch
Definition d_a_obj_digplace.h:22
u8 mType
Definition d_a_obj_digplace.h:21
u8 getSceneNum()
Definition d_a_obj_digplace.h:33
void onDigFlg()
Definition d_a_obj_digplace.h:36
Mtx field_0x570
Definition d_a_obj_digplace.h:26
int create()
Definition d_a_obj_digplace.cpp:12
u8 mCurrentDigPoint
Definition d_a_obj_digplace.h:25
int getItemNum()
Definition d_a_obj_digplace.h:34
STATIC_ASSERT(sizeof(daObjDigpl_c)==0x5C0)
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_npc_cd2.cpp:35
Definition d_a_ep.cpp:19
unsigned char u8
Definition types.h:8