Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_e_zh.h
Go to the documentation of this file.
1#ifndef D_A_E_ZH_H
2#define D_A_E_ZH_H
3
4#include "d/d_bg_s_acch.h"
5#include "d/d_cc_d.h"
6#include "d/d_cc_uty.h"
8
18class daObjCarry_c;
19
20class daE_ZH_c : public fopEn_enemy_c {
21public:
22 int draw();
23 void setBck(int, u8, f32, f32);
24 void setActionMode(int, int);
25 bool startDemoCheck();
26 void mBallBGCheck();
27 void mGateOpen();
28 bool mColorSet(bool, f32, f32);
29 bool mReturnLineMove();
30 bool mBallBgLineCheck();
31 bool mSearchMove(u8);
32 void mStartParticleSet();
33 bool mCutTypeCheck();
34 void damage_check();
35 void executeStartDemo();
36 void executeWait();
37 void executeBallWait();
38 void executeOpenStart();
39 void executeSearchMove();
40 void executeBgHitSHMove();
41 void executeCatchMove();
43 void executeReturnDemo();
44 void executeFlyDelete();
45 void executeDamage();
46 void executeDeadStop();
47 void executeEntryCheck();
48 void tagAction();
49 void action();
50 void mtx_set();
51 void cc_set();
52 int execute();
53 int _delete();
54 int CreateHeap();
56 daE_ZH_c();
57
61 /* 0x5BC */ mDoExt_btkAnm* mpBtkAnm;
63 /* 0x664 */ daObjCarry_c* mS_Ball;
64 /* 0x668 */ cXyz field_0x668;
65 /* 0x674 */ u8 field_0x674[0x680 - 0x674];
66 /* 0x680 */ cXyz field_0x680;
67 /* 0x68C */ cXyz field_0x68c;
69 /* 0x6A4 */ cXyz mRetrunEndLine;
70 /* 0x6B0 */ cXyz mBallHosei;
71 /* 0x6BC */ cXyz field_0x6bc;
72 /* 0x6C8 */ cXyz field_0x6c8[3];
73 /* 0x6EC */ int field_0x6ec[3];
74 /* 0x6F8 */ cXyz field_0x6f8[8];
75 /* 0x758 */ u8 field_0x758[8];
76 /* 0x760 */ f32 field_0x760;
77 /* 0x764 */ f32 field_0x764[3];
78 /* 0x770 */ f32 pmRoofPos;
79 /* 0x774 */ f32 field_0x774;
80 /* 0x778 */ f32 field_0x778;
81 /* 0x77C */ f32 field_0x77c;
82 /* 0x780 */ int mActionMode;
83 /* 0x784 */ int mMoveMode;
84 /* 0x788 */ u32 mShadowKey;
85 /* 0x78C */ int field_0x78c;
86 /* 0x790 */ int mAnm;
87 /* 0x794 */ int field_0x794[3];
88 /* 0x7A0 */ int field_0x7a0;
89 /* 0x7A4 */ int field_0x7a4;
90 /* 0x7A8 */ u8 field_0x7a8;
91 /* 0x7A9 */ u8 bitSw;
92 /* 0x7AA */ u8 bitSwEnd;
93 /* 0x7AB */ u8 arg0;
94 /* 0x7AC */ u8 field_0x7ac;
95 /* 0x7AD */ u8 field_0x7ad;
96 /* 0x7AE */ u8 field_0x7ae;
97 /* 0x7AF */ u8 field_0x7af;
98 /* 0x7B0 */ s16 mRollAngle;
99 /* 0x7B2 */ s16 field_0x7b2;
101 /* 0x7F4 */ dBgS_ObjAcch mBgc;
102 /* 0x9CC */ dCcD_Stts mStts;
106 /* 0xDB8 */ dCcU_AtInfo mAtInfo;
107 /* 0xDDC */ u32 field_0xddc[3];
108 /* 0xDE8 */ u32 field_0xde8;
109 /* 0xDEC */ cXyz mDemoCamEye;
110 /* 0xDF8 */ cXyz mDemoCamCenter;
111 /* 0xE04 */ u8 field_0xe04;
112};
113
114STATIC_ASSERT(sizeof(daE_ZH_c) == 0xe08);
115
117public:
118 daE_ZH_HIO_c();
119 virtual ~daE_ZH_HIO_c() {}
120
122
123 // ボールマスター (Ball Master)
124 /* 0x04 */ s8 field_0x4;
125 /* 0x08 */ f32 model_size; // モデルサイズ (Model Size)
126 /* 0x0C */ f32 ascent_rate; // 上昇速度(落下後)(Rate of ascent (after falling))
127 /* 0x10 */ f32 wandering_area; // うろうろ範囲 (Wandering Area)
128 /* 0x14 */ s16 wait_time; // 玉取られ後移動開始待ち時間 (Waiting time after the stone is taken and movement begins)
129 /* 0x16 */ s16 piyori_time; // ピヨリ時間 (Piyori Time)
130 /* 0x18 */ u8 dungeon_bit_check; // ダンジョンビットチェックON/OFF (Dungeon Bit Check ON/OFF)
131};
132
133#endif /* D_A_E_ZH_H */
cPhs__Step
Definition c_phase.h:8
Definition J3DModel.h:43
Definition JORMContext.h:120
Definition JORReflexible.h:43
Definition Z2Creature.h:37
Definition d_bg_s_acch.h:15
Definition d_bg_s_acch.h:247
Definition d_cc_d.h:461
Definition d_cc_d.h:473
Definition d_cc_d.h:269
Definition d_a_e_zh.h:116
f32 ascent_rate
Definition d_a_e_zh.h:126
s8 field_0x4
Definition d_a_e_zh.h:124
s16 wait_time
Definition d_a_e_zh.h:128
u8 dungeon_bit_check
Definition d_a_e_zh.h:130
virtual ~daE_ZH_HIO_c()
Definition d_a_e_zh.h:119
daE_ZH_HIO_c()
Definition d_a_e_zh.cpp:114
f32 wandering_area
Definition d_a_e_zh.h:127
f32 model_size
Definition d_a_e_zh.h:125
s16 piyori_time
Definition d_a_e_zh.h:129
void genMessage(JORMContext *ctx)
Ball Master.
Definition d_a_e_zh.h:20
void executeEntryCheck()
Definition d_a_e_zh.cpp:1841
int field_0x7a4
Definition d_a_e_zh.h:89
cXyz field_0x6f8[8]
Definition d_a_e_zh.h:74
void executeDamage()
Definition d_a_e_zh.cpp:1675
dCcD_Cyl field_0xc7c
Definition d_a_e_zh.h:105
cXyz field_0x6c8[3]
Definition d_a_e_zh.h:72
void mStartParticleSet()
Definition d_a_e_zh.cpp:634
bool mReturnLineMove()
Definition d_a_e_zh.cpp:432
cXyz mDemoCamEye
Definition d_a_e_zh.h:109
bool mSearchMove(u8)
Definition d_a_e_zh.cpp:538
cXyz field_0x6bc
Definition d_a_e_zh.h:71
cPhs__Step create()
Definition d_a_e_zh.cpp:2165
bool mCutTypeCheck()
Definition d_a_e_zh.cpp:654
u8 arg0
Definition d_a_e_zh.h:93
int mActionMode
Definition d_a_e_zh.h:82
u8 bitSw
Definition d_a_e_zh.h:91
int field_0x78c
Definition d_a_e_zh.h:85
bool mColorSet(bool, f32, f32)
Definition d_a_e_zh.cpp:410
int field_0x7a0
Definition d_a_e_zh.h:88
dCcD_Stts mStts
Definition d_a_e_zh.h:102
void executeCatchMove()
Definition d_a_e_zh.cpp:1244
daE_ZH_c()
Definition d_a_e_zh.cpp:2318
u32 field_0xde8
Definition d_a_e_zh.h:108
cXyz mBallHosei
Definition d_a_e_zh.h:70
f32 field_0x774
Definition d_a_e_zh.h:79
mDoExt_McaMorfSO * mpModelMorf
Definition d_a_e_zh.h:59
void executeReturnDemo()
Definition d_a_e_zh.cpp:1561
f32 field_0x778
Definition d_a_e_zh.h:80
dCcD_Cyl field_0xb40
Definition d_a_e_zh.h:104
int _delete()
Definition d_a_e_zh.cpp:2097
int mMoveMode
Definition d_a_e_zh.h:83
void executeOpenStart()
Definition d_a_e_zh.cpp:961
cXyz field_0x668
Definition d_a_e_zh.h:64
dCcD_Sph field_0xa08
Definition d_a_e_zh.h:103
void action()
Definition d_a_e_zh.cpp:1866
void setBck(int, u8, f32, f32)
Definition d_a_e_zh.cpp:286
cXyz mDemoCamCenter
Definition d_a_e_zh.h:110
int execute()
Definition d_a_e_zh.cpp:2059
mDoExt_btkAnm * mpBtkAnm
Definition d_a_e_zh.h:61
void mBallBGCheck()
Definition d_a_e_zh.cpp:332
bool startDemoCheck()
Definition d_a_e_zh.cpp:314
f32 field_0x77c
Definition d_a_e_zh.h:81
u32 field_0xddc[3]
Definition d_a_e_zh.h:107
void cc_set()
Definition d_a_e_zh.cpp:1984
void tagAction()
Definition d_a_e_zh.cpp:1862
dCcU_AtInfo mAtInfo
Definition d_a_e_zh.h:106
cXyz mRetrunEndLine
Definition d_a_e_zh.h:69
void executeFlyDelete()
Definition d_a_e_zh.cpp:1634
void executeBallWait()
Definition d_a_e_zh.cpp:829
Z2CreatureEnemy mSound
Definition d_a_e_zh.h:62
u32 mShadowKey
Definition d_a_e_zh.h:84
void executeDeadStop()
Definition d_a_e_zh.cpp:1827
u8 field_0x758[8]
Definition d_a_e_zh.h:75
void executeBgHitSHMove()
Definition d_a_e_zh.cpp:1168
f32 field_0x764[3]
Definition d_a_e_zh.h:77
cXyz field_0x680
Definition d_a_e_zh.h:66
dBgS_ObjAcch mBgc
Definition d_a_e_zh.h:101
void mGateOpen()
Definition d_a_e_zh.cpp:385
int mAnm
Definition d_a_e_zh.h:86
cXyz field_0x68c
Definition d_a_e_zh.h:67
u8 field_0x7a8
Definition d_a_e_zh.h:90
int draw()
Definition d_a_e_zh.cpp:131
bool mBallBgLineCheck()
Definition d_a_e_zh.cpp:495
u8 field_0x7ae
Definition d_a_e_zh.h:96
request_of_phase_process_class mPhase
Definition d_a_e_zh.h:58
u8 field_0x7ac
Definition d_a_e_zh.h:94
u8 field_0xe04
Definition d_a_e_zh.h:111
int field_0x6ec[3]
Definition d_a_e_zh.h:73
s16 field_0x7b2
Definition d_a_e_zh.h:99
s16 mRollAngle
Definition d_a_e_zh.h:98
void executeStartDemo()
Definition d_a_e_zh.cpp:743
void damage_check()
Definition d_a_e_zh.cpp:670
u8 field_0x674[0x680 - 0x674]
Definition d_a_e_zh.h:65
void executeWait()
Definition d_a_e_zh.cpp:807
f32 field_0x760
Definition d_a_e_zh.h:76
daObjCarry_c * mS_Ball
Definition d_a_e_zh.h:63
J3DModel * mEntranceModel
Definition d_a_e_zh.h:60
u8 field_0x7af
Definition d_a_e_zh.h:97
int CreateHeap()
Definition d_a_e_zh.cpp:2126
cXyz mRetrunStartLine
Definition d_a_e_zh.h:68
void mtx_set()
Definition d_a_e_zh.cpp:1963
void executeCatchFlyMove()
Definition d_a_e_zh.cpp:1379
dBgS_AcchCir mAcchCir
Definition d_a_e_zh.h:100
u8 field_0x7ad
Definition d_a_e_zh.h:95
f32 pmRoofPos
Definition d_a_e_zh.h:78
u8 bitSwEnd
Definition d_a_e_zh.h:92
int field_0x794[3]
Definition d_a_e_zh.h:87
void executeSearchMove()
Definition d_a_e_zh.cpp:1113
void setActionMode(int, int)
Definition d_a_e_zh.cpp:292
Carryable Object.
Definition d_a_obj_carry.h:64
Definition f_op_actor.h:285
Definition m_Do_ext.h:331
Definition m_Do_ext.h:65
STATIC_ASSERT(sizeof(daE_ZH_c)==0xe08)
signed char s8
Definition types.h:7
unsigned long u32
Definition types.h:12
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned char u8
Definition types.h:8
Definition c_xyz.h:7
Definition d_cc_uty.h:20
Definition c_phase.h:17