|
1 | 1 | #ifndef D_A_E_SB_H |
2 | 2 | #define D_A_E_SB_H |
| 3 | +#include "d/d_bg_s_acch.h" |
| 4 | +#include "d/d_cc_d.h" |
| 5 | +#include "d/d_cc_uty.h" |
3 | 6 | #include "f_op/f_op_actor_mng.h" |
4 | 7 |
|
5 | 8 | /** |
|
11 | 14 | * |
12 | 15 | */ |
13 | 16 | class daE_SB_c : public fopEn_enemy_c { |
14 | | - /* 807816D8 */ void CreateHeap(); |
| 17 | +public: |
| 18 | + /* 807816D8 */ int CreateHeap(); |
15 | 19 | /* 807817F0 */ void initCcCylinder(); |
16 | 20 | /* 80781850 */ void setCcCylinder(); |
17 | | - /* 80781898 */ void ctrlJoint(J3DJoint*, J3DModel*); |
| 21 | + /* 80781898 */ int ctrlJoint(J3DJoint*, J3DModel*); |
18 | 22 | /* 807819DC */ void Particle_Set(u16); |
19 | 23 | /* 80781A4C */ void SetAnm(int, int, f32, f32); |
20 | 24 | /* 80781AF8 */ void MemberClear(); |
@@ -48,20 +52,84 @@ class daE_SB_c : public fopEn_enemy_c { |
48 | 52 | /* 80783FBC */ void HashiraVib(); |
49 | 53 | /* 80784144 */ void Yazirushi(); |
50 | 54 | /* 807841CC */ void setGroundAngle(); |
51 | | - /* 80784390 */ void Execute(); |
52 | | - /* 807844BC */ void Draw(); |
53 | | - /* 807845D8 */ void Delete(); |
| 55 | + /* 80784390 */ int Execute(); |
| 56 | + /* 807844BC */ int Draw(); |
| 57 | + /* 807845D8 */ int Delete(); |
54 | 58 | /* 80784640 */ void setBaseMtx(); |
55 | | - /* 80784720 */ void Create(); |
| 59 | + /* 80784720 */ cPhs__Step Create(); |
56 | 60 | private: |
57 | | - /* 0x5ac */ u8 field_0x5ac[0xbc0 - 0x5ac]; |
| 61 | + /* 0x5AC */ int field_0x5ac; |
| 62 | + /* 0x5B0 */ int field_0x5b0; |
| 63 | + /* 0x5B4 */ int field_0x5b4; |
| 64 | + /* 0x5B8 */ int field_0x5b8; |
| 65 | + /* 0x5BC */ int field_0x5bc; |
| 66 | + /* 0x5C0 */ int field_0x5c0; |
| 67 | + /* 0x5C4 */ int field_0x5c4; |
| 68 | + /* 0x5C8 */ int field_0x5c8; |
| 69 | + /* 0x5CC */ u32 field_0x5cc; |
| 70 | + /* 0x5D0 */ u8 field_0x5d0; |
| 71 | + /* 0x5D2 */ s16 field_0x5d2; |
| 72 | + /* 0x5D1 */ f32 field_0x5d4; |
| 73 | + /* 0x5D8 */ csXyz field_0x5d8; |
| 74 | + /* 0x5DE */ csXyz field_0x5de; |
| 75 | + /* 0x5E4 */ u8 field_0x5e4; |
| 76 | + /* 0x5E6 */ s16 field_0x5e6; |
| 77 | + /* 0x5E8 */ u8 field_0x5e8; |
| 78 | +public: |
| 79 | + /* 0x5EC */ cXyz* field_0x5ec; |
| 80 | + /* 0x5F0 */ f32 field_0x5f0; |
| 81 | +private: |
| 82 | + /* 0x5F4 */ cXyz field_0x5f4; |
| 83 | + /* 0x600 */ s16 field_0x600; |
| 84 | + /* 0x602 */ u8 field_0x602; |
| 85 | + /* 0x603 */ u8 field_0x603; |
| 86 | + /* 0x604 */ u8 field_0x604; |
| 87 | + /* 0x608 */ int field_0x608; |
| 88 | + /* 0x60C */ int field_0x60c; |
| 89 | + /* 0x610 */ s16 field_0x610; |
| 90 | + /* 0x612 */ s16 field_0x612; |
| 91 | + /* 0x614 */ csXyz field_0x614; |
| 92 | + /* 0x61A */ u8 field_0x61a; |
| 93 | + /* 0x61C */ mDoExt_McaMorfSO* mpMorf; |
| 94 | + /* 0x620 */ request_of_phase_process_class mPhaseReq; |
| 95 | + /* 0x628 */ int mShadowKey; |
| 96 | + /* 0x62C */ Z2CreatureEnemy mSound; |
| 97 | + /* 0x6D0 */ dBgS_AcchCir mAcchCir; |
| 98 | + /* 0x710 */ dBgS_ObjAcch mAcch; |
| 99 | + /* 0x8E8 */ dCcD_Stts mStts; |
| 100 | + /* 0x924 */ dCcD_Sph mSph; |
| 101 | + /* 0xA5C */ dCcD_Cyl mCyl; |
| 102 | + /* 0xB98 */ dCcU_AtInfo mAtInfo; |
| 103 | + /* 0xBBC */ u8 field_0xbbc; |
58 | 104 | }; |
59 | 105 |
|
60 | | -STATIC_ASSERT(sizeof(daE_SB_c) == 0xbc0); |
| 106 | +STATIC_ASSERT(sizeof(daE_SB_c) == 0xBC0); |
61 | 107 |
|
62 | | -class daE_SB_HIO_c { |
| 108 | +class daE_SB_HIO_c : public JORReflexible { |
| 109 | +public: |
63 | 110 | /* 8078164C */ daE_SB_HIO_c(); |
64 | | - /* 80784CC0 */ ~daE_SB_HIO_c(); |
| 111 | + /* 80784CC0 */ virtual ~daE_SB_HIO_c() {} |
| 112 | + |
| 113 | +#if DEBUG |
| 114 | + void genMessage(JORMContext*); |
| 115 | +#endif |
| 116 | + |
| 117 | + /* 0x04 */ s8 field_0x04; |
| 118 | + /* 0x08 */ f32 search_area; |
| 119 | + /* 0x0C */ f32 distance_home; |
| 120 | + /* 0x10 */ f32 jump_xz_axis_speed; |
| 121 | + /* 0x14 */ f32 jump_y_axis_speed; |
| 122 | + /* 0x18 */ f32 atk_jump_xz_axis_speed; |
| 123 | + /* 0x1C */ f32 atk_y_axis_speed; |
| 124 | + /* 0x20 */ f32 magne_on_atk_y_axis_speed; |
| 125 | + /* 0x24 */ f32 grav_reduct_rate; |
| 126 | + /* 0x28 */ f32 other_anm_speed; |
| 127 | + /* 0x2C */ f32 shield_atk_anm_speed; |
| 128 | + /* 0x30 */ f32 death_anm_speed; |
| 129 | + /* 0x34 */ f32 size; |
| 130 | + /* 0x38 */ f32 atk_start_range; |
| 131 | + /* 0x3C */ s16 field_0x3c; |
| 132 | + /* 0x3E */ s16 field_0x3e; |
65 | 133 | }; |
66 | 134 |
|
67 | 135 |
|
|
0 commit comments