Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_tag_attention.h
Go to the documentation of this file.
1#ifndef D_A_TAG_ATTENTION_H
2#define D_A_TAG_ATTENTION_H
3
4#include "d/d_com_inf_game.h"
6
7class daAttp_c : public fopAc_ac_c {
8public:
9 /* 804D5318 */ int Create();
10 /* 804D5354 */ int create();
11 /* 804D53AC */ int execute();
12 /* 804D568C */ int draw();
13 /* 804D5694 */ int _delete();
14}; // Size: 0x568
15
16namespace daAttp_prm {
17static inline u32 getArg0(daAttp_c* pActor) {
18 return fopAcM_GetParam(pActor) & 3;
19}
20static inline u32 getArg1(daAttp_c* pActor) {
21 return (fopAcM_GetParam(pActor) >> 2) & 3;
22}
23static inline u32 getArg2(daAttp_c* pActor) {
24 return (fopAcM_GetParam(pActor) >> 4) & 7;
25}
26static inline u32 getArg3(daAttp_c* pActor) {
27 return (fopAcM_GetParam(pActor) >> 7) & 1;
28}
29static inline u32 getArg4(daAttp_c* pActor) {
30 return (fopAcM_GetParam(pActor) >> 8) & 1;
31}
32static inline u32 getSw1(daAttp_c* pActor) {
33 return (fopAcM_GetParam(pActor) >> 0x10) & 0xff;
34}
35static inline u32 getSw2(daAttp_c* pActor) {
36 return (fopAcM_GetParam(pActor) >> 0x18);
37}
38} // namespace daAttp_prm
39
40#endif /* D_A_TAG_ATTENTION_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_a_tag_attention.h:7
int execute()
Definition d_a_tag_attention.cpp:27
int _delete()
Definition d_a_tag_attention.cpp:129
int create()
Definition d_a_tag_attention.cpp:20
int Create()
Definition d_a_tag_attention.cpp:12
int draw()
Definition d_a_tag_attention.cpp:124
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
Definition d_a_tag_attention.h:16
static u32 getArg1(daAttp_c *pActor)
Definition d_a_tag_attention.h:20
static u32 getArg2(daAttp_c *pActor)
Definition d_a_tag_attention.h:23
static u32 getArg0(daAttp_c *pActor)
Definition d_a_tag_attention.h:17
static u32 getSw2(daAttp_c *pActor)
Definition d_a_tag_attention.h:35
static u32 getArg4(daAttp_c *pActor)
Definition d_a_tag_attention.h:29
static u32 getArg3(daAttp_c *pActor)
Definition d_a_tag_attention.h:26
static u32 getSw1(daAttp_c *pActor)
Definition d_a_tag_attention.h:32
Definition d_a_ep.cpp:19
unsigned long u32
Definition types.h:10