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 int Create();
17 int create();
18 int execute();
19 int draw();
20 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 */
Treasure Box Switch.
Definition d_a_tboxSw.h:14
int execute()
Definition d_a_tboxSw.cpp:26
int _delete()
Definition d_a_tboxSw.cpp:39
int create()
Definition d_a_tboxSw.cpp:16
int Create()
Definition d_a_tboxSw.cpp:12
int draw()
Definition d_a_tboxSw.cpp:35
Definition f_op_actor.h:230
STATIC_ASSERT(sizeof(daTboxSw_c)==0x568)
unsigned char u8
Definition types.h:8
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:192
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