Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_menu_skill.h
Go to the documentation of this file.
1
#ifndef D_MENU_D_MENU_SKILL_H
2
#define D_MENU_D_MENU_SKILL_H
3
4
#include "
d/d_drawlist.h
"
5
6
class
CPaneMgr
;
7
struct
CSTControl
;
8
class
J2DTextBox
;
9
class
STControl
;
10
class
mDoDvdThd_mountArchive_c
;
11
class
dMsgString_c
;
12
class
dSelect_cursor_c
;
13
14
class
dMenu_Skill_c
:
public
dDlst_base_c
{
15
public
:
16
enum
{
17
/* 0 */
PROC_CLOSE_MOVE
,
18
/* 1 */
PROC_WAIT_MOVE
,
19
/* 2 */
PROC_OPEN_MOVE
,
20
/* 3 */
PROC_MOVE_MOVE
,
21
};
22
23
/* 801F7224 */
dMenu_Skill_c
(
JKRExpHeap
*,
STControl
*,
CSTControl
*);
24
/* 801F763C */
void
_create
();
25
/* 801F7718 */
void
_move
();
26
/* 801F77B0 */
void
_draw
();
27
/* 801F7950 */
bool
isSync
();
28
/* 801F7978 */
void
skill_init_calc
();
29
/* 801F79EC */
void
init
();
30
/* 801F7A40 */
int
_open
();
31
/* 801F7C1C */
int
_close
();
32
/* 801F7D58 */
void
wait_init
();
33
/* 801F7D94 */
void
wait_move
();
34
/* 801F7F24 */
void
read_open_init
();
35
/* 801F7FF8 */
void
read_open_move
();
36
/* 801F8114 */
void
read_move_init
();
37
/* 801F8150 */
void
read_move_move
();
38
/* 801F8218 */
void
read_close_init
();
39
/* 801F826C */
void
read_close_move
();
40
/* 801F8388 */
void
screenSetMenu
();
41
/* 801F8A18 */
void
screenSetLetter
();
42
/* 801F8D20 */
void
screenSetDoIcon
();
43
/* 801F8E9C */
void
setCursorPos
();
44
/* 801F8F28 */
void
changeActiveColor
();
45
/* 801F9144 */
void
setPageText
();
46
/* 801F9260 */
void
setAButtonString
(
u16
);
47
/* 801F9310 */
void
setBButtonString
(
u16
);
48
/* 801F93C0 */
void
setNameString
(
u16
);
49
/* 801F9470 */
u8
getSkillNum
();
50
/* 801F9500 */
void
setHIO
(
bool
);
51
52
/* 801F9A08 */
virtual
void
draw
() {
_draw
(); }
53
/* 801F7348 */
virtual
~dMenu_Skill_c
();
54
55
u8
getStatus
() {
return
mStatus
; }
56
57
private
:
58
/* 0x004 */
JKRExpHeap
*
mpHeap
;
59
/* 0x008 */
JKRArchive
*
mpArchive
;
60
/* 0x00C */
STControl
*
mpStick
;
61
/* 0x010 */
CSTControl
*
mpCStick
;
62
/* 0x014 */
mDoDvdThd_mountArchive_c
*
mpMount
;
63
/* 0x018 */
J2DScreen
*
mpMenuScreen
;
64
/* 0x01C */
J2DScreen
*
mpLetterScreen
;
65
/* 0x020 */
J2DScreen
*
mpIconScreen
;
66
/* 0x024 */
J2DPicture
*
mpTagPicture
[7][4];
67
/* 0x094 */
J2DPicture
*
field_0x94
[7];
68
/* 0x0B0 */
J2DTextBox
*
mpFTagPicture
[7][4];
69
/* 0x120 */
J2DTextBox
*
mpAButtonString
[5];
70
/* 0x134 */
J2DTextBox
*
mpBButtonString
[5];
71
/* 0x148 */
J2DTextBox
*
mpNameString
[4];
72
/* 0x158 */
J2DPicture
*
mpBlackTex
;
73
/* 0x15C */
CPaneMgr
*
mpParent
;
74
/* 0x160 */
CPaneMgr
*
mpLetterParent
[7];
75
/* 0x17C */
CPaneMgr
*
mpTextParent
;
76
/* 0x180 */
CPaneMgr
*
mpTextPane
;
77
/* 0x184 */
CPaneMgr
*
mpExpName
;
78
/* 0x188 */
CPaneMgr
*
mpButtonAB
[2];
79
/* 0x190 */
CPaneMgr
*
mpButtonText
[2];
80
/* 0x198 */
dSelect_cursor_c
*
mpDrawCursor
;
81
/* 0x19C */
dMsgString_c
*
mpString
;
82
/* 0x1A0 */
JUtility::TColor
mSelectBlack
[5];
83
/* 0x1B4 */
JUtility::TColor
mUnselectBlack
[5];
84
/* 0x1C8 */
JUtility::TColor
mSelectWhite
[5];
85
/* 0x1DC */
JUtility::TColor
mUnselectWhite
[5];
86
/* 0x1F0 */
f32
mPosX
;
87
/* 0x1F4 */
f32
mBarScale
[2];
88
/* 0x1FC */
u32
mStringID
;
89
/* 0x200 */
s16
mFrame
;
90
/* 0x202 */
s16
mProcFrame
;
91
/* 0x204 */
u8
mStatus
;
92
/* 0x205 */
u8
mProcess
;
93
/* 0x206 */
u8
mIndex
;
94
/* 0x207 */
u8
mSkillNum
;
95
/* 0x208 */
u8
mRemainder
;
96
/* 0x209 */
u8
field_0x209
;
// Initialized but never used
97
/* 0x20A */
u8
field_0x20a
;
// Initialized but never used
98
/* 0x20B */
u8
mTotalSkillNum
;
99
};
// Size: 0x20C
100
101
#endif
/* D_MENU_D_MENU_SKILL_H */
CPaneMgr
Definition
d_pane_class.h:13
J2DPicture
Definition
J2DPicture.h:55
J2DScreen
Definition
J2DScreen.h:48
J2DTextBox
Definition
J2DTextBox.h:57
JKRArchive
Definition
JKRArchive.h:57
STControl
Definition
d_lib.h:16
dDlst_base_c
Definition
d_drawlist.h:31
dMenu_Skill_c
Definition
d_menu_skill.h:14
dMenu_Skill_c::mpHeap
JKRExpHeap * mpHeap
Definition
d_menu_skill.h:58
dMenu_Skill_c::skill_init_calc
void skill_init_calc()
Definition
d_menu_skill.cpp:181
dMenu_Skill_c::setPageText
void setPageText()
Definition
d_menu_skill.cpp:590
dMenu_Skill_c::mProcFrame
s16 mProcFrame
Definition
d_menu_skill.h:90
dMenu_Skill_c::mpButtonAB
CPaneMgr * mpButtonAB[2]
Definition
d_menu_skill.h:78
dMenu_Skill_c::mSkillNum
u8 mSkillNum
Definition
d_menu_skill.h:94
dMenu_Skill_c::mpExpName
CPaneMgr * mpExpName
Definition
d_menu_skill.h:77
dMenu_Skill_c::setNameString
void setNameString(u16)
Definition
d_menu_skill.cpp:634
dMenu_Skill_c::mUnselectWhite
JUtility::TColor mUnselectWhite[5]
Definition
d_menu_skill.h:85
dMenu_Skill_c::mpLetterParent
CPaneMgr * mpLetterParent[7]
Definition
d_menu_skill.h:74
dMenu_Skill_c::setCursorPos
void setCursorPos()
Definition
d_menu_skill.cpp:564
dMenu_Skill_c::mPosX
f32 mPosX
Definition
d_menu_skill.h:86
dMenu_Skill_c::init
void init()
Definition
d_menu_skill.cpp:197
dMenu_Skill_c::mpNameString
J2DTextBox * mpNameString[4]
Definition
d_menu_skill.h:71
dMenu_Skill_c::_create
void _create()
Definition
d_menu_skill.cpp:122
dMenu_Skill_c::read_move_init
void read_move_init()
Definition
d_menu_skill.cpp:344
dMenu_Skill_c::read_close_init
void read_close_init()
Definition
d_menu_skill.cpp:366
dMenu_Skill_c::field_0x209
u8 field_0x209
Definition
d_menu_skill.h:96
dMenu_Skill_c::mpMount
mDoDvdThd_mountArchive_c * mpMount
Definition
d_menu_skill.h:62
dMenu_Skill_c::~dMenu_Skill_c
virtual ~dMenu_Skill_c()
Definition
d_menu_skill.cpp:62
dMenu_Skill_c::mFrame
s16 mFrame
Definition
d_menu_skill.h:89
dMenu_Skill_c::mpTextParent
CPaneMgr * mpTextParent
Definition
d_menu_skill.h:75
dMenu_Skill_c::mStatus
u8 mStatus
Definition
d_menu_skill.h:91
dMenu_Skill_c::setBButtonString
void setBButtonString(u16)
Definition
d_menu_skill.cpp:620
dMenu_Skill_c::field_0x94
J2DPicture * field_0x94[7]
Definition
d_menu_skill.h:67
dMenu_Skill_c::field_0x20a
u8 field_0x20a
Definition
d_menu_skill.h:97
dMenu_Skill_c::mpMenuScreen
J2DScreen * mpMenuScreen
Definition
d_menu_skill.h:63
dMenu_Skill_c::mpLetterScreen
J2DScreen * mpLetterScreen
Definition
d_menu_skill.h:64
dMenu_Skill_c::PROC_OPEN_MOVE
@ PROC_OPEN_MOVE
Definition
d_menu_skill.h:19
dMenu_Skill_c::PROC_MOVE_MOVE
@ PROC_MOVE_MOVE
Definition
d_menu_skill.h:20
dMenu_Skill_c::PROC_WAIT_MOVE
@ PROC_WAIT_MOVE
Definition
d_menu_skill.h:18
dMenu_Skill_c::PROC_CLOSE_MOVE
@ PROC_CLOSE_MOVE
Definition
d_menu_skill.h:17
dMenu_Skill_c::mBarScale
f32 mBarScale[2]
Definition
d_menu_skill.h:87
dMenu_Skill_c::mRemainder
u8 mRemainder
Definition
d_menu_skill.h:95
dMenu_Skill_c::mTotalSkillNum
u8 mTotalSkillNum
Definition
d_menu_skill.h:98
dMenu_Skill_c::mSelectWhite
JUtility::TColor mSelectWhite[5]
Definition
d_menu_skill.h:84
dMenu_Skill_c::mIndex
u8 mIndex
Definition
d_menu_skill.h:93
dMenu_Skill_c::setHIO
void setHIO(bool)
Definition
d_menu_skill.cpp:662
dMenu_Skill_c::getStatus
u8 getStatus()
Definition
d_menu_skill.h:55
dMenu_Skill_c::mProcess
u8 mProcess
Definition
d_menu_skill.h:92
dMenu_Skill_c::read_close_move
void read_close_move()
Definition
d_menu_skill.cpp:375
dMenu_Skill_c::setAButtonString
void setAButtonString(u16)
Definition
d_menu_skill.cpp:607
dMenu_Skill_c::read_open_init
void read_open_init()
Definition
d_menu_skill.cpp:306
dMenu_Skill_c::mpButtonText
CPaneMgr * mpButtonText[2]
Definition
d_menu_skill.h:79
dMenu_Skill_c::read_open_move
void read_open_move()
Definition
d_menu_skill.cpp:327
dMenu_Skill_c::wait_init
void wait_init()
Definition
d_menu_skill.cpp:271
dMenu_Skill_c::_open
int _open()
Definition
d_menu_skill.cpp:204
dMenu_Skill_c::mUnselectBlack
JUtility::TColor mUnselectBlack[5]
Definition
d_menu_skill.h:83
dMenu_Skill_c::changeActiveColor
void changeActiveColor()
Definition
d_menu_skill.cpp:570
dMenu_Skill_c::mpTagPicture
J2DPicture * mpTagPicture[7][4]
Definition
d_menu_skill.h:66
dMenu_Skill_c::draw
virtual void draw()
Definition
d_menu_skill.h:52
dMenu_Skill_c::mpDrawCursor
dSelect_cursor_c * mpDrawCursor
Definition
d_menu_skill.h:80
dMenu_Skill_c::_draw
void _draw()
Definition
d_menu_skill.cpp:149
dMenu_Skill_c::mpString
dMsgString_c * mpString
Definition
d_menu_skill.h:81
dMenu_Skill_c::isSync
bool isSync()
Definition
d_menu_skill.cpp:172
dMenu_Skill_c::mpIconScreen
J2DScreen * mpIconScreen
Definition
d_menu_skill.h:65
dMenu_Skill_c::mpBButtonString
J2DTextBox * mpBButtonString[5]
Definition
d_menu_skill.h:70
dMenu_Skill_c::mpFTagPicture
J2DTextBox * mpFTagPicture[7][4]
Definition
d_menu_skill.h:68
dMenu_Skill_c::screenSetDoIcon
void screenSetDoIcon()
Definition
d_menu_skill.cpp:539
dMenu_Skill_c::mpParent
CPaneMgr * mpParent
Definition
d_menu_skill.h:73
dMenu_Skill_c::wait_move
void wait_move()
Definition
d_menu_skill.cpp:277
dMenu_Skill_c::_close
int _close()
Definition
d_menu_skill.cpp:246
dMenu_Skill_c::_move
void _move()
Definition
d_menu_skill.cpp:137
dMenu_Skill_c::mpStick
STControl * mpStick
Definition
d_menu_skill.h:60
dMenu_Skill_c::getSkillNum
u8 getSkillNum()
Definition
d_menu_skill.cpp:647
dMenu_Skill_c::mStringID
u32 mStringID
Definition
d_menu_skill.h:88
dMenu_Skill_c::mpCStick
CSTControl * mpCStick
Definition
d_menu_skill.h:61
dMenu_Skill_c::read_move_move
void read_move_move()
Definition
d_menu_skill.cpp:351
dMenu_Skill_c::mpAButtonString
J2DTextBox * mpAButtonString[5]
Definition
d_menu_skill.h:69
dMenu_Skill_c::screenSetLetter
void screenSetLetter()
Definition
d_menu_skill.cpp:499
dMenu_Skill_c::screenSetMenu
void screenSetMenu()
Definition
d_menu_skill.cpp:391
dMenu_Skill_c::mpTextPane
CPaneMgr * mpTextPane
Definition
d_menu_skill.h:76
dMenu_Skill_c::mpArchive
JKRArchive * mpArchive
Definition
d_menu_skill.h:59
dMenu_Skill_c::mSelectBlack
JUtility::TColor mSelectBlack[5]
Definition
d_menu_skill.h:82
dMenu_Skill_c::mpBlackTex
J2DPicture * mpBlackTex
Definition
d_menu_skill.h:72
dMsgString_c
Definition
d_msg_string.h:9
dSelect_cursor_c
Definition
d_select_cursor.h:26
mDoDvdThd_mountArchive_c
Definition
m_Do_dvd_thread.h:78
d_drawlist.h
CSTControl
Definition
d_lib.h:73
JKRExpHeap
Definition
d_a_balloon_2D.h:178
JUtility::TColor
Definition
TColor.h:12
u32
unsigned long u32
Definition
types.h:10
f32
float f32
Definition
types.h:22
s16
signed short s16
Definition
types.h:5
u16
unsigned short u16
Definition
types.h:9
u8
unsigned char u8
Definition
types.h:8
include
d
d_menu_skill.h
Generated by
1.9.8