Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tboxSw.h
Go to the documentation of this file.
1#ifndef D_A_TBOXSW_H
2#define D_A_TBOXSW_H
3
5
14class daTboxSw_c : public fopAc_ac_c {
15public:
16 /* 80D66858 */ int Create();
17 /* 80D66860 */ int create();
18 /* 80D668C8 */ int execute();
19 /* 80D66938 */ int draw();
20 /* 80D66940 */ int _delete();
21};
22
23STATIC_ASSERT(sizeof(daTboxSw_c) == 0x568);
24
25namespace daTboxSw_prm {
26 inline u8 getTboxNo(daTboxSw_c* p_tbox) { return fopAcM_GetParam(p_tbox) & 0x3F; }
27 inline u8 getSwNo(daTboxSw_c* p_tbox) { return fopAcM_GetParam(p_tbox) >> 8; }
28};
29
30#endif /* D_A_TBOXSW_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Treasure Box Switch.
Definition d_a_tboxSw.h:14
int execute()
Definition d_a_tboxSw.cpp:27
int _delete()
Definition d_a_tboxSw.cpp:42
int create()
Definition d_a_tboxSw.cpp:16
int Create()
Definition d_a_tboxSw.cpp:11
int draw()
Definition d_a_tboxSw.cpp:37
STATIC_ASSERT(sizeof(daTboxSw_c)==0x568)
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
Definition d_a_tboxSw.h:25
u8 getTboxNo(daTboxSw_c *p_tbox)
Definition d_a_tboxSw.h:26
u8 getSwNo(daTboxSw_c *p_tbox)
Definition d_a_tboxSw.h:27
Definition d_a_ep.cpp:19
unsigned char u8
Definition types.h:8