summaryrefslogtreecommitdiff
path: root/include/d/menu/d_menu_skill.h
blob: 4b3d7760bb1cb0bf0cf106135d06cfc6ceedd59e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#ifndef D_MENU_D_MENU_SKILL_H
#define D_MENU_D_MENU_SKILL_H

#include "d/d_drawlist.h"

class CPaneMgr;
struct CSTControl;
class J2DTextBox;
class STControl;
class mDoDvdThd_mountArchive_c;
class dMsgString_c;
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();
    /* 801F77B0 */ void _draw();
    /* 801F7950 */ bool isSync();
    /* 801F7978 */ void skill_init_calc();
    /* 801F79EC */ void init();
    /* 801F7A40 */ int _open();
    /* 801F7C1C */ int _close();
    /* 801F7D58 */ void wait_init();
    /* 801F7D94 */ void wait_move();
    /* 801F7F24 */ void read_open_init();
    /* 801F7FF8 */ void read_open_move();
    /* 801F8114 */ void read_move_init();
    /* 801F8150 */ void read_move_move();
    /* 801F8218 */ void read_close_init();
    /* 801F826C */ void read_close_move();
    /* 801F8388 */ void screenSetMenu();
    /* 801F8A18 */ void screenSetLetter();
    /* 801F8D20 */ void screenSetDoIcon();
    /* 801F8E9C */ void setCursorPos();
    /* 801F8F28 */ void changeActiveColor();
    /* 801F9144 */ void setPageText();
    /* 801F9260 */ void setAButtonString(u16);
    /* 801F9310 */ void setBButtonString(u16);
    /* 801F93C0 */ void setNameString(u16);
    /* 801F9470 */ u8 getSkillNum();
    /* 801F9500 */ void setHIO(bool);

    /* 801F9A08 */ virtual void draw() { _draw(); }
    /* 801F7348 */ virtual ~dMenu_Skill_c();

    u8 getStatus() { return mStatus; }

private:
    /* 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 */ 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* mpButtonAB[2];
    /* 0x190 */ CPaneMgr* mpButtonText[2];
    /* 0x198 */ dSelect_cursor_c* mpDrawCursor;
    /* 0x19C */ dMsgString_c* mpString;
    /* 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 mProcess;
    /* 0x206 */ u8 mIndex;
    /* 0x207 */ u8 mSkillNum;
    /* 0x208 */ u8 mRemainder;
    /* 0x209 */ u8 field_0x209; // Initialized but never used
    /* 0x20A */ u8 field_0x20a; // Initialized but never used
    /* 0x20B */ u8 mTotalSkillNum;
};  // Size: 0x20C

#endif /* D_MENU_D_MENU_SKILL_H */