|
11 | 11 | * @details |
12 | 12 | * |
13 | 13 | */ |
| 14 | + |
| 15 | +class daNpc_Shop0_Param_c { |
| 16 | +public: |
| 17 | + /* 80AEBB14 */ virtual ~daNpc_Shop0_Param_c() {}; |
| 18 | + |
| 19 | + struct param { |
| 20 | + /* 0x0 */ u32 mParam1; |
| 21 | + /* 0x4 */ u32 mParam2; |
| 22 | + /* 0x8 */ u32 mParam3; |
| 23 | + }; |
| 24 | + |
| 25 | + static param const mParam; |
| 26 | +}; |
| 27 | + |
| 28 | + |
14 | 29 | class daNpc_Shop0_c : public fopAc_ac_c { |
15 | 30 | public: |
16 | | - /* 80AEA7F8 */ ~daNpc_Shop0_c(); |
17 | | - /* 80AEAA10 */ void create(); |
18 | | - /* 80AEAE9C */ void createHeap(); |
19 | | - /* 80AEAF8C */ void destroy(); |
20 | | - /* 80AEAFC0 */ void execute(); |
21 | | - /* 80AEB078 */ void draw(); |
22 | | - /* 80AEB190 */ void getResName(); |
| 31 | + /* 80AEA7F8 */ virtual ~daNpc_Shop0_c(); |
| 32 | + /* 80AEAA10 */ int create(); |
| 33 | + /* 80AEAE9C */ int createHeap(); |
| 34 | + /* 80AEAF8C */ int destroy(); |
| 35 | + /* 80AEAFC0 */ int execute(); |
| 36 | + /* 80AEB078 */ int draw(); |
| 37 | + /* 80AEB190 */ char* getResName(); |
23 | 38 | /* 80AEB1A0 */ void getParam(); |
24 | | - /* 80AEB1C8 */ void getFlowNodeNum(); |
25 | | - /* 80AEB1D0 */ void isDelete(); |
26 | | - /* 80AEB22C */ void init(); |
27 | | - /* 80AEB32C */ void getTrnsfrmAnmP(int, char**); |
28 | | - /* 80AEB3A8 */ void setBckAnm(J3DAnmTransform*, f32, int, int, int, bool); |
29 | | - /* 80AEB45C */ void setCollision(); |
30 | | - /* 80AEB4C8 */ void checkEvent(); |
| 39 | + /* 80AEB1C8 */ int getFlowNodeNum(); |
| 40 | + /* 80AEB1D0 */ int isDelete(); |
| 41 | + /* 80AEB22C */ int init(); |
| 42 | + /* 80AEB32C */ J3DAnmTransform* getTrnsfrmAnmP(int, char**); |
| 43 | + /* 80AEB3A8 */ int setBckAnm(J3DAnmTransform*, f32, int, int, int, bool); |
| 44 | + /* 80AEB45C */ int setCollision(); |
| 45 | + /* 80AEB4C8 */ int checkEvent(); |
31 | 46 | /* 80AEB5E8 */ void orderEvent(); |
32 | 47 | /* 80AEB634 */ void setMtx(); |
33 | 48 | /* 80AEB6DC */ void setRoomInf(); |
34 | | - /* 80AEB780 */ void cut_alert(int, int); |
35 | | - /* 80AEB7F0 */ void chkProcess(int (daNpc_Shop0_c::*)(void*)); |
36 | | - /* 80AEB824 */ void setProcess(int (daNpc_Shop0_c::*)(void*), void*, int); |
37 | | - /* 80AEB920 */ void wait(void*); |
38 | | - /* 80AEB9BC */ void talk(void*); |
| 49 | + /* 80AEB780 */ int cut_alert(int, int); |
| 50 | + /* 80AEB7F0 */ int chkProcess(int (daNpc_Shop0_c::*)(void*)); |
| 51 | + /* 80AEB824 */ int setProcess(int (daNpc_Shop0_c::*)(void*), void*, int); |
| 52 | + /* 80AEB920 */ int wait(void*); |
| 53 | + /* 80AEB9BC */ int talk(void*); |
39 | 54 |
|
40 | | - static u8 const mCylDat[68]; |
| 55 | + static dCcD_SrcCyl const mCylDat; |
41 | 56 |
|
42 | | -private: |
43 | | - /* 0x568 */ u8 field_0x568[0x9ec - 0x568]; |
| 57 | + /* 0x56c */ u8 mParam; |
| 58 | + /* 0x570 */ mDoExt_bckAnm mBckAnm; |
| 59 | + /* 0x58c */ f32 mPlaySpeed; |
| 60 | + /* 0x590 */ u32 mFlowNodeNum; |
| 61 | + /* 0x594 */ dMsgFlow_c mMsgFlow; |
| 62 | + /* 0x5e0 */ request_of_phase_process_class mPhaseReq; |
| 63 | + /* 0x5e8 */ J3DModel* mpModel; |
| 64 | + /* 0x5ec */ f32 mGroundCross; |
| 65 | + /* 0x5f0 */ dBgS_ObjGndChk mGndChk; |
| 66 | + /* 0x644 */ daNpc_Shop0_Param_c* mpShopParam; |
| 67 | + /* 0x648 */ dBgS_AcchCir mAcchCir; |
| 68 | + /* 0x688 */ dBgS_ObjAcch mAcch; |
| 69 | + /* 0x860 */ dCcD_Stts mStts; |
| 70 | + /* 0x89c */ dCcD_Cyl mCyl; |
| 71 | + /* 0x9d8 */ s32 mMode; |
| 72 | + /* 0x9dc */ int (daNpc_Shop0_c::*mProcess)(void*); |
| 73 | + /* 0x9e8 */ s16 field_0x9e8; |
| 74 | + /* 0x9ea */ u8 field_0x9ea; |
44 | 75 | }; |
45 | 76 |
|
46 | 77 | STATIC_ASSERT(sizeof(daNpc_Shop0_c) == 0x9ec); |
47 | 78 |
|
48 | | -class daNpc_Shop0_Param_c { |
49 | | -public: |
50 | | - /* 80AEBB14 */ ~daNpc_Shop0_Param_c(); |
51 | | - |
52 | | - static u8 const mParam[12]; |
53 | | -}; |
54 | | - |
55 | | - |
56 | 79 | #endif /* D_A_NPC_SHOP0_H */ |
0 commit comments