|
11 | 11 | * @details |
12 | 12 | * |
13 | 13 | */ |
14 | | -class e_bug_class : public fopEn_enemy_c { |
15 | | -private: |
16 | | - /* 0x5ac */ u8 field_0x5ac[0x7db0 - 0x5ac]; |
| 14 | + |
| 15 | +struct bug_s { |
| 16 | + /* 0x00 */ J3DModel* field_0x0; |
| 17 | + /* 0x04 */ J3DModel* field_0x4; |
| 18 | + /* 0x08 */ int field_0x8; |
| 19 | + /* 0x0C */ cXyz field_0xc; |
| 20 | + /* 0x18 */ cXyz field_0x18; |
| 21 | + /* 0x24 */ f32 field_0x24; |
| 22 | + /* 0x28 */ f32 field_0x28; |
| 23 | + /* 0x2C */ f32 field_0x2c; |
| 24 | + /* 0x30 */ cXyz field_0x30; |
| 25 | + /* 0x3C */ csXyz field_0x3c; |
| 26 | + /* 0x42 */ s16 field_0x42; |
| 27 | + /* 0x44 */ s16 field_0x44; |
| 28 | + /* 0x46 */ s16 field_0x46; |
| 29 | + /* 0x48 */ s16 field_0x48; |
| 30 | + /* 0x4A */ s16 field_0x4a; |
| 31 | + /* 0x4C */ s16 field_0x4c; |
| 32 | + /* 0x4E */ s16 field_0x4e; |
| 33 | + /* 0x50 */ s8 field_0x50; |
| 34 | + /* 0x51 */ s8 field_0x51; |
| 35 | + /* 0x52 */ s8 field_0x52; |
| 36 | + /* 0x53 */ u8 field_0x53; |
| 37 | + /* 0x54 */ u8 field_0x54[3]; |
| 38 | + /* 0x58 */ Z2SoundObjSimple mSound; |
| 39 | +}; |
| 40 | + |
| 41 | +STATIC_ASSERT(sizeof(bug_s) == 0x78); |
| 42 | +class e_bug_class { |
| 43 | +public: |
| 44 | + /* 0x0000 */ fopAc_ac_c actor; |
| 45 | + /* 0x0568 */ request_of_phase_process_class mPhase; |
| 46 | + /* 0x0570 */ u8 field_0x570; |
| 47 | + /* 0x0574 */ int bitSw; |
| 48 | + /* 0x0578 */ u32 field_0x578; |
| 49 | + /* 0x057C */ f32 field_0x57c; |
| 50 | + /* 0x0580 */ s16 field_0x580; |
| 51 | + /* 0x0582 */ u8 field_0x582[0x588 - 0x582]; |
| 52 | + /* 0x0588 */ bug_s Bug_s[256]; |
| 53 | + /* 0x7D88 */ int bug_num; |
| 54 | + /* 0x7D8C */ Z2SoundObjBeeGroup mSound; |
| 55 | + /* 0x7DAC */ u8 field_0x7dac; |
| 56 | + /* 0x7DAD */ u8 field_0x7dad; |
17 | 57 | }; |
18 | 58 |
|
19 | 59 | STATIC_ASSERT(sizeof(e_bug_class) == 0x7db0); |
20 | 60 |
|
21 | | -class daE_Bug_HIO_c { |
| 61 | +class daE_Bug_HIO_c: public JORReflexible { |
| 62 | +public: |
22 | 63 | /* 80694B8C */ daE_Bug_HIO_c(); |
23 | | - /* 80697BEC */ ~daE_Bug_HIO_c(); |
24 | | -}; |
| 64 | + /* 80697BEC */ virtual ~daE_Bug_HIO_c() {} |
25 | 65 |
|
26 | | -struct bug_s { |
27 | | - /* 80697B4C */ ~bug_s(); |
28 | | - /* 80697BB8 */ bug_s(); |
29 | | -}; |
| 66 | + void genMessage(JORMContext*); |
30 | 67 |
|
| 68 | + /* 0x4 */ s8 field_0x4; |
| 69 | + /* 0x8 */ f32 field_0x8; |
| 70 | + /* 0xC */ f32 field_0xc; |
| 71 | +}; |
31 | 72 |
|
32 | 73 | #endif /* D_A_E_BUG_H */ |
0 commit comments