|
2 | 2 | #define D_A_NPC_KS_H |
3 | 3 |
|
4 | 4 | #include "d/actor/d_a_npc.h" |
| 5 | +#include "d/actor/d_a_obj_so.h" |
| 6 | +#include "d/actor/d_a_obj_sw.h" |
5 | 7 |
|
6 | 8 | /** |
7 | 9 | * @ingroup actors-npcs |
|
11 | 13 | * @details |
12 | 14 | * |
13 | 15 | */ |
14 | | -class npc_ks_class : public fopAc_ac_c { |
| 16 | +class npc_ks_class { |
15 | 17 | public: |
16 | | - /* 0x568 */ u8 field_0x568[0x5b6 - 0x568]; |
| 18 | + /* 0x000 */ fopAc_ac_c actor; |
| 19 | + /* 0x568 */ u8 field_0x568[0x570 - 0x568]; |
| 20 | + /* 0x570 */ u8 field_0x570; |
| 21 | + /* 0x571 */ u8 field_0x571[0x5b4 - 0x571]; |
| 22 | + /* 0x5B4 */ u8 mRoomMonkeyID; |
| 23 | + /* 0x5B5 */ u8 field_0x5b5; |
17 | 24 | /* 0x5B6 */ u8 field_0x5b6; |
18 | | - /* 0x5B7 */ u8 field_0x5b7[0x5c8 - 0x5b7]; |
| 25 | + /* 0x5B7 */ u8 field_0x5b7; |
| 26 | + /* 0x5B8 */ int field_0x5b8; |
| 27 | + /* 0x5BC */ int field_0x5bc; |
| 28 | + /* 0x5C0 */ char* mResName; |
| 29 | + /* 0x5C4 */ f32 field_0x5c4; |
19 | 30 | /* 0x5C8 */ s16 field_0x5c8; |
20 | | - /* 0x5CA */ u8 field_0x5ca[0x5ea - 0x5ca]; |
| 31 | + /* 0x5CC */ mDoExt_McaMorfSO* mpModelMorf; |
| 32 | + /* 0x5D0 */ int field_0x5d0; |
| 33 | + /* 0x5D4 */ f32 field_0x5d4; |
| 34 | + /* 0x5D8 */ mDoExt_btpAnm* mBtp1; |
| 35 | + /* 0x5DC */ mDoExt_btpAnm* mBtp2; |
| 36 | + /* 0x5E0 */ s16 field_0x5e0; |
| 37 | + /* 0x5E2 */ u8 field_0x5e2[2]; |
| 38 | + /* 0x5E4 */ s8 field_0x5e4; |
| 39 | + /* 0x5E5 */ u8 field_0x5e5; |
| 40 | + /* 0x5E6 */ s16 field_0x5e6; |
| 41 | + /* 0x5E8 */ s16 mActionID; |
21 | 42 | /* 0x5EA */ s16 mMode; |
22 | | - /* 0x5EC */ u8 field_0x5ec[0xc20 - 0x5ec]; |
| 43 | + /* 0x5EC */ u32 mShadowKey; |
| 44 | + /* 0x5F0 */ s16 mTimers[4]; |
| 45 | + /* 0x5F8 */ s16 field_0x5f8; |
| 46 | + /* 0x5FA */ s16 field_0x5fa; |
| 47 | + /* 0x5FC */ s8 field_0x5fc; |
| 48 | + /* 0x5FD */ u8 field_0x5fd; |
| 49 | + /* 0x5FE */ s16 field_0x5fe; |
| 50 | + /* 0x600 */ s16 field_0x600; |
| 51 | + /* 0x602 */ s16 field_0x602; |
| 52 | + /* 0x604 */ s16 field_0x604; |
| 53 | + /* 0x606 */ s16 field_0x606; |
| 54 | + /* 0x608 */ s16 field_0x608; |
| 55 | + /* 0x60C */ f32 field_0x60c; |
| 56 | + /* 0x610 */ s16 field_0x610; |
| 57 | + /* 0x614 */ cXyz field_0x614; |
| 58 | + /* 0x620 */ s8 field_0x620; |
| 59 | + /* 0x621 */ u8 field_0x621; |
| 60 | + /* 0x622 */ u8 field_0x622; |
| 61 | + /* 0x623 */ u8 field_0x623; |
| 62 | + /* 0x624 */ cXyz field_0x624; |
| 63 | + /* 0x630 */ int field_0x630; |
| 64 | + /* 0x634 */ f32 field_0x634; |
| 65 | + /* 0x638 */ f32 field_0x638; |
| 66 | + /* 0x63C */ f32 field_0x63c; |
| 67 | + /* 0x640 */ dBgS_AcchCir mAcchCir; |
| 68 | + /* 0x680 */ dBgS_ObjAcch mObjAcch; |
| 69 | + /* 0x858 */ u32 field_0x858; |
| 70 | + /* 0x85C */ u32 field_0x85c; |
| 71 | + /* 0x860 */ Z2Creature mSound; |
| 72 | + /* 0x8F0 */ cXyz field_0x8f0; |
| 73 | + /* 0x8FC */ csXyz field_0x8fc; |
| 74 | + /* 0x904 */ int field_0x904; |
| 75 | + /* 0x908 */ f32 field_0x908; |
| 76 | + /* 0x90C */ s8 field_0x90c; |
| 77 | + /* 0x910 */ cXyz field_0x910; |
| 78 | + /* 0x91C */ cXyz field_0x91c; |
| 79 | + /* 0x928 */ f32 field_0x928; |
| 80 | + /* 0x92C */ s8 field_0x92c; |
| 81 | + /* 0x930 */ void* field_0x930; |
| 82 | + /* 0x934 */ obj_sw_class* field_0x934; |
| 83 | + /* 0x938 */ fpc_ProcID field_0x938; |
| 84 | + /* 0x93C */ int field_0x93c; |
| 85 | + /* 0x940 */ cXyz field_0x940; |
| 86 | + /* 0x94C */ s16 field_0x94c; |
| 87 | + /* 0x94E */ s16 field_0x94e; |
| 88 | + /* 0x950 */ dCcD_Stts mStts; |
| 89 | + /* 0x98C */ dCcD_Cyl field_0x98c; |
| 90 | + /* 0xAC8 */ u8 field_0xac8[0xaec - 0xac8]; |
| 91 | + /* 0xAEC */ s8 field_0xaec; |
| 92 | + /* 0xAED */ u8 field_0xaed[0xaf4 - 0xaed]; |
| 93 | + /* 0xAF4 */ dMsgFlow_c mMsgFlow; |
| 94 | + /* 0xB40 */ u8 field_0xb40; |
| 95 | + /* 0xB41 */ u8 field_0xb41; |
| 96 | + /* 0xB42 */ s16 field_0xb42; |
| 97 | + /* 0xB44 */ s16 field_0xb44; |
| 98 | + /* 0xB48 */ cXyz field_0xb48; |
| 99 | + /* 0xB54 */ cXyz field_0xb54; |
| 100 | + /* 0xB60 */ cXyz field_0xb60; |
| 101 | + /* 0xB6C */ cXyz field_0xb6c; |
| 102 | + /* 0xB78 */ cXyz field_0xb78; |
| 103 | + /* 0xB84 */ cXyz field_0xb84; |
| 104 | + /* 0xB90 */ u8 field_0xb90[0xba8 - 0xb90]; |
| 105 | + /* 0xBA8 */ cXyz field_0xba8; |
| 106 | + /* 0xBB4 */ f32 field_0xbb4; |
| 107 | + /* 0xBB8 */ f32 field_0xbb8; |
| 108 | + /* 0xBBC */ u8 field_0xbbc[0xbc0 - 0xbbc]; |
| 109 | + /* 0xBC0 */ npc_ks_class* field_0xbc0; |
| 110 | + /* 0xBC4 */ f32 field_0xbc4; |
| 111 | + /* 0xBC8 */ cXyz field_0xbc8; |
| 112 | + /* 0xBD4 */ s16 field_0xbd4; |
| 113 | + /* 0xBD6 */ u8 field_0xbd6; |
| 114 | + /* 0xBD7 */ s8 field_0xbd7; |
| 115 | + /* 0xBD8 */ s8 field_0xbd8; |
| 116 | + /* 0xBD9 */ s8 field_0xbd9; |
| 117 | + /* 0xBDA */ u8 field_0xbda; |
| 118 | + /* 0xBDB */ s8 field_0xbdb; |
| 119 | + /* 0xBDC */ s8 field_0xbdc; |
| 120 | + /* 0xBDD */ s8 field_0xbdd; |
| 121 | + /* 0xBDE */ s16 field_0xbde; |
| 122 | + /* 0xBE0 */ s8 field_0xbe0; |
| 123 | + /* 0xBE4 */ u32 field_0xbe4[4]; |
| 124 | + /* 0xBF4 */ u32 field_0xbf4; |
| 125 | + /* 0xBF8 */ u8 field_0xbf8[0xbfc - 0xbf8]; |
| 126 | + /* 0xBFC */ J3DModel* field_0xbfc; |
| 127 | + /* 0xC00 */ J3DModel* field_0xc00; |
| 128 | + /* 0xC04 */ cXyz field_0xc04; |
| 129 | + /* 0xC10 */ u8 field_0xc10[0xc17 - 0xc10]; |
| 130 | + /* 0xC17 */ s8 field_0xc17; |
| 131 | + /* 0xC18 */ u8 field_0xc18[0xc20 - 0xc18]; |
23 | 132 | }; |
24 | 133 |
|
25 | 134 | STATIC_ASSERT(sizeof(npc_ks_class) == 0xc20); |
26 | 135 |
|
27 | | -class daNpc_Ks_HIO_c { |
| 136 | +class daNpc_Ks_HIO_c : public JORReflexible { |
28 | 137 | public: |
29 | 138 | /* 80A48F8C */ daNpc_Ks_HIO_c(); |
30 | | - /* 80A5DA90 */ ~daNpc_Ks_HIO_c(); |
| 139 | + /* 80A5DA90 */ virtual ~daNpc_Ks_HIO_c() {}; |
| 140 | + |
| 141 | + void genMessage(JORMContext*); |
| 142 | + |
| 143 | + /* 0x04 */ s8 field_0x4; |
| 144 | + /* 0x08 */ f32 field_0x8; |
| 145 | + /* 0x0C */ f32 field_0xc; |
| 146 | + /* 0x10 */ f32 field_0x10; |
| 147 | + /* 0x14 */ f32 field_0x14; |
| 148 | + /* 0x18 */ f32 field_0x18; |
| 149 | + /* 0x1C */ f32 field_0x1c; |
| 150 | + /* 0x20 */ f32 field_0x20; |
| 151 | + /* 0x24 */ f32 field_0x24; |
| 152 | + /* 0x28 */ u8 field_0x28; |
| 153 | + /* 0x2C */ f32 field_0x2c; |
| 154 | + /* 0x30 */ f32 field_0x30; |
| 155 | + /* 0x34 */ f32 field_0x34; |
31 | 156 | }; |
32 | 157 |
|
33 | 158 |
|
|
0 commit comments