Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_dan.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_DAN_H
2#define D_A_OBJ_DAN_H
3
6#include "d/d_bg_s_acch.h"
7#include "d/d_cc_d.h"
9#include "d/d_insect.h"
10
19class daObjDAN_c : public dInsect_c {
20public:
21 /* 80BDA5B4 */ void InitCcSph();
22 /* 80BDA620 */ void SetCcSph();
23 /* 80BDA698 */ int CreateHeap();
24 /* 80BDAA3C */ void SpeedSet();
25 /* 80BDAA9C */ void LinkChk();
26 /* 80BDAB14 */ void MoveAction();
27 /* 80BDAC10 */ void DamageAction();
28 /* 80BDAFDC */ void Action();
29 /* 80BDB074 */ void checkGroundPos();
30 /* 80BDB0D8 */ void Insect_Release();
31 /* 80BDB0E8 */ void Z_BufferChk();
32 /* 80BDB264 */ void ParticleSet();
33 /* 80BDB388 */ void ObjHit();
34 /* 80BDB4E0 */ void BoomChk();
35 /* 80BDB62C */ int Execute();
36 /* 80BDB928 */ int Delete();
37 /* 80BDB990 */ void setBaseMtx();
38 /* inline */ inline int Draw();
39 /* 80BDBB0C */ bool CreateChk();
40 /* 80BDBCB8 */ cPhs__Step create();
41
42private:
43 /* 0x590 */ dCcD_Stts mCcStts;
44 /* 0x5CC */ dCcD_Sph mCcSph;
46 /* 0x710 */ dBgS_GndChk mGndChk;
47 /* 0x764 */ f32 mGroundH;
48 /* 0x768 */ u8 mAction;
49 /* 0x769 */ u8 mMode;
50 /* 0x76A */ s16 mTimer[3];
51 /* 0x770 */ f32 mTargetSpeed;
52 /* 0x774 */ u8 field_0x774[4];
53 /* 0x778 */ s16 mTargetAngleY;
54 /* 0x77A */ u8 field_0x77a[0x10];
55 /* 0x78A */ s16 field_0x78a;
56 /* 0x78C */ u8 field_0x78c[4];
57 /* 0x790 */ mDoExt_brkAnm* mpBrkAnm;
58 /* 0x794 */ mDoExt_btkAnm* mpBtkAnm;
59 /* 0x798 */ f32 mScreenZ;
60 /* 0x79C */ u32 mBufferZ;
61 /* 0x7A0 */ f32 field_0x7a0;
62 /* 0x7A4 */ f32 mParticleScale;
63 /* 0x7A8 */ u8 mLocation;
64 /* 0x7A9 */ bool mBoomerangHit;
65 /* 0x7AC */ int mBounceCount;
67 /* 0x840 */ u8 field_0x840[4];
70 /* 0x888 */ dBgS_ObjAcch mAcch;
72 /* 0xA68 */ bool mHIOInit;
73
74 enum Action {
75 /* 1 */ ACT_MOVE = 1,
76 /* 2 */ ACT_DAMAGE,
77 };
78};
79
80STATIC_ASSERT(sizeof(daObjDAN_c) == 0xa6c);
81
83public:
84 /* 80BDA58C */ daObj_DanHIO_c();
85 /* 80BDC2F0 */ virtual ~daObj_DanHIO_c() {}
86
87 /* 0x4 */ s8 field_0x4;
88 /* 0x8 */ f32 mScaleFemale;
89 /* 0xC */ f32 mScaleMale;
90};
91
93
94#endif /* D_A_OBJ_DAN_H */
cPhs__Step
Definition c_phase.h:8
Definition d_cc_d.h:432
Definition d_insect.h:6
Insect - Pillbug.
Definition d_a_obj_dan.h:19
void LinkChk()
Definition d_a_obj_dan.cpp:132
f32 mScreenZ
Definition d_a_obj_dan.h:59
s16 field_0x78a
Definition d_a_obj_dan.h:55
bool mBoomerangHit
Definition d_a_obj_dan.h:64
f32 mGroundH
Definition d_a_obj_dan.h:47
mDoExt_McaMorfSO * mpMorf
Definition d_a_obj_dan.h:68
void ObjHit()
Definition d_a_obj_dan.cpp:323
u8 mMode
Definition d_a_obj_dan.h:49
dBgS_GndChk mGndChk
Definition d_a_obj_dan.h:46
s16 mTargetAngleY
Definition d_a_obj_dan.h:53
int Delete()
Definition d_a_obj_dan.cpp:444
int mBounceCount
Definition d_a_obj_dan.h:65
dCcD_Sph mCcSph
Definition d_a_obj_dan.h:44
void SetCcSph()
Definition d_a_obj_dan.cpp:48
u8 mAction
Definition d_a_obj_dan.h:48
void Action()
void checkGroundPos()
Definition d_a_obj_dan.cpp:264
daPy_boomerangMove_c mBoomerangMove
Definition d_a_obj_dan.h:45
u8 field_0x77a[0x10]
Definition d_a_obj_dan.h:54
u8 field_0x774[4]
Definition d_a_obj_dan.h:52
void SpeedSet()
Definition d_a_obj_dan.cpp:125
void Z_BufferChk()
Definition d_a_obj_dan.cpp:280
mDoExt_btkAnm * mpBtkAnm
Definition d_a_obj_dan.h:58
void InitCcSph()
Definition d_a_obj_dan.cpp:27
Z2Creature mCreatureSound
Definition d_a_obj_dan.h:66
int Draw()
Definition d_a_obj_dan.cpp:465
s16 mTimer[3]
Definition d_a_obj_dan.h:50
u8 mLocation
Definition d_a_obj_dan.h:63
request_of_phase_process_class mPhase
Definition d_a_obj_dan.h:71
int Execute()
Definition d_a_obj_dan.cpp:378
u32 mBufferZ
Definition d_a_obj_dan.h:60
u8 field_0x840[4]
Definition d_a_obj_dan.h:67
mDoExt_brkAnm * mpBrkAnm
Definition d_a_obj_dan.h:57
bool CreateChk()
Definition d_a_obj_dan.cpp:496
bool mHIOInit
Definition d_a_obj_dan.h:72
void MoveAction()
Definition d_a_obj_dan.cpp:141
f32 mParticleScale
Definition d_a_obj_dan.h:62
void Insect_Release()
Definition d_a_obj_dan.cpp:271
void DamageAction()
Definition d_a_obj_dan.cpp:156
dCcD_Stts mCcStts
Definition d_a_obj_dan.h:43
cPhs__Step create()
Definition d_a_obj_dan.cpp:531
u8 field_0x78c[4]
Definition d_a_obj_dan.h:56
void BoomChk()
Definition d_a_obj_dan.cpp:352
int CreateHeap()
Definition d_a_obj_dan.cpp:60
Action
Definition d_a_obj_dan.h:74
@ ACT_MOVE
Definition d_a_obj_dan.h:75
@ ACT_DAMAGE
Definition d_a_obj_dan.h:76
f32 field_0x7a0
Definition d_a_obj_dan.h:61
void ParticleSet()
Definition d_a_obj_dan.cpp:307
f32 mTargetSpeed
Definition d_a_obj_dan.h:51
dBgS_ObjAcch mAcch
Definition d_a_obj_dan.h:70
void setBaseMtx()
Definition d_a_obj_dan.cpp:456
dBgS_AcchCir mAcchCir
Definition d_a_obj_dan.h:69
Definition d_a_obj_dan.h:82
s8 field_0x4
Definition d_a_obj_dan.h:87
f32 mScaleMale
Definition d_a_obj_dan.h:89
daObj_DanHIO_c()
Definition d_a_obj_dan.cpp:20
f32 mScaleFemale
Definition d_a_obj_dan.h:88
virtual ~daObj_DanHIO_c()
Definition d_a_obj_dan.h:85
Definition d_a_player.h:32
STATIC_ASSERT(sizeof(daObjDAN_c)==0xa6c)
Definition d_a_hozelda.cpp:163
Definition d_a_npc_fguard.cpp:98
Definition d_a_ep.cpp:120
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:70
Definition d_a_npc_fguard.cpp:23
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
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