Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_life_container.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LIFE_CONTAINER_H
2#define D_A_OBJ_LIFE_CONTAINER_H
3
5#include "d/d_particle.h"
6
15class daObjLife_c : public daItemBase_c {
16public:
25
26 /* 804CCBE4 */ void initBaseMtx();
27 /* 804CCC04 */ void setBaseMtx();
28 /* 804CCC6C */ int Create();
29 /* 804CCE00 */ void setEffect();
30 /* 804CCF5C */ void endEffect00();
31 /* 804CCFAC */ void endEffect02();
32 /* 804CCFE0 */ int create();
33 /* 804CD428 */ void bg_check();
34 /* 804CD5B8 */ int actionWaitInit();
35 /* 804CD660 */ int actionWait();
36 /* 804CD8C0 */ int initActionOrderGetDemo();
37 /* 804CD98C */ int actionOrderGetDemo();
38 /* 804CDA08 */ int actionGetDemo();
39 /* 804CDBC8 */ int actionSwOnWait();
40 /* 804CDC2C */ int actionInitBoomerangCarry();
41 /* 804CDD0C */ int actionBoomerangCarry();
42 /* 804CDD7C */ int actionInitWait2();
43 /* 804CDD8C */ int actionWait2();
44 /* 804CDDAC */ void calcScale();
45 /* 804CDE70 */ int execute();
46 /* 804CE19C */ int draw();
47 /* 804CE214 */ int _delete();
48
49 /* 804CCFD8 */ virtual int __CreateHeap();
50 /* 804CE1F0 */ virtual void setListStart();
51
52 bool chkStatus(u8 i_status) { return mStatus == i_status; }
54
55 u8 getSaveBitNo() { return fopAcM_GetParamBit(this, 8, 8); }
56 u8 getItemNo() { return fopAcM_GetParamBit(this, 0, 8); }
57 int getSwNo() { return 0xFF; }
58
59 void setPos(cXyz);
60
61private:
62 /* 0x92C */ fpc_ProcID mItemId;
63 /* 0x930 */ int mCounter;
64 /* 0x934 */ u8 mStatus;
65 /* 0x935 */ u8 field_0x935;
66 /* 0x936 */ u8 mGndLandCount;
67 /* 0x937 */ u8 mIsPrmsInit;
68 /* 0x938 */ s16 field_0x938;
69 /* 0x93A */ s16 field_0x93a;
70 /* 0x93C */ cXyz mPrevSpeed;
71 /* 0x948 */ u16 mLv5Counter;
72 /* 0x94C */ f32 field_0x94c;
73 /* 0x950 */ f32 field_0x950;
74 /* 0x954 */ f32 field_0x954;
75 /* 0x958 */ u8 field_0x958[0x95E - 0x958];
76 /* 0x95E */ s16 field_0x95e;
77 /* 0x960 */ u8 field_0x960[0x962 - 0x960];
78 /* 0x962 */ s16 mRotateSpeed;
79 /* 0x964 */ u8 field_0x964[0x974 - 0x964];
84 /* 0x9D0 */ u8 mIsHookCarry;
85};
86
87STATIC_ASSERT(sizeof(daObjLife_c) == 0x9d4);
88
89
90#endif /* D_A_OBJ_LIFE_CONTAINER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Definition Z2SoundObject.h:34
Definition d_particle.h:74
Definition d_a_itembase.h:30
Heart Piece.
Definition d_a_obj_life_container.h:15
Status_e
Definition d_a_obj_life_container.h:17
@ STATUS_ORDER_GET_DEMO_e
Definition d_a_obj_life_container.h:19
@ STATUS_GET_DEMO_e
Definition d_a_obj_life_container.h:20
@ STATUS_BOOMERANG_CARRY_e
Definition d_a_obj_life_container.h:22
@ STATUS_SW_ON_WAIT_e
Definition d_a_obj_life_container.h:21
@ STATUS_WAIT_2_e
Definition d_a_obj_life_container.h:23
@ STATUS_WAIT_e
Definition d_a_obj_life_container.h:18
int create()
Definition d_a_obj_life_container.cpp:146
u16 mLv5Counter
Definition d_a_obj_life_container.h:71
dPa_followEcallBack mEffect0
Definition d_a_obj_life_container.h:80
dPa_followEcallBack mEffect1
Definition d_a_obj_life_container.h:81
void setEffect()
Definition d_a_obj_life_container.cpp:113
s16 mRotateSpeed
Definition d_a_obj_life_container.h:78
f32 field_0x94c
Definition d_a_obj_life_container.h:72
u8 field_0x958[0x95E - 0x958]
Definition d_a_obj_life_container.h:75
void setPos(cXyz)
Z2SoundObjSimple mSound
Definition d_a_obj_life_container.h:83
int mCounter
Definition d_a_obj_life_container.h:63
u8 getSaveBitNo()
Definition d_a_obj_life_container.h:55
virtual int __CreateHeap()
Definition d_a_obj_life_container.cpp:141
void setBaseMtx()
Definition d_a_obj_life_container.cpp:75
void calcScale()
Definition d_a_obj_life_container.cpp:422
u8 field_0x935
Definition d_a_obj_life_container.h:65
int actionWait()
Definition d_a_obj_life_container.cpp:239
f32 field_0x950
Definition d_a_obj_life_container.h:73
dPa_followEcallBack mEffect2
Definition d_a_obj_life_container.h:82
cXyz mPrevSpeed
Definition d_a_obj_life_container.h:70
void initBaseMtx()
Definition d_a_obj_life_container.cpp:70
u8 mStatus
Definition d_a_obj_life_container.h:64
int actionInitWait2()
Definition d_a_obj_life_container.cpp:410
f32 field_0x954
Definition d_a_obj_life_container.h:74
void endEffect00()
Definition d_a_obj_life_container.cpp:130
s16 field_0x938
Definition d_a_obj_life_container.h:68
s16 field_0x93a
Definition d_a_obj_life_container.h:69
int actionOrderGetDemo()
Definition d_a_obj_life_container.cpp:324
u8 field_0x960[0x962 - 0x960]
Definition d_a_obj_life_container.h:77
int draw()
Definition d_a_obj_life_container.cpp:494
fpc_ProcID mItemId
Definition d_a_obj_life_container.h:62
int getSwNo()
Definition d_a_obj_life_container.h:57
int actionInitBoomerangCarry()
Definition d_a_obj_life_container.cpp:380
int actionWait2()
Definition d_a_obj_life_container.cpp:416
u8 field_0x964[0x974 - 0x964]
Definition d_a_obj_life_container.h:79
void bg_check()
Definition d_a_obj_life_container.cpp:189
u8 mGndLandCount
Definition d_a_obj_life_container.h:66
int actionSwOnWait()
Definition d_a_obj_life_container.cpp:371
u8 getItemNo()
Definition d_a_obj_life_container.h:56
int initActionOrderGetDemo()
Definition d_a_obj_life_container.cpp:301
s16 field_0x95e
Definition d_a_obj_life_container.h:76
int _delete()
Definition d_a_obj_life_container.cpp:509
int actionWaitInit()
Definition d_a_obj_life_container.cpp:221
virtual void setListStart()
Definition d_a_obj_life_container.cpp:504
int execute()
Definition d_a_obj_life_container.cpp:439
bool chkStatus(u8 i_status)
Definition d_a_obj_life_container.h:52
u8 mIsPrmsInit
Definition d_a_obj_life_container.h:67
void setStatus(u8 i_status)
Definition d_a_obj_life_container.h:53
int Create()
Definition d_a_obj_life_container.cpp:84
void endEffect02()
Definition d_a_obj_life_container.cpp:136
u8 mIsHookCarry
Definition d_a_obj_life_container.h:84
int actionBoomerangCarry()
Definition d_a_obj_life_container.cpp:396
int actionGetDemo()
Definition d_a_obj_life_container.cpp:340
STATIC_ASSERT(sizeof(daObjLife_c)==0x9d4)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:170
unsigned int fpc_ProcID
Definition f_pc_base.h:10
Definition d_a_hozelda.cpp:20
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8