Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_swBallA.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_SWBALLA_H
2#define D_A_OBJ_SWBALLA_H
3
5#include "d/d_event_lib.h"
6
7// dEvLib_callback_c is not generated at the correct location.
17public:
19
20 /* 80CF3394 */ int checkArea_sub(fopAc_ac_c*);
21 /* 80CF34E4 */ void search_ball();
22 /* 80CF3610 */ void initBaseMtx();
23 /* 80CF3630 */ void setBaseMtx();
24 /* 80CF3694 */ int Create();
25 /* 80CF37FC */ int CreateHeap();
26 /* 80CF3970 */ int create();
27 /* 80CF3A90 */ int execute();
28 /* 80CF3B40 */ void actionRun();
29 /* 80CF3D80 */ void actionStop();
30 /* 80CF3D84 */ void PutCrrPos();
31 /* 80CF406C */ int draw();
32 /* 80CF41F4 */ int _delete();
33 /* 80CF4354 */ ~daObjSwBallA_c();
34
35 u32 getArg0() { return fopAcM_GetParamBit(this, 0, 8); }
36 u32 getSwbit2() { return fopAcM_GetParamBit(this, 8, 8); }
37 u32 getSwbit() { return fopAcM_GetParamBit(this, 16, 8); }
38 u32 getType() { return fopAcM_GetParamBit(this, 24, 4); }
39 u8 getEvent() { return field_0x5c6; }
40 void clrFlag(u8 idx) { field_0x5af[idx] = 0; }
41 void onFlag(u8 idx, u8 val) { field_0x5af[idx] |= val; }
42 u8 checkFlag(u8 idx, u8 val) { return field_0x5af[idx] & val; }
43
44private:
46 /* 0x584 */ J3DModel* mModel;
48 /* 0x58C */ u32 field_0x58c[8];
49 /* 0x5AC */ u8 field_0x5ac;
50 /* 0x5AD */ u8 field_0x5ad;
51 /* 0x5AE */ u8 field_0x5ae;
52 /* 0x5AF */ u8 field_0x5af[8];
53 /* 0x5B7 */ u8 field_0x5b7[8];
54 /* 0x5C0 */ u32 field_0x5c0;
55 /* 0x5C4 */ u8 field_0x5c4;
56 /* 0x5C5 */ u8 field_0x5c5;
57 /* 0x5C6 */ u16 field_0x5c6;
58 /* 0x5C8 */ u16 field_0x5c8;
59};
60
61// STATIC_ASSERT(sizeof(daObjSwBallA_c) == 0x5CC);
62
63#endif /* D_A_OBJ_SWBALLA_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_event_lib.h:24
Ball Switch A.
Definition d_a_obj_swBallA.h:16
J3DModel * mModel
Definition d_a_obj_swBallA.h:46
void setBaseMtx()
Definition d_a_obj_swBallA.cpp:230
int execute()
Definition d_a_obj_swBallA.cpp:450
~daObjSwBallA_c()
Definition d_a_obj_swBallA.cpp:663
void actionRun()
Definition d_a_obj_swBallA.cpp:466
u8 field_0x5af[8]
Definition d_a_obj_swBallA.h:52
int create()
Definition d_a_obj_swBallA.cpp:416
daObjSwBallA_c()
Definition d_a_obj_swBallA.h:18
int _delete()
Definition d_a_obj_swBallA.cpp:612
void search_ball()
Definition d_a_obj_swBallA.cpp:194
u32 getArg0()
Definition d_a_obj_swBallA.h:35
u16 field_0x5c8
Definition d_a_obj_swBallA.h:58
void actionStop()
Definition d_a_obj_swBallA.cpp:502
u8 field_0x5ae
Definition d_a_obj_swBallA.h:51
int Create()
Definition d_a_obj_swBallA.cpp:244
u8 field_0x5ac
Definition d_a_obj_swBallA.h:49
u32 getType()
Definition d_a_obj_swBallA.h:38
u32 getSwbit2()
Definition d_a_obj_swBallA.h:36
u8 field_0x5c5
Definition d_a_obj_swBallA.h:56
void clrFlag(u8 idx)
Definition d_a_obj_swBallA.h:40
u32 field_0x5c0
Definition d_a_obj_swBallA.h:54
u8 field_0x5c4
Definition d_a_obj_swBallA.h:55
void PutCrrPos()
Definition d_a_obj_swBallA.cpp:515
u16 field_0x5c6
Definition d_a_obj_swBallA.h:57
void initBaseMtx()
Definition d_a_obj_swBallA.cpp:225
int draw()
Definition d_a_obj_swBallA.cpp:588
u8 checkFlag(u8 idx, u8 val)
Definition d_a_obj_swBallA.h:42
request_of_phase_process_class field_0x57c
Definition d_a_obj_swBallA.h:45
void onFlag(u8 idx, u8 val)
Definition d_a_obj_swBallA.h:41
int checkArea_sub(fopAc_ac_c *)
Definition d_a_obj_swBallA.cpp:165
u8 field_0x5ad
Definition d_a_obj_swBallA.h:50
u8 getEvent()
Definition d_a_obj_swBallA.h:39
u32 field_0x58c[8]
Definition d_a_obj_swBallA.h:48
mDoExt_btkAnm * field_0x588
Definition d_a_obj_swBallA.h:47
int CreateHeap()
Definition d_a_obj_swBallA.cpp:390
u8 field_0x5b7[8]
Definition d_a_obj_swBallA.h:53
u32 getSwbit()
Definition d_a_obj_swBallA.h:37
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8