summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2023-07-22 17:11:49 +0300
committerGitHub <noreply@github.com>2023-07-22 17:11:49 +0300
commit70104dd4769a5e029a5d8b80512f7c9af489deca (patch)
tree5bab90f5a79dbc0c2e8d7110e11f06b7a3e929a4 /include
parent21c01d5efd3328356e4b6fdc3061d2c74953bc70 (diff)
parent5be7e910cc477f3f0d43e5bb1d4261021d224581 (diff)
Merge pull request #382 from Trueffeloot/d_menu_skill
d_menu_skill mostly matching
Diffstat (limited to 'include')
-rw-r--r--include/d/menu/d_menu_skill.h83
1 files changed, 38 insertions, 45 deletions
diff --git a/include/d/menu/d_menu_skill.h b/include/d/menu/d_menu_skill.h
index eb46672d0a..58971463e6 100644
--- a/include/d/menu/d_menu_skill.h
+++ b/include/d/menu/d_menu_skill.h
@@ -14,6 +14,13 @@ class dSelect_cursor_c;
class dMenu_Skill_c : public dDlst_base_c {
public:
+ enum {
+ /* 0 */ PROC_CLOSE_MOVE,
+ /* 1 */ PROC_WAIT_MOVE,
+ /* 2 */ PROC_OPEN_MOVE,
+ /* 3 */ PROC_MOVE_MOVE,
+ };
+
/* 801F7224 */ dMenu_Skill_c(JKRExpHeap*, STControl*, CSTControl*);
/* 801F763C */ void _create();
/* 801F7718 */ void _move();
@@ -21,8 +28,8 @@ public:
/* 801F7950 */ bool isSync();
/* 801F7978 */ void skill_init_calc();
/* 801F79EC */ void init();
- /* 801F7A40 */ void _open();
- /* 801F7C1C */ void _close();
+ /* 801F7A40 */ int _open();
+ /* 801F7C1C */ int _close();
/* 801F7D58 */ void wait_init();
/* 801F7D94 */ void wait_move();
/* 801F7F24 */ void read_open_init();
@@ -40,7 +47,7 @@ public:
/* 801F9260 */ void setAButtonString(u16);
/* 801F9310 */ void setBButtonString(u16);
/* 801F93C0 */ void setNameString(u16);
- /* 801F9470 */ void getSkillNum();
+ /* 801F9470 */ u8 getSkillNum();
/* 801F9500 */ void setHIO(bool);
/* 801F9A08 */ virtual void draw();
@@ -49,61 +56,47 @@ public:
u8 getStatus() { return mStatus; }
private:
- /* 0x004 */ JKRExpHeap* field_0x4;
- /* 0x008 */ JKRArchive* field_0x8;
- /* 0x00C */ STControl* field_0xc;
- /* 0x010 */ CSTControl* field_0x10;
- /* 0x014 */ mDoDvdThd_mountArchive_c* field_0x14;
+ /* 0x004 */ JKRExpHeap* mpHeap;
+ /* 0x008 */ JKRArchive* mpArchive;
+ /* 0x00C */ STControl* mpStick;
+ /* 0x010 */ CSTControl* mpCStick;
+ /* 0x014 */ mDoDvdThd_mountArchive_c* mpMount;
/* 0x018 */ J2DScreen* mpMenuScreen;
/* 0x01C */ J2DScreen* mpLetterScreen;
/* 0x020 */ J2DScreen* mpIconScreen;
- /* 0x024 */ J2DPane* field_0x24[4];
- /* 0x034 */ J2DPane* field_0x34[4];
- /* 0x044 */ J2DPane* field_0x44[4];
- /* 0x054 */ J2DPane* field_0x54[4];
- /* 0x064 */ J2DPane* field_0x64[4];
- /* 0x074 */ J2DPane* field_0x74[4];
- /* 0x084 */ J2DPane* field_0x84[4];
- /* 0x094 */ J2DPane* field_0x94[4];
- /* 0x0A4 */ u8 field_0xa4[0xC];
- /* 0x0B0 */ J2DTextBox* field_0xb0[4];
- /* 0x0C0 */ J2DTextBox* field_0xc0[4];
- /* 0x0D0 */ J2DTextBox* field_0xd0[4];
- /* 0x0E0 */ J2DTextBox* field_0xe0[4];
- /* 0x0F0 */ J2DTextBox* field_0xf0[4];
- /* 0x100 */ J2DTextBox* field_0x100[4];
- /* 0x110 */ J2DTextBox* field_0x110[4];
- /* 0x120 */ J2DTextBox* mAButtonString[5];
- /* 0x134 */ J2DTextBox* mBButtonString[5];
- /* 0x148 */ J2DTextBox* mNameString[4];
+ /* 0x024 */ J2DPicture* mpTagPicture[7][4];
+ /* 0x094 */ J2DPicture* field_0x94[7];
+ /* 0x0B0 */ J2DTextBox* mpFTagPicture[7][4];
+ /* 0x120 */ J2DTextBox* mpAButtonString[5];
+ /* 0x134 */ J2DTextBox* mpBButtonString[5];
+ /* 0x148 */ J2DTextBox* mpNameString[4];
/* 0x158 */ J2DPicture* mpBlackTex;
/* 0x15C */ CPaneMgr* mpParent;
/* 0x160 */ CPaneMgr* mpLetterParent[7];
/* 0x17C */ CPaneMgr* mpTextParent;
/* 0x180 */ CPaneMgr* mpTextPane;
/* 0x184 */ CPaneMgr* mpExpName;
- /* 0x188 */ CPaneMgr* field_0x188[2];
- /* 0x190 */ CPaneMgr* field_0x190[2];
+ /* 0x188 */ CPaneMgr* mpButtonAB[2];
+ /* 0x190 */ CPaneMgr* mpButtonText[2];
/* 0x198 */ dSelect_cursor_c* mpDrawCursor;
/* 0x19C */ dMsgString_c* mpString;
- /* 0x1A0 */ JUtility::TColor field_0x1a0[5];
- /* 0x1B4 */ JUtility::TColor field_0x1b4[5];
- /* 0x1C8 */ JUtility::TColor field_0x1c8[5];
- /* 0x1DC */ JUtility::TColor field_0x1dc[5];
- /* 0x1F0 */ f32 field_0x1f0;
- /* 0x1F4 */ f32 field_0x1f4;
- /* 0x1F8 */ f32 field_0x1f8;
- /* 0x1FC */ int field_0x1fc;
- /* 0x200 */ u16 field_0x200;
- /* 0x202 */ u16 field_0x202;
+ /* 0x1A0 */ JUtility::TColor mSelectBlack[5];
+ /* 0x1B4 */ JUtility::TColor mUnselectBlack[5];
+ /* 0x1C8 */ JUtility::TColor mSelectWhite[5];
+ /* 0x1DC */ JUtility::TColor mUnselectWhite[5];
+ /* 0x1F0 */ f32 mPosX;
+ /* 0x1F4 */ f32 mBarScale[2];
+ /* 0x1FC */ u32 mStringID;
+ /* 0x200 */ s16 mFrame;
+ /* 0x202 */ s16 mProcFrame;
/* 0x204 */ u8 mStatus;
- /* 0x205 */ u8 field_0x205;
- /* 0x206 */ u8 field_0x206;
- /* 0x207 */ u8 field_0x207;
- /* 0x208 */ u8 field_0x208;
+ /* 0x205 */ u8 mProcess;
+ /* 0x206 */ u8 mIndex;
+ /* 0x207 */ u8 mSkillNum;
+ /* 0x208 */ u8 mRemainder;
/* 0x209 */ u8 field_0x209;
/* 0x20A */ u8 field_0x20a;
- /* 0x20B */ u8 field_0x20b;
-}; // Size: 0x20C
+ /* 0x20B */ u8 mTotalSkillNum;
+}; // Size: 0x20C
#endif /* D_MENU_D_MENU_SKILL_H */