Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_itembase.h
Go to the documentation of this file.
1#ifndef D_A_D_A_ITEMBASE_H
2#define D_A_D_A_ITEMBASE_H
3
4#include "d/d_bg_s_acch.h"
5#include "d/d_cc_d.h"
7
9 /* 0x00 */ f32 mGravity;
10 /* 0x04 */ f32 mGroundReflect;
11 /* 0x08 */ f32 mLaunchSpeed;
12 /* 0x0C */ f32 mScalingTime;
13 /* 0x10 */ f32 mSpeedH;
14 /* 0x14 */ s16 mFlashCycleTime;
15 /* 0x16 */ s16 mWaitTime;
16 /* 0x18 */ s16 mDisappearTime;
17 /* 0x1A */ s16 mRotateXSpeed;
18 /* 0x1C */ s16 mRotateYSpeed;
19 /* 0x20 */ f32 mHeartFallSpeed;
20 /* 0x24 */ f32 mHeartAmplitude;
22 /* 0x2A */ s16 mHeartTilt;
24 /* 0x30 */ f32 mGetDemoGravity;
26 /* 0x36 */ s16 mNoGetTime;
27};
28
29class daItemBase_c : public fopAc_ac_c {
30public:
31 u8 getItemNo();
32 void hide();
33 void show();
34 void changeDraw();
35 u8 chkDraw();
36 void dead();
37 u8 chkDead();
38 int CreateItemHeap(char const*, s16, s16, s16, s16, s16, s16, s16);
39 int DeleteBase(char const*);
40 void setListEnd();
41 void animPlay(f32, f32, f32, f32, f32, f32);
42 const daItemBase_data& getData();
43
44 virtual int DrawBase();
45 virtual void setListStart();
46 virtual void settingBeforeDraw();
47 virtual void setTevStr();
48 virtual void setShadow();
49 virtual void animEntry();
50 virtual void RotateYBase();
51 virtual int clothCreate();
52 virtual int __CreateHeap();
53 virtual BOOL chkFlag(int);
54 virtual s8 getTevFrm();
55 virtual s8 getBtpFrm();
56 virtual u8 getShadowSize();
57 virtual u8 getCollisionH();
58 virtual u8 getCollisionR();
59
60 static daItemBase_data const m_data;
61
63 /* 0x574 */ J3DModel* mpModel;
64 /* 0x578 */ mDoExt_btkAnm* mpBtkAnm;
65 /* 0x57C */ mDoExt_bpkAnm* mpBpkAnm;
66 /* 0x580 */ mDoExt_brkAnm* mpBrkAnm;
67 /* 0x584 */ mDoExt_bckAnm* mpBckAnm;
68 /* 0x588 */ mDoExt_btpAnm* mpBtpAnm;
69 /* 0x58C */ dBgS_ObjAcch mAcch;
71 /* 0x7A4 */ dCcD_Stts mCcStts;
72 /* 0x7E0 */ dCcD_Cyl mCcCyl;
73 /* 0x91C */ u32 mShadowKey;
74 /* 0x920 */ u32 mItemBitNo;
75 /* 0x924 */ int m_timer;
76 /* 0x928 */ s16 m_get_timer;
77 /* 0x92A */ u8 m_itemNo;
78 /* 0x92B */ u8 field_0x92b;
79};
80
81#endif /* D_A_D_A_ITEMBASE_H */
Definition d_a_itembase.h:29
virtual void RotateYBase()
Definition d_a_itembase.cpp:141
int CreateItemHeap(char const *, s16, s16, s16, s16, s16, s16, s16)
Definition d_a_itembase.cpp:28
void dead()
Definition d_a_itembase_static.cpp:35
virtual s8 getBtpFrm()
Definition d_a_itembase.cpp:263
virtual int clothCreate()
Definition d_a_itembase.cpp:18
virtual void setTevStr()
Definition d_a_itembase.cpp:164
void setListEnd()
Definition d_a_itembase.cpp:151
request_of_phase_process_class mPhase
Definition d_a_itembase.h:62
const daItemBase_data & getData()
Definition d_a_obj_item.cpp:53
u8 m_itemNo
Definition d_a_itembase.h:77
mDoExt_btkAnm * mpBtkAnm
Definition d_a_itembase.h:64
static daItemBase_data const m_data
Definition d_a_itembase.h:68
mDoExt_brkAnm * mpBrkAnm
Definition d_a_itembase.h:66
virtual void setListStart()
Definition d_a_itembase.cpp:146
mDoExt_btpAnm * mpBtpAnm
Definition d_a_itembase.h:68
void changeDraw()
Definition d_a_itembase_static.cpp:23
void hide()
Definition d_a_itembase_static.cpp:15
void animPlay(f32, f32, f32, f32, f32, f32)
Definition d_a_itembase.cpp:224
virtual u8 getShadowSize()
Definition d_a_itembase.cpp:268
dCcD_Stts mCcStts
Definition d_a_itembase.h:71
dBgS_AcchCir mAcchCir
Definition d_a_itembase.h:70
virtual BOOL chkFlag(int)
Definition d_a_itembase.cpp:253
dCcD_Cyl mCcCyl
Definition d_a_itembase.h:72
mDoExt_bckAnm * mpBckAnm
Definition d_a_itembase.h:67
virtual int DrawBase()
Definition d_a_itembase.cpp:129
J3DModel * mpModel
Definition d_a_itembase.h:63
s16 m_get_timer
Definition d_a_itembase.h:76
mDoExt_bpkAnm * mpBpkAnm
Definition d_a_itembase.h:65
int m_timer
Definition d_a_itembase.h:75
u32 mItemBitNo
Definition d_a_itembase.h:74
u32 mShadowKey
Definition d_a_itembase.h:73
int DeleteBase(char const *)
Definition d_a_itembase.cpp:12
virtual void animEntry()
Definition d_a_itembase.cpp:191
u8 chkDead()
Definition d_a_itembase_static.cpp:39
u8 chkDraw()
Definition d_a_itembase_static.cpp:31
virtual u8 getCollisionH()
Definition d_a_itembase.cpp:273
dBgS_ObjAcch mAcch
Definition d_a_itembase.h:69
u8 field_0x92b
Definition d_a_itembase.h:78
virtual s8 getTevFrm()
Definition d_a_itembase.cpp:258
virtual void setShadow()
Definition d_a_itembase.cpp:170
virtual void settingBeforeDraw()
Definition d_a_itembase.cpp:157
virtual int __CreateHeap()
Definition d_a_itembase.cpp:23
u8 getItemNo()
Definition d_a_itembase_static.cpp:11
virtual u8 getCollisionR()
Definition d_a_itembase.cpp:278
void show()
Definition d_a_itembase_static.cpp:19
Definition m_Do_ext.h:113
Definition d_a_ep.cpp:155
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_itembase.h:8
s16 mWaitTime
Definition d_a_itembase.h:15
f32 mGetDemoLaunchSpeed
Definition d_a_itembase.h:23
s16 mHeartFallCycleTime
Definition d_a_itembase.h:21
s16 mNoGetTime
Definition d_a_itembase.h:26
f32 mGravity
Definition d_a_itembase.h:9
s16 mDisappearTime
Definition d_a_itembase.h:16
f32 mScalingTime
Definition d_a_itembase.h:12
s16 mSimpleExistTime
Definition d_a_itembase.h:25
s16 mRotateXSpeed
Definition d_a_itembase.h:17
f32 mHeartAmplitude
Definition d_a_itembase.h:20
s16 mFlashCycleTime
Definition d_a_itembase.h:14
s16 mRotateYSpeed
Definition d_a_itembase.h:18
f32 mGroundReflect
Definition d_a_itembase.h:10
f32 mGetDemoGravity
Definition d_a_itembase.h:24
f32 mLaunchSpeed
Definition d_a_itembase.h:11
f32 mHeartFallSpeed
Definition d_a_itembase.h:19
f32 mSpeedH
Definition d_a_itembase.h:13
s16 mHeartTilt
Definition d_a_itembase.h:22
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:56
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:40
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8