Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_swLBall.h
Go to the documentation of this file.
1#ifndef D_A_SWLBALL_H
2#define D_A_SWLBALL_H
3
5
14class daSwLBall_c : public fopAc_ac_c {
15public:
21
23
24 /* 80D4EB8C */ int checkArea_sub(fopAc_ac_c*);
25 /* 80D4ECCC */ int checkArea();
26 /* 80D4ED80 */ void search_lb();
27 /* 80D4EEAC */ int Create();
28 /* 80D4EEF8 */ int create();
29 /* 80D4EF60 */ int execute();
30 /* 80D4F008 */ void actionInit();
31 /* 80D4F080 */ void actionRun();
32 /* 80D4F220 */ void actionStop();
33 /* 80D4F224 */ void PutCrrPos();
34 /* 80D4F444 */ int _delete();
35
36 u8 getType() { return fopAcM_GetParamBit(this, 24, 4); }
37 u8 getArg0() { return fopAcM_GetParamBit(this, 0, 8); }
38 u8 getArg1() { return fopAcM_GetParamBit(this, 8, 8); }
39 u8 getSwbit() { return fopAcM_GetParamBit(this, 16, 8); }
42 return fopAcM_GetParamBit(this,28,2) == 0;
43 }
44
45private:
46 /* 0x568 */ fpc_ProcID mProcIds[2];
47 /* 0x570 */ u8 mRunTimer;
48 /* 0x571 */ u8 mAction;
49 /* 0x572 */ u8 field_0x572;
50 /* 0x574 */ u8 mIsActorCarrying[2];
51 /* 0x575 */ u8 mIsPulled[2];
52};
53
54STATIC_ASSERT(sizeof(daSwLBall_c) == 0x578);
55
56
57#endif /* D_A_SWLBALL_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Switch L Ball.
Definition d_a_swLBall.h:14
u8 field_0x572
Definition d_a_swLBall.h:49
u8 getSwbit()
Definition d_a_swLBall.h:39
int _delete()
Definition d_a_swLBall.cpp:265
void actionInit()
Definition d_a_swLBall.cpp:155
u8 mAction
Definition d_a_swLBall.h:48
void actionStop()
Definition d_a_swLBall.cpp:213
u8 getType()
Definition d_a_swLBall.h:36
fpc_ProcID mProcIds[2]
Definition d_a_swLBall.h:46
Action
Definition d_a_swLBall.h:16
@ ACTION_STOP
Definition d_a_swLBall.h:19
@ ACTION_INIT
Definition d_a_swLBall.h:17
@ ACTION_RUN
Definition d_a_swLBall.h:18
u8 mIsPulled[2]
Definition d_a_swLBall.h:51
int Create()
Definition d_a_swLBall.cpp:105
int checkPullLBall()
Definition d_a_swLBall.h:41
u8 mIsActorCarrying[2]
Definition d_a_swLBall.h:50
void PutCrrPos()
Definition d_a_swLBall.cpp:217
u8 getArg0()
Definition d_a_swLBall.h:37
int execute()
Definition d_a_swLBall.cpp:143
void search_lb()
Definition d_a_swLBall.cpp:74
void(daSwLBall_c::* actionFunc)()
Definition d_a_swLBall.h:22
void actionRun()
Definition d_a_swLBall.cpp:166
u8 mRunTimer
Definition d_a_swLBall.h:47
int create()
Definition d_a_swLBall.cpp:115
int checkArea()
Definition d_a_swLBall.cpp:58
int checkArea_sub(fopAc_ac_c *)
Definition d_a_swLBall.cpp:35
void setAction(Action action)
Definition d_a_swLBall.h:40
u8 getArg1()
Definition d_a_swLBall.h:38
static void action(b_bh_class *param_0)
Definition d_a_b_bh.cpp:886
STATIC_ASSERT(sizeof(daSwLBall_c)==0x578)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
unsigned int fpc_ProcID
Definition f_pc_base.h:10
Definition d_a_ep.cpp:19
unsigned char u8
Definition types.h:8