mirror of
https://github.com/zeldaret/tp
synced 2026-05-27 16:13:56 -04:00
Link all oustanding US-matched TUs for JP (#2671)
This commit is contained in:
@@ -60,8 +60,42 @@ dMsgScrnTree_c::dMsgScrnTree_c(JUTFont* param_0, JKRExpHeap* param_1) {
|
||||
field_0xc8->getPanePtr()->setAnimation(field_0xd0);
|
||||
|
||||
mpScreen->search('white_m')->setAnimation(field_0xd4);
|
||||
|
||||
#if VERSION == VERSION_GCN_JPN
|
||||
if (dComIfGs_getOptUnk0() != 0) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
static u64 const t_tag[3] = {'mg_3line', 't3_w', 't3_s'};
|
||||
|
||||
mpTm_c[i] = new CPaneMgr(mpScreen, t_tag[i], 0, NULL);
|
||||
((J2DTextBox*)mpTm_c[i]->getPanePtr())->setFont(field_0x54);
|
||||
((J2DTextBox*)mpTm_c[i]->getPanePtr())->setString(0x210, "");
|
||||
}
|
||||
|
||||
mpScreen->search('n_3line')->show();
|
||||
mpScreen->search('n_3fline')->hide();
|
||||
mpScreen->search('n_e4line')->hide();
|
||||
} else {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
static u64 const t_tag[3] = {'t3fline', 't3f_w', 't3f_s'};
|
||||
static u64 const tr_tag[3] = {'mg_3f', 'mg_3f_w', 'mg_3f_s'};
|
||||
|
||||
mpTm_c[i] = new CPaneMgr(mpScreen, t_tag[i], 0, NULL);
|
||||
((J2DTextBox*)mpTm_c[i]->getPanePtr())->setFont(field_0x54);
|
||||
((J2DTextBox*)mpTm_c[i]->getPanePtr())->setString(0x210, "");
|
||||
|
||||
mpTmr_c[i] = new CPaneMgr(mpScreen, tr_tag[i], 0, NULL);
|
||||
((J2DTextBox*)mpTmr_c[i]->getPanePtr())->setFont(field_0x54);
|
||||
((J2DTextBox*)mpTmr_c[i]->getPanePtr())->setString(0x210, "");
|
||||
}
|
||||
|
||||
mpScreen->search('n_3line')->hide();
|
||||
mpScreen->search('n_3fline')->show();
|
||||
mpScreen->search('n_e4line')->hide();
|
||||
}
|
||||
#else
|
||||
for (int i = 0; i < 3; i++) {
|
||||
static u64 const t_tag[3] = {'mg_e4lin', 'f4_w', 't4_s'};
|
||||
|
||||
mpTm_c[i] = new CPaneMgr(mpScreen, t_tag[i], 0, NULL);
|
||||
((J2DTextBox*)mpTm_c[i]->getPanePtr())->setFont(field_0x54);
|
||||
((J2DTextBox*)mpTm_c[i]->getPanePtr())->setString(0x200, "");
|
||||
@@ -70,6 +104,7 @@ dMsgScrnTree_c::dMsgScrnTree_c(JUTFont* param_0, JKRExpHeap* param_1) {
|
||||
mpScreen->search('n_3line')->hide();
|
||||
mpScreen->search('n_3fline')->hide();
|
||||
mpScreen->search('n_e4line')->show();
|
||||
#endif
|
||||
|
||||
((J2DTextBox*)mpTm_c[0]->getPanePtr())->getFontSize(mFontSize);
|
||||
mTBoxWidth = mpTm_c[0]->getSizeX();
|
||||
|
||||
Reference in New Issue
Block a user