Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_drop.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_DROP_H
2#define D_A_OBJ_DROP_H
3
5#include "d/d_particle.h"
6#include "d/d_cc_d.h"
7#include "d/d_bg_s_acch.h"
8
17class daObjDrop_c : public fopAc_ac_c {
18public:
25
33
34 /* 80BDFD8C */ int Create();
35 /* 80BDFE58 */ int create();
36 /* 80BE0358 */ void dropGet();
37 /* 80BE0430 */ BOOL checkGetArea();
38 /* 80BE05DC */ void checkCompleteDemo();
39 /* 80BE0658 */ void createLineEffect();
40 /* 80BE071C */ void removeLineEffect();
41 /* 80BE077C */ void createBodyEffect();
42 /* 80BE0840 */ void removeBodyEffect();
43 /* 80BE08A0 */ int modeInit();
44 /* 80BE0994 */ int modeNoParent();
45 /* 80BE09F4 */ int modeParentWait();
46 /* 80BE0C08 */ int modeWait();
47 /* 80BE1928 */ int actionCompleteWait();
48 /* 80BE1930 */ int actionOrderCompleteDemo();
49 /* 80BE19D0 */ int actionCompleateDemo();
50 /* 80BE1ACC */ int actionWaitCompleteGetDemo();
51 /* 80BE1B5C */ int actionCompleteGetDemo();
52 /* 80BE1BC4 */ int execute();
53 /* 80BE1DCC */ int _delete();
54
55 u8 getYmSwbit() { return fopAcM_GetParamBit(this, 8, 8); }
56 u8 getSave() { return fopAcM_GetParamBit(this, 0, 6); }
57
60 u8 chkDemoMode() { return mDemoMode; }
61
62 /* 0x568 */ cXyz mLinePos[3];
63 /* 0x58C */ cXyz mLineMovePos[3];
64 /* 0x5B0 */ csXyz mTargetAngle[3];
65 /* 0x5C2 */ s16 mTargetRelAngle[3];
66 /* 0x5C8 */ u8 mLineIsCross[3];
71 /* 0x6A4 */ int mCounter;
72 /* 0x6A8 */ fpc_ProcID mPtI_Id;
73 /* 0x6AC */ u32 field_0x6ac;
74 /* 0x6B0 */ u8 mMode;
75 /* 0x6B1 */ s8 mModeTimer;
76 /* 0x6B2 */ u8 mModeAction;
77 /* 0x6B3 */ u8 field_0x6B3[0x6B5 - 0x6B3];
78 /* 0x6B5 */ u8 mDeleteTimer;
79 /* 0x6B6 */ u8 mDrawInTimer;
80 /* 0x6B7 */ u8 field_0x6b7;
81 /* 0x6B8 */ u8 mAppear;
82 /* 0x6B9 */ u8 mSetCollectDrop;
83 /* 0x6BA */ u8 mDemoMode;
84 /* 0x6BB */ u8 mFadeoutTimer;
85 /* 0x6BC */ u8 field_0x6bc;
88 /* 0x720 */ dBgS_ObjAcch mAcch;
89 /* 0x8F8 */ dCcD_Stts mCcStts;
90 /* 0x934 */ dCcD_Sph mCcSph;
91 /* 0xA6C */ cXyz mTargetPos;
92 /* 0xA78 */ u8 field_0xa78[0xA7C - 0xA78];
93};
94
95STATIC_ASSERT(sizeof(daObjDrop_c) == 0xa7c);
96
97
98#endif /* D_A_OBJ_DROP_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JPAEmitter.h:94
Definition Z2SoundObject.h:34
Definition d_cc_d.h:432
Definition d_particle.h:74
Tear of Light.
Definition d_a_obj_drop.h:17
dPa_followEcallBack mBodyEffCallbacks[6]
Definition d_a_obj_drop.h:70
u8 field_0x6B3[0x6B5 - 0x6B3]
Definition d_a_obj_drop.h:77
int actionWaitCompleteGetDemo()
Definition d_a_obj_drop.cpp:544
u8 mDeleteTimer
Definition d_a_obj_drop.h:78
u8 getYmSwbit()
Definition d_a_obj_drop.h:55
void setDemoMode(u8 i_mode)
Definition d_a_obj_drop.h:58
cXyz mLinePos[3]
Definition d_a_obj_drop.h:62
void dropGet()
Definition d_a_obj_drop.cpp:113
dBgS_AcchCir mAcchCir
Definition d_a_obj_drop.h:87
int actionCompleateDemo()
Definition d_a_obj_drop.cpp:517
int modeNoParent()
Definition d_a_obj_drop.cpp:242
u8 mAppear
Definition d_a_obj_drop.h:81
cXyz mTargetPos
Definition d_a_obj_drop.h:91
MODE_e
Definition d_a_obj_drop.h:19
@ MODE_NO_PARENT_e
Definition d_a_obj_drop.h:22
@ MODE_PARENT_WAIT_e
Definition d_a_obj_drop.h:21
@ MODE_INIT_e
Definition d_a_obj_drop.h:20
@ MODE_WAIT_e
Definition d_a_obj_drop.h:23
u8 mSetCollectDrop
Definition d_a_obj_drop.h:82
void removeBodyEffect()
Definition d_a_obj_drop.cpp:206
cXyz mLineMovePos[3]
Definition d_a_obj_drop.h:63
int actionCompleteWait()
Definition d_a_obj_drop.cpp:494
void createLineEffect()
Definition d_a_obj_drop.cpp:171
dCcD_Sph mCcSph
Definition d_a_obj_drop.h:90
u8 mFadeoutTimer
Definition d_a_obj_drop.h:84
void createBodyEffect()
Definition d_a_obj_drop.cpp:192
u8 field_0x6bc
Definition d_a_obj_drop.h:85
u8 field_0x6b7
Definition d_a_obj_drop.h:80
BOOL checkGetArea()
Definition d_a_obj_drop.cpp:141
int create()
Definition d_a_obj_drop.cpp:95
int Create()
Definition d_a_obj_drop.cpp:63
int modeParentWait()
Definition d_a_obj_drop.cpp:261
int actionOrderCompleteDemo()
Definition d_a_obj_drop.cpp:499
Z2SoundObjSimple mSound
Definition d_a_obj_drop.h:86
fpc_ProcID mPtI_Id
Definition d_a_obj_drop.h:72
u8 mDrawInTimer
Definition d_a_obj_drop.h:79
int modeWait()
Definition d_a_obj_drop.cpp:315
s8 mModeTimer
Definition d_a_obj_drop.h:75
void removeLineEffect()
Definition d_a_obj_drop.cpp:184
u8 mDemoMode
Definition d_a_obj_drop.h:83
int execute()
Definition d_a_obj_drop.cpp:572
u8 mModeAction
Definition d_a_obj_drop.h:76
u8 mMode
Definition d_a_obj_drop.h:74
dBgS_ObjAcch mAcch
Definition d_a_obj_drop.h:88
u8 field_0xa78[0xA7C - 0xA78]
Definition d_a_obj_drop.h:92
dPa_followEcallBack mLineEffCallbacks[3]
Definition d_a_obj_drop.h:68
dCcD_Stts mCcStts
Definition d_a_obj_drop.h:89
s16 mTargetRelAngle[3]
Definition d_a_obj_drop.h:65
JPABaseEmitter * mpBodyEffEmtrs[6]
Definition d_a_obj_drop.h:69
u8 chkDemoMode()
Definition d_a_obj_drop.h:60
int mCounter
Definition d_a_obj_drop.h:71
u8 getSave()
Definition d_a_obj_drop.h:56
DEMOMODE_e
Definition d_a_obj_drop.h:26
@ DEMOMODE_WAIT_COMPLETE_GET_DEMO_e
Definition d_a_obj_drop.h:30
@ DEMOMODE_COMPLETE_DEMO_e
Definition d_a_obj_drop.h:29
@ DEMOMODE_COMPLETE_GET_DEMO_e
Definition d_a_obj_drop.h:31
@ DEMOMODE_ORDER_COMPLETE_DEMO_e
Definition d_a_obj_drop.h:28
@ DEMOMODE_COMPLETE_WAIT_e
Definition d_a_obj_drop.h:27
void setMode(u8 i_mode)
Definition d_a_obj_drop.h:59
int modeInit()
Definition d_a_obj_drop.cpp:213
JPABaseEmitter * mpLineEffEmtrs[3]
Definition d_a_obj_drop.h:67
void checkCompleteDemo()
Definition d_a_obj_drop.cpp:156
csXyz mTargetAngle[3]
Definition d_a_obj_drop.h:64
int actionCompleteGetDemo()
Definition d_a_obj_drop.cpp:562
u8 mLineIsCross[3]
Definition d_a_obj_drop.h:66
u32 field_0x6ac
Definition d_a_obj_drop.h:73
int _delete()
Definition d_a_obj_drop.cpp:600
STATIC_ASSERT(sizeof(daObjDrop_c)==0xa7c)
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_hozelda.cpp:20
Definition d_a_ep.cpp:66
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8