|
3 | 3 |
|
4 | 4 | #include "d/actor/d_a_npc.h" |
5 | 5 |
|
6 | | -/** |
7 | | - * @ingroup actors-npcs |
8 | | - * @class daNpc_Uri_c |
9 | | - * @brief Uli |
10 | | - * |
11 | | - * @details |
12 | | - * |
13 | | - */ |
14 | | - |
15 | | - struct daNpc_Uri_HIOParam { |
16 | | - /* 0x00 */ f32 field_0x00; |
17 | | - /* 0x04 */ f32 field_0x04; |
18 | | - /* 0x08 */ f32 field_0x08; |
19 | | - /* 0x0C */ f32 field_0x0c; |
20 | | - /* 0x10 */ f32 field_0x10; |
21 | | - /* 0x14 */ f32 field_0x14; |
22 | | - /* 0x18 */ f32 field_0x18; |
23 | | - /* 0x1C */ f32 field_0x1c; |
24 | | - /* 0x20 */ f32 field_0x20; |
25 | | - /* 0x24 */ f32 field_0x24; |
26 | | - /* 0x28 */ f32 field_0x28; |
27 | | - /* 0x2C */ f32 field_0x2c; |
28 | | - /* 0x30 */ f32 field_0x30; |
29 | | - /* 0x34 */ f32 field_0x34; |
30 | | - /* 0x38 */ f32 field_0x38; |
31 | | - /* 0x3C */ f32 field_0x3c; |
32 | | - /* 0x40 */ f32 field_0x40; |
33 | | - /* 0x44 */ f32 field_0x44; |
34 | | - /* 0x48 */ s16 field_0x48; |
35 | | - /* 0x4A */ s16 field_0x4a; |
36 | | - /* 0x4C */ s16 field_0x4c; |
37 | | - /* 0x4E */ s16 field_0x4e; |
38 | | - /* 0x50 */ f32 field_0x50; |
39 | | - /* 0x54 */ f32 field_0x54; |
40 | | - /* 0x58 */ f32 field_0x58; |
41 | | - /* 0x5C */ f32 field_0x5c; |
42 | | - /* 0x60 */ s16 field_0x60; |
43 | | - /* 0x62 */ s16 field_0x62; |
44 | | - /* 0x64 */ u8 field_0x64[8]; |
45 | | - /* 0x6C */ f32 field_0x6c; |
46 | | - /* 0x70 */ u8 field_0x70[28]; |
| 6 | +struct daNpc_Uri_HIOParam { |
| 7 | + /* 0x00 */ daNpcT_HIOParam common; |
47 | 8 | /* 0x8C */ s16 field_0x8c; |
48 | 9 | /* 0x8E */ s16 field_0x8e; |
49 | 10 | /* 0x90 */ s16 field_0x90; |
|
59 | 20 |
|
60 | 21 | class daNpc_Uri_Param_c { |
61 | 22 | public: |
62 | | - /* 80B2CD94 */ virtual ~daNpc_Uri_Param_c() {}; |
| 23 | + /* 80B2CD94 */ virtual ~daNpc_Uri_Param_c() {} |
63 | 24 |
|
64 | | - static daNpc_Uri_HIOParam const m; |
| 25 | + static const daNpc_Uri_HIOParam m; |
65 | 26 | }; |
66 | 27 |
|
67 | | -class daNpc_Uri_HIO_c |
68 | | -#ifdef DEBUG |
69 | | -: public mDoHIO_entry_c |
70 | | -#endif |
71 | | -{ |
| 28 | +#if DEBUG |
| 29 | +class daNpc_Uri_HIO_c : public mDoHIO_entry_c { |
72 | 30 | public: |
| 31 | + daNpc_Uri_HIO_c(); |
| 32 | + |
| 33 | + void listenPropertyEvent(const JORPropertyEvent*); |
73 | 34 | void genMessage(JORMContext*); |
| 35 | + |
| 36 | + daNpc_Uri_HIOParam m; |
74 | 37 | }; |
75 | 38 |
|
| 39 | +#define NPC_URI_HIO_CLASS daNpc_Uri_HIO_c |
| 40 | +#else |
| 41 | +#define NPC_URI_HIO_CLASS daNpc_Uri_Param_c |
| 42 | +#endif |
| 43 | + |
| 44 | +/** |
| 45 | + * @ingroup actors-npcs |
| 46 | + * @class daNpc_Uri_c |
| 47 | + * @brief Uli |
| 48 | + * |
| 49 | + * @details |
| 50 | + * |
| 51 | + */ |
76 | 52 | class daNpc_Uri_c : public daNpcT_c { |
77 | 53 | public: |
78 | 54 | typedef int (daNpc_Uri_c::*cutFunc)(int); |
@@ -164,7 +140,7 @@ class daNpc_Uri_c : public daNpcT_c { |
164 | 140 | static cutFunc mCutList[7]; |
165 | 141 |
|
166 | 142 | private: |
167 | | - /* 0x0E40 */ daNpc_Uri_HIO_c* field_0xe40; |
| 143 | + /* 0x0E40 */ NPC_URI_HIO_CLASS* mpHIO; |
168 | 144 | /* 0x0E44 */ J3DModel* mpModel[1]; |
169 | 145 | /* 0x0E48 */ dCcD_Cyl mCyl; |
170 | 146 | /* 0x0F84 */ u8 mType; |
|
0 commit comments