Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_cho.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CHO_H
2#define D_A_OBJ_CHO_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 daObjCHO_c : public dInsect_c {
20public:
21 enum Action {
22 /* 0 */ ACT_WAIT,
23 /* 1 */ ACT_MOVE,
24 };
25
26 /* 80BCA334 */ void InitCcSph();
27 /* 80BCA3A0 */ void SetCcSph();
28 /* 80BCA418 */ int CreateHeap();
29 /* 80BCA78C */ void SpeedSet();
30 /* 80BCA88C */ void WallCheck();
31 /* 80BCA924 */ void SearchLink();
32 /* 80BCAB50 */ void WaitAction();
33 /* 80BCAEDC */ void MoveAction();
34 /* 80BCB210 */ void Action();
35 /* 80BCB268 */ void ShopAction();
36 /* 80BCB2AC */ void checkGroundPos();
37 /* 80BCB310 */ void Insect_Release();
38 /* 80BCB320 */ void Z_BufferChk();
39 /* 80BCB49C */ void ParticleSet();
40 /* 80BCB5C0 */ void BoomChk();
41 /* 80BCB87C */ int Execute();
42 /* 80BCBB40 */ void ObjHit();
43 /* 80BCBCA8 */ int Delete();
44 /* 80BCBD10 */ void setBaseMtx();
45 /* 80BCBE70 */ bool CreateChk();
46 /* 80BCC01C */ cPhs__Step create();
47 inline int Draw();
48
49private:
51 /* 0x5D0 */ dBgS_ObjAcch mAcch;
52 /* 0x7A8 */ dCcD_Stts mCcStts;
53 /* 0x7E4 */ dCcD_Sph mCcSph;
55 /* 0x928 */ dBgS_GndChk mGndChk;
56 /* 0x97C */ f32 mGroundPos;
57 /* 0x980 */ u8 mAction;
58 /* 0x981 */ u8 mMode;
59 /* 0x982 */ s16 mTimers[3];
60 /* 0x988 */ f32 mTargetSpeedXZ;
61 /* 0x98C */ f32 mTargetSpeedY;
62 /* 0x990 */ s16 mTargetAngleY;
63 /* 0x994 */ f32 mParticleScale;
64 /* 0x998 */ f32 mScreenZ;
65 /* 0x99C */ u32 mBufferZ;
66 /* 0x9A0 */ u8 field_0x9a0[0xC];
67 /* 0x9AC */ bool field_0x9ac;
68 /* 0x9B0 */ f32 mPlaySpeed;
69 /* 0x9B4 */ cXyz mTargetPos;
70 /* 0x9C0 */ mDoExt_brkAnm* mpBrkAnm;
71 /* 0x9C4 */ mDoExt_btkAnm* mpBtkAnm;
72 /* 0x9C8 */ u8 mLocation;
73 /* 0x9C9 */ bool mBoomerangHit;
75 /* 0xA5C */ u8 field_0xa5c[4];
78 /* 0xA6C */ bool mHIOInit;
79};
80
81STATIC_ASSERT(sizeof(daObjCHO_c) == 0xA70);
82
84public:
85 /* 80BCA30C */ daObj_ChoHIO_c();
86 /* 80BCC4D0 */ virtual ~daObj_ChoHIO_c() {}
87
88 /* 0x4 */ s8 field_0x4;
89 /* 0x8 */ f32 mScaleFemale;
90 /* 0xC */ f32 mScaleMale;
91};
92
94
95#endif /* D_A_OBJ_CHO_H */
cPhs__Step
Definition c_phase.h:8
Definition d_cc_d.h:432
Definition d_insect.h:6
Insect - Butterfly.
Definition d_a_obj_cho.h:19
void setBaseMtx()
Definition d_a_obj_cho.cpp:482
bool mHIOInit
Definition d_a_obj_cho.h:78
bool mBoomerangHit
Definition d_a_obj_cho.h:73
int Draw()
Definition d_a_obj_cho.cpp:490
void ParticleSet()
Definition d_a_obj_cho.cpp:331
dBgS_AcchCir mAcchCir
Definition d_a_obj_cho.h:50
void Insect_Release()
Definition d_a_obj_cho.cpp:289
void SearchLink()
Definition d_a_obj_cho.cpp:143
u8 field_0xa5c[4]
Definition d_a_obj_cho.h:75
cXyz mTargetPos
Definition d_a_obj_cho.h:69
void MoveAction()
Definition d_a_obj_cho.cpp:208
f32 mTargetSpeedY
Definition d_a_obj_cho.h:61
mDoExt_brkAnm * mpBrkAnm
Definition d_a_obj_cho.h:70
dBgS_GndChk mGndChk
Definition d_a_obj_cho.h:55
void ShopAction()
Definition d_a_obj_cho.cpp:270
u8 mMode
Definition d_a_obj_cho.h:58
s16 mTargetAngleY
Definition d_a_obj_cho.h:62
u8 mLocation
Definition d_a_obj_cho.h:72
int CreateHeap()
Definition d_a_obj_cho.cpp:59
void Action()
f32 mGroundPos
Definition d_a_obj_cho.h:56
int Execute()
Definition d_a_obj_cho.cpp:389
dBgS_ObjAcch mAcch
Definition d_a_obj_cho.h:51
void ObjHit()
Definition d_a_obj_cho.cpp:444
f32 mParticleScale
Definition d_a_obj_cho.h:63
dCcD_Stts mCcStts
Definition d_a_obj_cho.h:52
f32 mScreenZ
Definition d_a_obj_cho.h:64
u8 mAction
Definition d_a_obj_cho.h:57
request_of_phase_process_class mPhaseReq
Definition d_a_obj_cho.h:77
mDoExt_McaMorfSO * mpMorf
Definition d_a_obj_cho.h:76
void Z_BufferChk()
Definition d_a_obj_cho.cpp:304
bool CreateChk()
Definition d_a_obj_cho.cpp:521
u32 mBufferZ
Definition d_a_obj_cho.h:65
void InitCcSph()
Definition d_a_obj_cho.cpp:27
u8 field_0x9a0[0xC]
Definition d_a_obj_cho.h:66
s16 mTimers[3]
Definition d_a_obj_cho.h:59
void SpeedSet()
Definition d_a_obj_cho.cpp:116
Z2Creature mCreatureSound
Definition d_a_obj_cho.h:74
dCcD_Sph mCcSph
Definition d_a_obj_cho.h:53
void checkGroundPos()
Definition d_a_obj_cho.cpp:282
void WallCheck()
Definition d_a_obj_cho.cpp:132
f32 mPlaySpeed
Definition d_a_obj_cho.h:68
cPhs__Step create()
Definition d_a_obj_cho.cpp:556
f32 mTargetSpeedXZ
Definition d_a_obj_cho.h:60
void BoomChk()
Definition d_a_obj_cho.cpp:347
int Delete()
Definition d_a_obj_cho.cpp:470
bool field_0x9ac
Definition d_a_obj_cho.h:67
Action
Definition d_a_obj_cho.h:21
@ ACT_WAIT
Definition d_a_obj_cho.h:22
@ ACT_MOVE
Definition d_a_obj_cho.h:23
mDoExt_btkAnm * mpBtkAnm
Definition d_a_obj_cho.h:71
daPy_boomerangMove_c mBoomerangMove
Definition d_a_obj_cho.h:54
void WaitAction()
Definition d_a_obj_cho.cpp:160
void SetCcSph()
Definition d_a_obj_cho.cpp:47
Definition d_a_obj_cho.h:83
virtual ~daObj_ChoHIO_c()
Definition d_a_obj_cho.h:86
daObj_ChoHIO_c()
Definition d_a_obj_cho.cpp:20
f32 mScaleFemale
Definition d_a_obj_cho.h:89
f32 mScaleMale
Definition d_a_obj_cho.h:90
s8 field_0x4
Definition d_a_obj_cho.h:88
Definition d_a_player.h:32
STATIC_ASSERT(sizeof(daObjCHO_c)==0xA70)
Definition d_a_hozelda.cpp:163
Definition d_a_hozelda.cpp:20
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