Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_kabuto.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_KABUTO_H
2#define D_A_OBJ_KABUTO_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 daObjKABUTO_c : public dInsect_c {
20public:
21 enum Action {
22 /* 0 */ ACT_WAIT,
23 /* 1 */ ACT_MOVE,
24 /* 2 */ ACT_WALK,
25 };
26
27 /* 80C2AEA4 */ void InitCcSph();
28 /* 80C2AF10 */ void SetCcSph();
29 /* 80C2AF88 */ int CreateHeap();
30 /* 80C2B36C */ void ShopWaitAction();
31 /* 80C2B4D4 */ void WaitAction();
32 /* 80C2B618 */ BOOL WallCheck();
33 /* 80C2B88C */ void SpeedSet();
34 /* 80C2B998 */ void WallWalk();
35 /* 80C2BDE8 */ void WalkAction();
36 /* 80C2BFE8 */ void MoveAction();
37 /* 80C2C7C8 */ void Z_BufferChk();
38 /* 80C2C944 */ void Action();
39 /* 80C2CA08 */ void ShopAction();
40 /* 80C2CAC4 */ void Insect_Release();
41 /* 80C2CADC */ void ParticleSet();
42 /* 80C2CC18 */ int Execute();
43 /* 80C2D21C */ void ObjHit();
44 /* 80C2D3A4 */ int Delete();
45 /* 80C2D40C */ void setBaseMtx();
46 /* 80C2D578 */ bool CreateChk();
47 /* 80C2D724 */ cPhs__Step create();
48 inline int Draw();
49
50private:
51 /* 0x590 */ dCcD_Stts mCcStts;
52 /* 0x5CC */ dCcD_Sph mCcSph;
54 /* 0x710 */ u8 mAction;
55 /* 0x711 */ u8 mMode;
56 /* 0x712 */ s16 mTimers[3];
57 /* 0x718 */ f32 mTargetSpeedXZ;
58 /* 0x71C */ f32 mTargetSpeedY;
59 /* 0x720 */ s16 mTargetAngleY;
60 /* 0x722 */ u8 field_0x722[8];
61 /* 0x72A */ csXyz mWallAngle;
62 /* 0x730 */ u8 field_0x730[2];
63 /* 0x732 */ s16 mDownAngleY;
64 /* 0x734 */ u8 field_0x734;
65 /* 0x735 */ bool field_0x735;
66 /* 0x736 */ u8 mLocation;
67 /* 0x737 */ bool mBoomerangHit;
69 /* 0x778 */ f32 mScreenZ;
70 /* 0x77C */ u32 mBufferZ;
71 /* 0x780 */ f32 mParticleScale;
73 /* 0x788 */ u8 field_0x788[4];
74 /* 0x78C */ mDoExt_brkAnm* mpBrkAnm;
75 /* 0x790 */ mDoExt_btkAnm* mpBtkAnm;
76 /* 0x794 */ u8 field_0x794[4];
77 /* 0x798 */ dBgS_ObjAcch mAcch;
79 /* 0xA00 */ u8 field_0xa00[4];
82 /* 0xA10 */ bool mHIOInit;
83 };
84
85STATIC_ASSERT(sizeof(daObjKABUTO_c) == 0xA14);
86
88public:
89 /* 80C2AE6C */ daObj_KabHIO_c();
90 /* 80C2E068 */ virtual ~daObj_KabHIO_c() {}
91
92 /* 0x04 */ s8 field_0x4;
93 /* 0x08 */ f32 field_0x8;
94 /* 0x0C */ f32 field_0xc;
95 /* 0x10 */ f32 field_0x10;
96};
97
99
100#endif /* D_A_OBJ_KABUTO_H */
cPhs__Step
Definition c_phase.h:8
Definition d_cc_d.h:432
Definition d_insect.h:6
Insect - Beetle.
Definition d_a_obj_kabuto.h:19
void MoveAction()
Definition d_a_obj_kabuto.cpp:311
cPhs__Step create()
Definition d_a_obj_kabuto.cpp:753
BOOL WallCheck()
Definition d_a_obj_kabuto.cpp:185
u8 mAction
Definition d_a_obj_kabuto.h:54
void WaitAction()
Definition d_a_obj_kabuto.cpp:159
Action
Definition d_a_obj_kabuto.h:21
@ ACT_MOVE
Definition d_a_obj_kabuto.h:23
@ ACT_WAIT
Definition d_a_obj_kabuto.h:22
@ ACT_WALK
Definition d_a_obj_kabuto.h:24
u8 mLocation
Definition d_a_obj_kabuto.h:66
int CreateHeap()
Definition d_a_obj_kabuto.cpp:61
u8 field_0x734
Definition d_a_obj_kabuto.h:64
u8 field_0x794[4]
Definition d_a_obj_kabuto.h:76
mDoExt_brkAnm * mpBrkAnm
Definition d_a_obj_kabuto.h:74
f32 mScreenZ
Definition d_a_obj_kabuto.h:69
u8 mMode
Definition d_a_obj_kabuto.h:55
Z2Creature mCreatureSound
Definition d_a_obj_kabuto.h:78
void SpeedSet()
Definition d_a_obj_kabuto.cpp:205
f32 mParticleScale
Definition d_a_obj_kabuto.h:71
u32 mBufferZ
Definition d_a_obj_kabuto.h:70
daPy_boomerangMove_c mBoomerangMove
Definition d_a_obj_kabuto.h:53
void SetCcSph()
Definition d_a_obj_kabuto.cpp:49
s16 mTimers[3]
Definition d_a_obj_kabuto.h:56
dBgS_AcchCir mAcchCir
Definition d_a_obj_kabuto.h:68
u8 field_0x730[2]
Definition d_a_obj_kabuto.h:62
void ObjHit()
Definition d_a_obj_kabuto.cpp:638
int Execute()
Definition d_a_obj_kabuto.cpp:544
mDoExt_McaMorfSO * mpMorf
Definition d_a_obj_kabuto.h:80
void ShopWaitAction()
Definition d_a_obj_kabuto.cpp:127
bool mHIOInit
Definition d_a_obj_kabuto.h:82
int Draw()
Definition d_a_obj_kabuto.cpp:686
u8 field_0xa00[4]
Definition d_a_obj_kabuto.h:79
mDoExt_btkAnm * mpBtkAnm
Definition d_a_obj_kabuto.h:75
void Z_BufferChk()
Definition d_a_obj_kabuto.cpp:445
void WalkAction()
Definition d_a_obj_kabuto.cpp:264
u8 field_0x788[4]
Definition d_a_obj_kabuto.h:73
f32 mTargetSpeedXZ
Definition d_a_obj_kabuto.h:57
f32 mParticleTargetScale
Definition d_a_obj_kabuto.h:72
dCcD_Stts mCcStts
Definition d_a_obj_kabuto.h:51
s16 mDownAngleY
Definition d_a_obj_kabuto.h:63
void ParticleSet()
Definition d_a_obj_kabuto.cpp:524
void ShopAction()
Definition d_a_obj_kabuto.cpp:490
csXyz mWallAngle
Definition d_a_obj_kabuto.h:61
bool field_0x735
Definition d_a_obj_kabuto.h:65
void setBaseMtx()
Definition d_a_obj_kabuto.cpp:677
bool mBoomerangHit
Definition d_a_obj_kabuto.h:67
s16 mTargetAngleY
Definition d_a_obj_kabuto.h:59
dCcD_Sph mCcSph
Definition d_a_obj_kabuto.h:52
void WallWalk()
Definition d_a_obj_kabuto.cpp:222
int Delete()
Definition d_a_obj_kabuto.cpp:665
void Insect_Release()
Definition d_a_obj_kabuto.cpp:508
void InitCcSph()
Definition d_a_obj_kabuto.cpp:28
f32 mTargetSpeedY
Definition d_a_obj_kabuto.h:58
bool CreateChk()
Definition d_a_obj_kabuto.cpp:718
dBgS_ObjAcch mAcch
Definition d_a_obj_kabuto.h:77
u8 field_0x722[8]
Definition d_a_obj_kabuto.h:60
request_of_phase_process_class mPhaseReq
Definition d_a_obj_kabuto.h:81
Definition d_a_obj_kabuto.h:87
virtual ~daObj_KabHIO_c()
Definition d_a_obj_kabuto.h:90
daObj_KabHIO_c()
Definition d_a_obj_kabuto.cpp:20
f32 field_0x10
Definition d_a_obj_kabuto.h:95
f32 field_0xc
Definition d_a_obj_kabuto.h:94
s8 field_0x4
Definition d_a_obj_kabuto.h:92
f32 field_0x8
Definition d_a_obj_kabuto.h:93
Definition d_a_player.h:32
STATIC_ASSERT(sizeof(daObjKABUTO_c)==0xA14)
Definition d_a_hozelda.cpp:163
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_npc_fguard.cpp:23
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
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