Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_menu_option.h
Go to the documentation of this file.
1#ifndef D_MENU_D_MENU_OPTION_H
2#define D_MENU_D_MENU_OPTION_H
3
4#include "d/d_drawlist.h"
5
6class CPaneMgr;
7struct CSTControl;
8class J2DTextBox;
9class JUTFont;
10class STControl;
11class dFile_warning_c;
14class dMsgString_c;
15class dMeterHaihai_c;
17
19public:
20 /* 801E1F10 */ dMenu_Option_c(JKRArchive*, STControl*);
21 /* 801E205C */ void _create();
22 /* 801E2C1C */ void _delete();
23 /* 801E3408 */ void _move();
24 /* 801E36CC */ void _draw();
25 /* 801E38CC */ void drawHaihai();
26 /* 801E3A7C */ bool isSync();
27 /* 801E3AA4 */ bool checkLeftTrigger();
28 /* 801E3AC8 */ bool checkRightTrigger();
29 /* 801E3AEC */ void setAnimation();
30 /* 801E3B98 */ bool _open();
31 /* 801E3DE0 */ bool _close();
32 /* 801E3F6C */ void atten_init();
33 /* 801E3FC4 */ void atten_move();
34 /* 801E41A0 */ void vib_init();
35 /* 801E41F8 */ void vib_move();
36 /* 801E4488 */ void sound_init();
37 /* 801E44E0 */ void sound_move();
38 /* 801E48AC */ void change_init();
39 /* 801E48E8 */ void change_move();
40 /* 801E4B34 */ void confirm_open_init();
41 /* 801E4C10 */ void confirm_open_move();
42 /* 801E4CE4 */ void confirm_move_init();
43 /* 801E4D20 */ void confirm_move_move();
44 /* 801E4E98 */ void confirm_select_init();
45 /* 801E4E9C */ void confirm_select_move();
46 /* 801E4F18 */ void confirm_close_init();
47 /* 801E4FB0 */ void confirm_close_move();
48 /* 801E51CC */ void tv_open1_move();
49 /* 801E5244 */ void tv_open2_move();
50 /* 801E5260 */ void tv_move_move();
51 /* 801E5300 */ void tv_close1_move();
52 /* 801E5364 */ void tv_close2_move();
53 /* 801E5380 */ void calibration_open1_move();
54 /* 801E53C4 */ void calibration_open2_move();
55 /* 801E53E0 */ void calibration_move_move();
56 /* 801E5434 */ void calibration_close1_move();
57 /* 801E5478 */ void calibration_close2_move();
58 /* 801E5494 */ void menuVisible();
59 /* 801E54F8 */ void menuShow(int);
60 /* 801E55B8 */ void menuHide(int);
61 /* 801E5678 */ void screenSet();
62 /* 801E6FBC */ void setSoundMode(u32);
63 /* 801E7004 */ void setAttenString();
64 /* 801E70E8 */ void setVibString();
65 /* 801E71CC */ void setSoundString();
66 /* 801E7314 */ void setCursorPos(u8);
67 /* 801E73D8 */ void setSelectColor(u8, bool);
68 /* 801E76EC */ u8 getSelectType();
69 /* 801E7718 */ void changeBarColor(bool);
70 /* 801E78B8 */ void setHIO(bool);
71 /* 801E7D18 */ void cursorAnime(f32);
72 /* 801E7D60 */ void setZButtonString(u16);
73 /* 801E7DF4 */ void changeTVCheck();
74 /* 801E7E98 */ void setAButtonString(u16);
75 /* 801E7F9C */ void setBButtonString(u16);
76 /* 801E80A0 */ bool isRumbleSupported();
77 /* 801E80AC */ bool dpdMenuMove();
78 /* 801E80B4 */ void paneResize(u64);
79 /* 801E8210 */ void initialize();
80 /* 801E82C4 */ void yesnoMenuMoveAnmInitSet(int, int);
81 /* 801E8438 */ bool yesnoMenuMoveAnm();
82 /* 801E85D4 */ u8 yesnoSelectMoveAnm();
83 /* 801E8888 */ void yesnoCursorShow();
84 /* 801E89F8 */ void yesNoSelectStart();
85 /* 801E8AC8 */ void yesnoSelectAnmSet();
86 /* 801E8C38 */ void yesnoCancelAnmSet();
87 /* 801E8CB0 */ void yesnoWakuAlpahAnmInit(u8, u8, u8, u8);
88 /* 801E8CFC */ u8 yesnoWakuAlpahAnm(u8);
89
90 /* 801E8E6C */ virtual void draw() { _draw(); }
91 /* 801E2014 */ virtual ~dMenu_Option_c();
92
94 u8 isUseFlag(u8 i_flag) { return (mUseFlag & i_flag) != 0; }
95
96private:
97 /* 0x004 */ J2DScreen* mpBackScreen;
98 /* 0x008 */ J2DScreen* mpScreen;
99 /* 0x00C */ J2DScreen* mpClipScreen;
101 /* 0x014 */ J2DScreen* mpTVScreen;
110 /* 0x038 */ J2DPicture* mpBlackTex;
114 /* 0x048 */ dMsgString_c* mpString;
116 /* 0x050 */ JKRArchive* mpArchive;
117 /* 0x054 */ JUTFont* mpFont;
118 /* 0x058 */ STControl* mpStick;
119 /* 0x05C */ CPaneMgr* mpParent[5];
120 /* 0x070 */ CPaneMgr* mpTitle;
121 /* 0x074 */ CPaneMgr* mpMenuNull[6];
122 /* 0x08C */ CPaneMgr* mpMenuPane[6];
123 /* 0x0A4 */ CPaneMgr* mpMenuPaneC[6];
124 /* 0x0BC */ CPaneMgr* mpMenuPane2[6];
125 /* 0x0D4 */ CPaneMgr* mpMenuPane3[6];
126 /* 0x0EC */ CPaneMgr* mpMenuPane32[6];
127 /* 0x104 */ CPaneMgr* mpMenuText[6][6];
128 /* 0x194 */ CPaneMgr* mpHaihaiPosL[5];
129 /* 0x1A8 */ CPaneMgr* mpHaihaiPosR[5];
130 /* 0x1BC */ u8 field_0x1bc[4];
131 /* 0x1C0 */ CPaneMgr* field_0x1c0[4];
132 /* 0x1D0 */ CPaneMgr* mpZButtonText[3];
133 /* 0x1DC */ CPaneMgr* mpYesNoSelBase_c[2];
134 /* 0x1E4 */ CPaneMgr* mpYesNoTxt_c[2];
135 /* 0x1EC */ CPaneMgr* mpYesNoCurWaku_c[2];
138 /* 0x204 */ CPaneMgr* mpButtonAB[2];
139 /* 0x20C */ CPaneMgr* mpButtonText[2];
140 /* 0x214 */ CPaneMgr* mpTVButtonAB;
142 /* 0x21C */ J2DTextBox* field_0x21c[6][2];
143 /* 0x24C */ u8 field_0x24c[0x8];
144 /* 0x254 */ J2DTextBox* field_0x254[2];
145 /* 0x25C */ J2DTextBox* field_0x25c[5];
146 /* 0x270 */ J2DTextBox* field_0x270[3];
147 /* 0x27C */ J2DPane* field_0x27c;
148 /* 0x280 */ J2DPicture* field_0x280[6];
149 /* 0x298 */ J2DTextBox* field_0x298[6];
154 /* 0x2D0 */ J2DPane* field_0x2d0[6][4];
155 /* 0x330 */ f32 field_0x330;
156 /* 0x334 */ f32 field_0x334;
157 /* 0x338 */ f32 field_0x338;
158 /* 0x33C */ f32 mBarScale[2];
159 /* 0x344 */ f32 field_0x344[6];
160 /* 0x35C */ f32 field_0x35c[6];
161 /* 0x374 */ f32 field_0x374;
162 /* 0x378 */ f32 field_0x378;
163 /* 0x37C */ f32 field_0x37c;
164 /* 0x380 */ f32 field_0x380;
165 /* 0x384 */ f32 field_0x384[6];
166 /* 0x39C */ f32 field_0x39c[6];
167 /* 0x3B4 */ f32 field_0x3b4;
170 /* 0x3C0 */ int field_0x3c0;
171 /* 0x3C4 */ int field_0x3c4;
172 /* 0x3C8 */ int field_0x3c8[4];
173 /* 0x3D8 */ s16 mFrame;
174 /* 0x3DA */ s16 field_0x3da;
175 /* 0x3DC */ u16 field_0x3dc;
176 /* 0x3DE */ u16 field_0x3de;
177 /* 0x3E0 */ u8 field_0x3e0;
178 /* 0x3E1 */ u8 field_0x3e1;
179 /* 0x3E2 */ u8 field_0x3e2;
180 /* 0x3E3 */ u8 field_0x3e3;
181 /* 0x3E4 */ u8 field_0x3e4;
182 /* 0x3E5 */ u8 field_0x3e5;
183 /* 0x3E6 */ u8 field_0x3e6;
184 /* 0x3E7 */ u8 field_0x3e7;
185 /* 0x3E8 */ u8 field_0x3e8;
186 /* 0x3E9 */ u8 field_0x3e9;
187 /* 0x3EA */ u8 field_0x3ea;
188 /* 0x3EB */ u8 field_0x3eb;
189 /* 0x3EC */ u8 mQuitStatus;
190 /* 0x3ED */ u8 field_0x3ed;
191 /* 0x3EE */ u8 mUseFlag;
192 /* 0x3EF */ u8 field_0x3ef;
193 /* 0x3F0 */ u8 field_0x3f0;
194 /* 0x3F1 */ u8 field_0x3f1;
195 /* 0x3F2 */ u8 field_0x3f2;
196 /* 0x3F3 */ u8 field_0x3f3;
197 /* 0x3F4 */ u8 field_0x3f4;
198 /* 0x3F5 */ u8 field_0x3f5;
199 /* 0x3F6 */ u8 field_0x3f6;
200 /* 0x3F7 */ u8 field_0x3f7;
201 /* 0x3F8 */ u8 field_0x3f8;
202 /* 0x3F9 */ u8 field_0x3f9;
203 /* 0x3FA */ u8 field_0x3fa;
204 /* 0x3FB */ u8 field_0x3fb[2];
205 /* 0x3FD */ u8 field_0x3fd[2];
206 /* 0x3FF */ u8 field_0x3ff[2];
207 /* 0x401 */ u8 field_0x401;
208 /* 0x402 */ u8 field_0x402;
209 /* 0x403 */ u8 field_0x403;
210 /* 0x404 */ u8 field_0x404[4];
211 /* 0x408 */ u8 field_0x408[4];
212};
213
214#endif /* D_MENU_D_MENU_OPTION_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_pane_class.h:13
Definition J2DAnimation.h:381
Definition J2DAnimation.h:203
Definition J2DAnimation.h:146
Definition J2DPane.h:51
Definition J2DPicture.h:55
Definition J2DScreen.h:48
Definition J2DTextBox.h:57
Definition JKRArchive.h:57
Definition JUTFont.h:69
Definition d_lib.h:16
Definition d_drawlist.h:31
Definition d_file_sel_warning.h:23
Definition d_menu_calibration.h:11
Definition d_menu_option.h:18
CPaneMgr * mpMenuNull[6]
Definition d_menu_option.h:121
void confirm_select_init()
Definition d_menu_option.cpp:983
J2DAnmTransform * field_0x20
Definition d_menu_option.h:104
CPaneMgr * mpButtonAB[2]
Definition d_menu_option.h:138
J2DScreen * mpClipScreen
Definition d_menu_option.h:99
J2DScreen * mpSelectScreen
Definition d_menu_option.h:103
void calibration_close2_move()
Definition d_menu_option.cpp:1142
u8 field_0x3ed
Definition d_menu_option.h:190
JUtility::TColor field_0x3bc
Definition d_menu_option.h:169
f32 field_0x330
Definition d_menu_option.h:155
J2DAnmTransform * field_0x28
Definition d_menu_option.h:106
void setZButtonString(u16)
Definition d_menu_option.cpp:1812
void cursorAnime(f32)
Definition d_menu_option.cpp:1806
virtual ~dMenu_Option_c()
Definition d_menu_option.cpp:84
f32 field_0x3b4
Definition d_menu_option.h:167
JUtility::TColor field_0x2c8[2]
Definition d_menu_option.h:153
JUtility::TColor field_0x2b8[2]
Definition d_menu_option.h:151
u8 field_0x403
Definition d_menu_option.h:209
CPaneMgr * mpMenuPane3[6]
Definition d_menu_option.h:125
CPaneMgr * mpMenuText[6][6]
Definition d_menu_option.h:127
u8 field_0x3ef
Definition d_menu_option.h:192
bool _close()
Definition d_menu_option.cpp:626
u8 field_0x3ea
Definition d_menu_option.h:187
f32 field_0x374
Definition d_menu_option.h:161
CPaneMgr * mpMenuPaneC[6]
Definition d_menu_option.h:123
u8 yesnoSelectMoveAnm()
Definition d_menu_option.cpp:2001
void confirm_close_init()
Definition d_menu_option.cpp:1000
f32 field_0x338
Definition d_menu_option.h:157
bool checkRightTrigger()
Definition d_menu_option.cpp:554
u8 mUseFlag
Definition d_menu_option.h:191
u8 field_0x402
Definition d_menu_option.h:208
J2DScreen * mpScreenIcon
Definition d_menu_option.h:102
u8 field_0x3e1
Definition d_menu_option.h:178
void _create()
Definition d_menu_option.cpp:90
f32 field_0x39c[6]
Definition d_menu_option.h:166
s16 field_0x3da
Definition d_menu_option.h:174
void yesNoSelectStart()
Definition d_menu_option.cpp:2084
void menuVisible()
Definition d_menu_option.cpp:1149
u8 field_0x3e5
Definition d_menu_option.h:182
u8 field_0x3e7
Definition d_menu_option.h:184
CPaneMgr * mpYesNoCurWakuG0_c[2]
Definition d_menu_option.h:136
CPaneMgr * field_0x1c0[4]
Definition d_menu_option.h:131
void initialize()
Definition d_menu_option.cpp:1913
f32 field_0x334
Definition d_menu_option.h:156
u8 field_0x1bc[4]
Definition d_menu_option.h:130
CPaneMgr * mpMenuPane[6]
Definition d_menu_option.h:122
void setHIO(bool)
Definition d_menu_option.cpp:1727
void setSoundMode(u32)
Definition d_menu_option.cpp:1544
u8 isUseFlag(u8 i_flag)
Definition d_menu_option.h:94
CPaneMgr * mpParent[5]
Definition d_menu_option.h:119
void changeTVCheck()
Definition d_menu_option.cpp:1830
f32 field_0x37c
Definition d_menu_option.h:163
u8 field_0x3e0
Definition d_menu_option.h:177
void _draw()
Definition d_menu_option.cpp:487
void yesnoCursorShow()
Definition d_menu_option.cpp:2068
void atten_init()
Definition d_menu_option.cpp:655
J2DTextBox * field_0x270[3]
Definition d_menu_option.h:146
u8 field_0x3ff[2]
Definition d_menu_option.h:206
void calibration_open1_move()
Definition d_menu_option.cpp:1106
JKRArchive * mpArchive
Definition d_menu_option.h:116
void confirm_open_move()
Definition d_menu_option.cpp:921
u8 field_0x3fd[2]
Definition d_menu_option.h:205
f32 field_0x344[6]
Definition d_menu_option.h:159
bool _open()
Definition d_menu_option.cpp:578
mDoDvdThd_mountArchive_c * mpMount
Definition d_menu_option.h:112
u8 mQuitStatus
Definition d_menu_option.h:189
f32 field_0x384[6]
Definition d_menu_option.h:165
void setBButtonString(u16)
Definition d_menu_option.cpp:1868
dMsgString_c * mpString
Definition d_menu_option.h:114
J2DTextBox * field_0x21c[6][2]
Definition d_menu_option.h:142
JUTFont * mpFont
Definition d_menu_option.h:117
CPaneMgr * mpZButtonText[3]
Definition d_menu_option.h:132
J2DTextBox * field_0x254[2]
Definition d_menu_option.h:144
bool isSync()
Definition d_menu_option.cpp:541
u8 field_0x3e6
Definition d_menu_option.h:183
void tv_close1_move()
Definition d_menu_option.cpp:1087
void change_move()
Definition d_menu_option.cpp:842
u8 field_0x3f5
Definition d_menu_option.h:198
dMeterHaihai_c * mpMeterHaihai
Definition d_menu_option.h:115
void sound_move()
Definition d_menu_option.cpp:767
u8 field_0x3f3
Definition d_menu_option.h:196
J2DScreen * mpShadowScreen
Definition d_menu_option.h:100
void _delete()
Definition d_menu_option.cpp:246
void yesnoMenuMoveAnmInitSet(int, int)
Definition d_menu_option.cpp:1935
dMenu_Calibration_c * mpCalibration
Definition d_menu_option.h:111
u8 field_0x3f7
Definition d_menu_option.h:200
void drawHaihai()
Definition d_menu_option.cpp:515
bool isRumbleSupported()
Definition d_menu_option.cpp:1889
void confirm_move_init()
Definition d_menu_option.cpp:940
f32 field_0x380
Definition d_menu_option.h:164
void tv_close2_move()
Definition d_menu_option.cpp:1098
void setSelectColor(u8, bool)
Definition d_menu_option.cpp:1652
u8 yesnoWakuAlpahAnm(u8)
Definition d_menu_option.cpp:2138
J2DPane * field_0x27c
Definition d_menu_option.h:147
void yesnoWakuAlpahAnmInit(u8, u8, u8, u8)
Definition d_menu_option.cpp:2125
void vib_init()
Definition d_menu_option.cpp:701
void screenSet()
Definition d_menu_option.cpp:1200
void setAnimation()
Definition d_menu_option.cpp:559
void tv_open2_move()
Definition d_menu_option.cpp:1067
u8 field_0x3f0
Definition d_menu_option.h:193
JUtility::TColor field_0x2b0[2]
Definition d_menu_option.h:150
u16 field_0x3de
Definition d_menu_option.h:176
u8 field_0x3e9
Definition d_menu_option.h:186
J2DScreen * mpScreen
Definition d_menu_option.h:98
int field_0x3c8[4]
Definition d_menu_option.h:172
void tv_move_move()
Definition d_menu_option.cpp:1074
u16 field_0x3dc
Definition d_menu_option.h:175
u8 field_0x3fb[2]
Definition d_menu_option.h:204
void setCursorPos(u8)
Definition d_menu_option.cpp:1639
void _move()
Definition d_menu_option.cpp:424
u8 field_0x24c[0x8]
Definition d_menu_option.h:143
void change_init()
Definition d_menu_option.cpp:836
J2DTextBox * field_0x25c[5]
Definition d_menu_option.h:145
CPaneMgr * mpTVButtonText
Definition d_menu_option.h:141
u8 field_0x3fa
Definition d_menu_option.h:203
J2DScreen * mpBackScreen
Definition d_menu_option.h:97
J2DAnmTransform * field_0x24
Definition d_menu_option.h:105
u8 getQuitStatus()
Definition d_menu_option.h:93
CPaneMgr * mpMenuPane2[6]
Definition d_menu_option.h:124
f32 mBarScale[2]
Definition d_menu_option.h:158
STControl * mpStick
Definition d_menu_option.h:118
CPaneMgr * mpTVButtonAB
Definition d_menu_option.h:140
void sound_init()
Definition d_menu_option.cpp:759
u8 field_0x3f6
Definition d_menu_option.h:199
JUtility::TColor field_0x3b8
Definition d_menu_option.h:168
void menuHide(int)
Definition d_menu_option.cpp:1180
void yesnoSelectAnmSet()
Definition d_menu_option.cpp:2099
void calibration_move_move()
Definition d_menu_option.cpp:1122
dFile_warning_c * mpWarning
Definition d_menu_option.h:109
u8 field_0x3e3
Definition d_menu_option.h:180
u8 field_0x3e8
Definition d_menu_option.h:185
J2DPane * field_0x2d0[6][4]
Definition d_menu_option.h:154
J2DPicture * mpBlackTex
Definition d_menu_option.h:110
bool yesnoMenuMoveAnm()
Definition d_menu_option.cpp:1957
void atten_move()
Definition d_menu_option.cpp:663
int field_0x3c4
Definition d_menu_option.h:171
u8 field_0x404[4]
Definition d_menu_option.h:210
u8 field_0x3f2
Definition d_menu_option.h:195
J2DTextBox * field_0x298[6]
Definition d_menu_option.h:149
u8 field_0x3e2
Definition d_menu_option.h:179
void confirm_move_move()
Definition d_menu_option.cpp:946
bool checkLeftTrigger()
Definition d_menu_option.cpp:549
J2DScreen * mpTVScreen
Definition d_menu_option.h:101
u8 field_0x408[4]
Definition d_menu_option.h:211
CPaneMgr * mpTitle
Definition d_menu_option.h:120
bool dpdMenuMove()
Definition d_menu_option.cpp:1894
void confirm_close_move()
Definition d_menu_option.cpp:1010
int field_0x3c0
Definition d_menu_option.h:170
void setAButtonString(u16)
Definition d_menu_option.cpp:1848
f32 field_0x378
Definition d_menu_option.h:162
void confirm_open_init()
Definition d_menu_option.cpp:904
void changeBarColor(bool)
Definition d_menu_option.cpp:1706
u8 field_0x3e4
Definition d_menu_option.h:181
void calibration_close1_move()
Definition d_menu_option.cpp:1133
void setVibString()
Definition d_menu_option.cpp:1581
CPaneMgr * mpButtonText[2]
Definition d_menu_option.h:139
virtual void draw()
Definition d_menu_option.h:90
CPaneMgr * mpHaihaiPosL[5]
Definition d_menu_option.h:128
CPaneMgr * mpYesNoCurWaku_c[2]
Definition d_menu_option.h:135
CPaneMgr * mpYesNoCurWakuG1_c[2]
Definition d_menu_option.h:137
JUtility::TColor field_0x2c0[2]
Definition d_menu_option.h:152
void setAttenString()
Definition d_menu_option.cpp:1558
CPaneMgr * mpYesNoTxt_c[2]
Definition d_menu_option.h:134
void vib_move()
Definition d_menu_option.cpp:709
J2DAnmColor * field_0x2c
Definition d_menu_option.h:107
void confirm_select_move()
Definition d_menu_option.cpp:987
CPaneMgr * mpMenuPane32[6]
Definition d_menu_option.h:126
void paneResize(u64)
Definition d_menu_option.cpp:1899
void menuShow(int)
Definition d_menu_option.cpp:1160
J2DPicture * field_0x280[6]
Definition d_menu_option.h:148
void setSoundString()
Definition d_menu_option.cpp:1605
CPaneMgr * mpHaihaiPosR[5]
Definition d_menu_option.h:129
s16 mFrame
Definition d_menu_option.h:173
f32 field_0x35c[6]
Definition d_menu_option.h:160
CPaneMgr * mpYesNoSelBase_c[2]
Definition d_menu_option.h:133
u8 field_0x401
Definition d_menu_option.h:207
J2DAnmTextureSRTKey * field_0x30
Definition d_menu_option.h:108
u8 field_0x3f1
Definition d_menu_option.h:194
dSelect_cursor_c * mpDrawCursor
Definition d_menu_option.h:113
u8 field_0x3f4
Definition d_menu_option.h:197
void yesnoCancelAnmSet()
Definition d_menu_option.cpp:2117
u8 field_0x3eb
Definition d_menu_option.h:188
void calibration_open2_move()
Definition d_menu_option.cpp:1115
u8 field_0x3f9
Definition d_menu_option.h:202
void tv_open1_move()
Definition d_menu_option.cpp:1054
u8 field_0x3f8
Definition d_menu_option.h:201
u8 getSelectType()
Definition d_menu_option.cpp:1694
Definition d_meter_haihai.h:12
Definition d_msg_string.h:9
Definition d_select_cursor.h:26
Definition m_Do_dvd_thread.h:78
Definition d_lib.h:73
Definition TColor.h:12
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned long long u64
Definition types.h:11
unsigned char u8
Definition types.h:8