Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_e_sm2.h
Go to the documentation of this file.
1#ifndef D_A_E_SM2_H
2#define D_A_E_SM2_H
3
6#include "d/d_bg_s_acch.h"
7#include "d/d_cc_d.h"
8#include "d/d_cc_uty.h"
9
18class e_sm2_class : public fopEn_enemy_c {
19public:
20 bool checkYellow() { return field_0x5b7 == 3; }
21
22private:
24 /* 0x5B4 */ u8 field_0x5b4;
25 /* 0x5B5 */ u8 field_0x5B5[0x5B7 - 0x5B5];
26 /* 0x5B7 */ u8 field_0x5b7;
27 /* 0x5B8 */ int field_0x5b8;
33 /* 0x5D8 */ u8 field_0x5d8;
34 /* 0x5D9 */ u8 field_0x5D9[0x5DC - 0x5D9];
36 /* 0x680 */ s16 field_0x680;
37 /* 0x682 */ s16 mAction;
38 /* 0x684 */ s16 mMode;
39 /* 0x686 */ s16 field_0x686;
40 /* 0x688 */ s16 field_0x688;
41 /* 0x68A */ u8 field_0x68A[0x68C - 0x68A];
42 /* 0x68C */ s16 field_0x68c;
43 /* 0x68E */ s16 field_0x68e;
44 /* 0x690 */ s16 mAngleToPlayer;
45 /* 0x692 */ u8 field_0x692[0x694 - 0x692];
46 /* 0x694 */ f32 mDistToPlayer;
47 /* 0x698 */ u8 field_0x698[0x6A4 - 0x698];
48 /* 0x6A4 */ s16 field_0x6a4;
49 /* 0x6A6 */ s16 field_0x6a6;
50 /* 0x6A8 */ u8 field_0x6a8;
51 /* 0x6A9 */ u8 field_0x6a9;
52 /* 0x6AA */ u8 field_0x6aa;
53 /* 0x6AB */ u8 field_0x6AB[0x6AC - 0x6AB];
54 /* 0x6AC */ f32 field_0x6ac;
55 /* 0x6B0 */ f32 field_0x6b0;
56 /* 0x6B4 */ u32 field_0x6b4;
57 /* 0x6B8 */ f32 field_0x6b8;
58 /* 0x6BC */ f32 field_0x6bc;
59 /* 0x6C0 */ f32 field_0x6c0;
60 /* 0x6C4 */ f32 field_0x6c4;
61 /* 0x6C8 */ f32 field_0x6c8;
62 /* 0x6CC */ u8 field_0x6CC[0x6E8 - 0x6CC];
63 /* 0x6E8 */ f32 field_0x6e8;
64 /* 0x6EC */ u8 field_0x6EC[0x708 - 0x6EC];
65 /* 0x708 */ cXyz field_0x708[8];
66 /* 0x768 */ csXyz field_0x768[8];
67 /* 0x798 */ cXyz field_0x798[8];
68 /* 0x7F8 */ csXyz field_0x7f8[8];
69 /* 0x828 */ s16 field_0x828;
70 /* 0x82A */ u8 field_0x82A[0x82C - 0x82A];
71 /* 0x82C */ f32 field_0x82c;
72 /* 0x830 */ f32 field_0x830;
73 /* 0x834 */ f32 mSize;
74 /* 0x838 */ f32 field_0x838;
75 /* 0x83C */ u8 field_0x83c;
76 /* 0x83D */ u8 field_0x83d;
77 /* 0x83E */ u8 field_0x83e;
78 /* 0x83F */ u8 field_0x83f;
79 /* 0x840 */ cXyz field_0x840;
80 /* 0x84C */ csXyz field_0x84c;
81 /* 0x852 */ u8 field_0x852[0x854 - 0x852];
83 /* 0x894 */ dBgS_ObjAcch mAcch;
85 /* 0xAA8 */ dCcD_Sph field_0xaa8[4];
86 /* 0xF88 */ u8 field_0xf88;
87 /* 0xF89 */ u8 field_0xF89[0xF8C - 0xF89];
88 /* 0xF8C */ dCcU_AtInfo mAtInfo;
89 /* 0xFB0 */ u8 field_0xFB0[0xFD0 - 0xFB0];
90 /* 0xFD0 */ int field_0xfd0;
91 /* 0xFD4 */ u8 field_0xfd4;
92 /* 0xFD5 */ u8 field_0xFD5[0xFD8 - 0xFD5];
93 /* 0xFD8 */ u32 field_0xfd8;
94 /* 0xFDC */ u8 field_0xfdc[0xFF0 - 0xFDC];
95};
96
97STATIC_ASSERT(sizeof(e_sm2_class) == 0xff0);
98
100 /* 80798B4C */ daE_SM2_HIO_c();
101 /* 8079CE94 */ ~daE_SM2_HIO_c();
102};
103
104
105#endif /* D_A_E_SM2_H */
Definition Z2Creature.h:154
Definition d_cc_d.h:432
Definition d_a_e_sm2.h:99
daE_SM2_HIO_c()
Definition d_a_e_sm2.cpp:708
~daE_SM2_HIO_c()
Definition d_a_e_sm2.cpp:1640
Chuchu 2.
Definition d_a_e_sm2.h:18
s16 field_0x688
Definition d_a_e_sm2.h:40
mDoExt_McaMorfSO * mpMorf
Definition d_a_e_sm2.h:28
dCcD_Sph field_0xaa8[4]
Definition d_a_e_sm2.h:85
u8 field_0x83f
Definition d_a_e_sm2.h:78
mDoExt_invisibleModel field_0x5c0
Definition d_a_e_sm2.h:29
f32 field_0x6c8
Definition d_a_e_sm2.h:61
u8 field_0x5b4
Definition d_a_e_sm2.h:24
csXyz field_0x7f8[8]
Definition d_a_e_sm2.h:68
f32 field_0x6b8
Definition d_a_e_sm2.h:57
int field_0xfd0
Definition d_a_e_sm2.h:90
cXyz field_0x798[8]
Definition d_a_e_sm2.h:67
f32 field_0x6b0
Definition d_a_e_sm2.h:55
u8 field_0x83d
Definition d_a_e_sm2.h:76
f32 field_0x6c0
Definition d_a_e_sm2.h:59
cXyz field_0x708[8]
Definition d_a_e_sm2.h:65
dCcD_Stts mColliderStatus
Definition d_a_e_sm2.h:84
u8 field_0x6EC[0x708 - 0x6EC]
Definition d_a_e_sm2.h:64
u8 field_0x68A[0x68C - 0x68A]
Definition d_a_e_sm2.h:41
u8 field_0xfdc[0xFF0 - 0xFDC]
Definition d_a_e_sm2.h:94
s16 mMode
Definition d_a_e_sm2.h:38
f32 field_0x6bc
Definition d_a_e_sm2.h:58
int field_0x5b8
Definition d_a_e_sm2.h:27
request_of_phase_process_class mPhase
Definition d_a_e_sm2.h:23
f32 field_0x6ac
Definition d_a_e_sm2.h:54
s16 field_0x6a4
Definition d_a_e_sm2.h:48
f32 field_0x82c
Definition d_a_e_sm2.h:71
u8 field_0x6a9
Definition d_a_e_sm2.h:51
u8 field_0x83e
Definition d_a_e_sm2.h:77
dBgS_AcchCir mAcchCir
Definition d_a_e_sm2.h:82
csXyz field_0x768[8]
Definition d_a_e_sm2.h:66
f32 mSize
Definition d_a_e_sm2.h:73
s16 field_0x680
Definition d_a_e_sm2.h:36
u8 field_0xF89[0xF8C - 0xF89]
Definition d_a_e_sm2.h:87
u8 field_0xFD5[0xFD8 - 0xFD5]
Definition d_a_e_sm2.h:92
dBgS_ObjAcch mAcch
Definition d_a_e_sm2.h:83
u8 field_0x83c
Definition d_a_e_sm2.h:75
mDoExt_invisibleModel field_0x5d0
Definition d_a_e_sm2.h:32
f32 field_0x6c4
Definition d_a_e_sm2.h:60
Z2CreatureEnemy mSound
Definition d_a_e_sm2.h:35
mDoExt_btkAnm * field_0x5c8
Definition d_a_e_sm2.h:30
s16 mAngleToPlayer
Definition d_a_e_sm2.h:44
u8 field_0x82A[0x82C - 0x82A]
Definition d_a_e_sm2.h:70
s16 field_0x686
Definition d_a_e_sm2.h:39
f32 mDistToPlayer
Definition d_a_e_sm2.h:46
u8 field_0x6aa
Definition d_a_e_sm2.h:52
u32 field_0xfd8
Definition d_a_e_sm2.h:93
dCcU_AtInfo mAtInfo
Definition d_a_e_sm2.h:88
bool checkYellow()
Definition d_a_e_sm2.h:20
f32 field_0x838
Definition d_a_e_sm2.h:74
u8 field_0x6AB[0x6AC - 0x6AB]
Definition d_a_e_sm2.h:53
s16 field_0x6a6
Definition d_a_e_sm2.h:49
u8 field_0x6CC[0x6E8 - 0x6CC]
Definition d_a_e_sm2.h:62
u8 field_0x852[0x854 - 0x852]
Definition d_a_e_sm2.h:81
mDoExt_McaMorfSO * field_0x5cc
Definition d_a_e_sm2.h:31
s16 field_0x828
Definition d_a_e_sm2.h:69
u32 field_0x6b4
Definition d_a_e_sm2.h:56
u8 field_0x6a8
Definition d_a_e_sm2.h:50
s16 mAction
Definition d_a_e_sm2.h:37
s16 field_0x68e
Definition d_a_e_sm2.h:43
u8 field_0x5B5[0x5B7 - 0x5B5]
Definition d_a_e_sm2.h:25
u8 field_0x698[0x6A4 - 0x698]
Definition d_a_e_sm2.h:47
cXyz field_0x840
Definition d_a_e_sm2.h:79
u8 field_0xfd4
Definition d_a_e_sm2.h:91
u8 field_0x692[0x694 - 0x692]
Definition d_a_e_sm2.h:45
f32 field_0x6e8
Definition d_a_e_sm2.h:63
u8 field_0x5D9[0x5DC - 0x5D9]
Definition d_a_e_sm2.h:34
u8 field_0xFB0[0xFD0 - 0xFB0]
Definition d_a_e_sm2.h:89
s16 field_0x68c
Definition d_a_e_sm2.h:42
csXyz field_0x84c
Definition d_a_e_sm2.h:80
u8 field_0x5d8
Definition d_a_e_sm2.h:33
f32 field_0x830
Definition d_a_e_sm2.h:72
u8 field_0x5b7
Definition d_a_e_sm2.h:26
u8 field_0xf88
Definition d_a_e_sm2.h:86
Definition f_op_actor.h:249
STATIC_ASSERT(sizeof(e_sm2_class)==0xff0)
Definition d_a_hozelda.cpp:20
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_ep.cpp:99
Definition d_a_npc_fguard.cpp:23
Definition d_a_hozelda.cpp:47
Definition d_a_obj_sekizoa.cpp:38
Definition d_a_hozelda.cpp:14
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