Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_name.h
Go to the documentation of this file.
1#ifndef D_D_NAME_H
2#define D_D_NAME_H
3
4#include "d/d_select_cursor.h"
5
6class CPaneMgr;
7class CPaneMgrAlpha;
10class J2DTextBox;
11class JUTFont;
12class STControl;
13
14class dNm_HIO_c {
15public:
16 /* 8024E3E0 */ dNm_HIO_c();
17 /* 802511A4 */ virtual ~dNm_HIO_c();
18
19 /* 0x04 */ s8 field_0x4;
20 /* 0x08 */ f32 mMenuScale;
21 /* 0x0C */ f32 mSelCharScale;
22 /* 0x10 */ u8 field_0x10;
23};
24
26public:
28
29 /* 80251094 */ virtual void draw();
30 /* 8025115C */ virtual ~dDlst_NameIN_c();
31
32 /* 0x04 */ J2DScreen* NameInScr;
33 /* 0x08 */ JUTFont* font;
34 /* 0x0C */ J2DPane* field_0xc;
35 /* 0x10 */ J2DPane* field_0x10;
36};
37
38class ChrInfo_c {
39public:
40 /* 0x0 */ u8 mColumn;
41 /* 0x1 */ u8 mRow;
42 /* 0x2 */ u8 mMojiSet;
43 /* 0x3 */ u8 field_0x3;
44 /* 0x4 */ int mCharacter;
45}; // Size: 0x8
46
47class dName_c {
48public:
49 enum {
59 };
60
61 enum {
62 MOJI_HIRA, // hiragana characters
63 MOJI_KATA, // katakana characters
64 MOJI_EIGO, // english characters
65 };
66
67 enum {
68 MENU_HIRA, // hiragana menu
69 MENU_KATA, // katakana menu
70 MENU_EIGO, // english menu
72 };
73
74 /* 8024E408 */ dName_c(J2DPane*);
75 /* 8024E62C */ void _create();
76 /* 8024E6D4 */ void init();
77 /* 8024E7A4 */ void initial();
78 /* 8024E7EC */ void showIcon();
79 /* 8024E9A0 */ void _move();
80 /* 8024EC10 */ int nameCheck();
81 /* 8024EC4C */ void playNameSet(int);
82 /* 8024EC84 */ void cursorAnm();
83 /* 8024ED48 */ void Wait();
84 /* 8024ED4C */ void MojiSelect();
85 /* 8024F034 */ void MojiSelectAnmInit();
86 /* 8024F0E0 */ void MojiSelectAnm();
87 /* 8024F164 */ void MojiSelectAnm2();
88 /* 8024F1E8 */ void MojiSelectAnm3();
89 /* 8024F1EC */ int mojiChange(u8);
90 /* 8024F55C */ void selectMojiSet();
91 /* 8024F59C */ int getMoji();
92 /* 8024F634 */ void setMoji(int);
93 /* 8024F88C */ void setNameText();
94 /* 8024F914 */ void nameCursorMove();
95 /* 8024F994 */ void selectCursorMove();
96 /* 8024FAF4 */ void menuCursorPosSet();
97 /* 8024FB08 */ void MenuSelect();
98 /* 8024FDA0 */ void MenuSelectAnmInit();
99 /* 8024FDF4 */ void MenuSelectAnm();
100 /* 8024FEB4 */ void MenuSelectAnm2();
101 /* 8024FFA0 */ void MenuSelectAnm3();
102 /* 8024FFA4 */ void menuAbtnSelect();
103 /* 80250074 */ void backSpace();
104 /* 802501B0 */ void mojiListChange();
105 /* 80250284 */ void menuCursorMove();
106 /* 80250380 */ void menuCursorMove2();
107 /* 802504A0 */ void selectCursorPosSet(int);
108 /* 80250560 */ void _draw();
109 /* 802505CC */ void screenSet();
110 /* 80250CEC */ void displayInit();
111 /* 80250E54 */ void NameStrSet();
112 /* 80251048 */ s32 getMenuPosIdx(u8);
113
114 /* 8024E468 */ virtual ~dName_c();
115
116 u8 getCurPos() { return mCurPos; }
118 char* getInputStrPtr() { return mInputStr; }
119 void hideIcon() { mSelIcon->setAlphaRate(0.0f); }
121 void draw() { _draw(); }
122
123private:
124 /* 0x004 */ STControl* stick;
125 /* 0x008 */ JKRArchive* archive;
129 /* 0x028 */ int mCurColAnmF;
131 /* 0x030 */ int mCurTexAnmF;
132 /* 0x034 */ CPaneMgrAlpha* mNameCursor[8];
133 /* 0x054 */ char* mNameText[8];
134 /* 0x074 */ CPaneMgr* mMojiIcon[65];
135 /* 0x178 */ char* mMojiText[65];
136 /* 0x27C */ J2DPane* mMojiPane;
137 /* 0x280 */ J2DPane* mMenuPane;
138 /* 0x284 */ CPaneMgr* mMenuIcon[4];
139 /* 0x294 */ J2DTextBox* mMenuText[4];
140 /* 0x2A4 */ u8 mCursorDelay;
141 /* 0x2A5 */ u8 mCharColumn;
142 /* 0x2A6 */ u8 mPrevColumn;
143 /* 0x2A7 */ u8 mCharRow;
144 /* 0x2A8 */ u8 mPrevRow;
145 /* 0x2A9 */ u8 mMojiSet;
146 /* 0x2AA */ u8 mPrevMojiSet;
147 /* 0x2AB */ u8 mSelProc;
148 /* 0x2AC */ u8 field_0x2ac;
149 /* 0x2AD */ u8 field_0x2ad;
150 /* 0x2AE */ u8 field_0x2ae;
151 /* 0x2AF */ u8 mSelMenu;
152 /* 0x2B0 */ u8 mPrevSelMenu;
153 /* 0x2B1 */ u8 mCurPos;
154 /* 0x2B2 */ u8 mLastCurPos;
155 /* 0x2B3 */ u8 field_0x2b3;
156 /* 0x2B4 */ u8 mIsInputEnd;
157 /* 0x2B5 */ char mInputStr[23];
158 /* 0x2CC */ ChrInfo_c mChrInfo[8];
159 /* 0x30C */ u8 field_0x30c[4][4]; // ?
160 /* 0x31C */ char mNextNameStr[24];
161}; // Size: 0x334
162
163#endif /* D_D_NAME_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_pane_class_alpha.h:10
Definition d_pane_class.h:13
Definition d_name.h:38
u8 mColumn
Definition d_name.h:40
u8 field_0x3
Definition d_name.h:43
int mCharacter
Definition d_name.h:44
u8 mRow
Definition d_name.h:41
u8 mMojiSet
Definition d_name.h:42
Definition J2DAnimation.h:411
Definition J2DAnimation.h:203
Definition J2DPane.h:51
Definition J2DScreen.h:48
Definition J2DTextBox.h:57
Definition JKRArchive.h:57
Definition JUTFont.h:69
Definition d_lib.h:16
Definition d_name.h:25
JUTFont * font
Definition d_name.h:33
J2DScreen * NameInScr
Definition d_name.h:32
dDlst_NameIN_c()
Definition d_name.h:27
virtual void draw()
Definition d_name.cpp:1365
J2DPane * field_0x10
Definition d_name.h:35
virtual ~dDlst_NameIN_c()
Definition d_name.cpp:1382
J2DPane * field_0xc
Definition d_name.h:34
Definition d_drawlist.h:31
Definition d_name.h:47
void menuCursorPosSet()
Definition d_name.cpp:784
void _draw()
Definition d_name.cpp:1023
void showIcon()
Definition d_name.cpp:309
int mCurColAnmF
Definition d_name.h:129
u8 field_0x2b3
Definition d_name.h:155
int getMoji()
Definition d_name.cpp:667
u8 mCurPos
Definition d_name.h:153
void Wait()
Definition d_name.cpp:440
char mInputStr[23]
Definition d_name.h:157
void mojiListChange()
Definition d_name.cpp:931
void _move()
Definition d_name.cpp:341
void setMoji(int)
Definition d_name.cpp:686
void MenuSelectAnmInit()
Definition d_name.cpp:830
void MojiSelectAnm3()
Definition d_name.cpp:542
void nameCursorMove()
Definition d_name.cpp:751
dSelect_cursor_c * mSelIcon
Definition d_name.h:127
CPaneMgr * mMenuIcon[4]
Definition d_name.h:138
CPaneMgrAlpha * mNameCursor[8]
Definition d_name.h:132
dDlst_NameIN_c nameIn
Definition d_name.h:126
void menuCursorMove()
Definition d_name.cpp:969
void MojiSelectAnm()
Definition d_name.cpp:520
u8 mCharColumn
Definition d_name.h:141
u8 mMojiSet
Definition d_name.h:145
char * mMojiText[65]
Definition d_name.h:135
void menuCursorMove2()
Definition d_name.cpp:980
char * getInputStrPtr()
Definition d_name.h:118
CPaneMgr * mMojiIcon[65]
Definition d_name.h:134
u8 mLastCurPos
Definition d_name.h:154
u8 field_0x2ae
Definition d_name.h:150
void draw()
Definition d_name.h:121
u8 field_0x30c[4][4]
Definition d_name.h:159
void NameStrSet()
Definition d_name.cpp:1292
u8 mCursorDelay
Definition d_name.h:140
void MojiSelect()
Definition d_name.cpp:443
char mNextNameStr[24]
Definition d_name.h:160
J2DPane * mMenuPane
Definition d_name.h:137
u8 field_0x2ad
Definition d_name.h:149
J2DTextBox * mMenuText[4]
Definition d_name.h:139
void playNameSet(int)
Definition d_name.cpp:411
u8 mIsInputEnd
Definition d_name.h:156
void MojiSelectAnmInit()
Definition d_name.cpp:512
void backSpace()
Definition d_name.cpp:901
void selectCursorMove()
Definition d_name.cpp:768
void _create()
Definition d_name.cpp:251
int nameCheck()
Definition d_name.cpp:399
void setNextNameStr(char *i_name)
Definition d_name.h:120
void menuAbtnSelect()
Definition d_name.cpp:873
void MenuSelect()
Definition d_name.cpp:790
void setNameText()
Definition d_name.cpp:736
void selectCursorPosSet(int)
Definition d_name.cpp:995
JKRArchive * archive
Definition d_name.h:125
void MenuSelectAnm2()
Definition d_name.cpp:850
J2DPane * mMojiPane
Definition d_name.h:136
u8 mPrevRow
Definition d_name.h:144
void MenuSelectAnm3()
Definition d_name.cpp:870
void screenSet()
Definition d_name.cpp:1162
u8 mPrevColumn
Definition d_name.h:142
@ PROC_MENU_SEL_ANM2
Definition d_name.h:56
@ PROC_MOJI_SEL_ANM2
Definition d_name.h:52
@ PROC_MENU_SEL_ANM3
Definition d_name.h:57
@ PROC_MOJI_SELECT
Definition d_name.h:50
@ PROC_WAIT
Definition d_name.h:58
@ PROC_MOJI_SEL_ANM
Definition d_name.h:51
@ PROC_MENU_SEL_ANM
Definition d_name.h:55
@ PROC_MOJI_SEL_ANM3
Definition d_name.h:53
@ PROC_MENU_SELECT
Definition d_name.h:54
void initial()
Definition d_name.cpp:295
virtual ~dName_c()
Definition d_name.cpp:224
void init()
Definition d_name.cpp:264
u8 mPrevSelMenu
Definition d_name.h:152
@ MOJI_KATA
Definition d_name.h:63
@ MOJI_HIRA
Definition d_name.h:62
@ MOJI_EIGO
Definition d_name.h:64
void hideIcon()
Definition d_name.h:119
u8 field_0x2ac
Definition d_name.h:148
void displayInit()
Definition d_name.cpp:1261
u8 mPrevMojiSet
Definition d_name.h:146
void MenuSelectAnm()
Definition d_name.cpp:838
ChrInfo_c mChrInfo[8]
Definition d_name.h:158
char * mNameText[8]
Definition d_name.h:133
u8 getCurPos()
Definition d_name.h:116
int mCurTexAnmF
Definition d_name.h:131
u8 mSelProc
Definition d_name.h:147
STControl * stick
Definition d_name.h:124
u8 mCharRow
Definition d_name.h:143
void cursorAnm()
Definition d_name.cpp:423
J2DAnmColorKey * mCursorColorKey
Definition d_name.h:128
J2DAnmTextureSRTKey * mCursorTexKey
Definition d_name.h:130
s32 getMenuPosIdx(u8)
Definition d_name.cpp:1344
@ MENU_HIRA
Definition d_name.h:68
@ MENU_KATA
Definition d_name.h:69
@ MENU_END
Definition d_name.h:71
@ MENU_EIGO
Definition d_name.h:70
void selectMojiSet()
Definition d_name.cpp:661
u8 isInputEnd()
Definition d_name.h:117
u8 mSelMenu
Definition d_name.h:151
int mojiChange(u8)
Definition d_name.cpp:545
void MojiSelectAnm2()
Definition d_name.cpp:531
Definition d_name.h:14
dNm_HIO_c()
Definition d_name.cpp:210
virtual ~dNm_HIO_c()
Definition d_name.cpp:1385
u8 field_0x10
Definition d_name.h:22
s8 field_0x4
Definition d_name.h:19
f32 mMenuScale
Definition d_name.h:20
f32 mSelCharScale
Definition d_name.h:21
Definition d_select_cursor.h:26
void setAlphaRate(f32)
Definition d_select_cursor.cpp:428
void strcpy()
signed char s8
Definition types.h:4
float f32
Definition types.h:22
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8