auto_caption, auto_explain largely matching

This commit is contained in:
robojumper
2025-04-02 13:36:11 +02:00
parent 5e2343afb7
commit 4e88b4aec7
16 changed files with 584 additions and 122 deletions
@@ -38,7 +38,7 @@ static const char *sTextBoxes[] = {
static const char *sGroupName = "G_ref_00";
bool dLytMsgWindowStone_c::build(void *unk, d2d::ResAccIf_c *resAcc, dTagProcessor_c *tagProcessor) {
bool dLytMsgWindowStone_c::build(d2d::ResAccIf_c *resAcc1, d2d::ResAccIf_c *resAcc, dTagProcessor_c *tagProcessor) {
mLyt.setResAcc(resAcc);
mLyt.build("sekibanWindow_00.brlyt", nullptr);
mLyt.setPriority(0x8A);
@@ -69,8 +69,8 @@ bool dLytMsgWindowStone_c::build(void *unk, d2d::ResAccIf_c *resAcc, dTagProcess
mpTextboxes[2]->set0x1F6(1);
for (int i = 0; i < 1; i++) {
mNodes[i].mpLytPane = &mCommon;
mCommon.build(resAcc);
mNodes[i].mpLytPane = &mBtn;
mBtn.build(resAcc);
mSubpaneList.PushBack(&mNodes[i]);
}
@@ -101,7 +101,7 @@ bool dLytMsgWindowStone_c::remove() {
for (int i = 0; i < 1; i++) {
mNodes[i].mpLytPane->remove();
}
mCommon.remove();
mBtn.remove();
for (int i = 0; i < SEKIBAN_NUM_ANIMS; i++) {
mAnm[i].remove();
}
@@ -109,7 +109,7 @@ bool dLytMsgWindowStone_c::remove() {
}
void dLytMsgWindowStone_c::initializeState_Invisible() {
mCommon.resetToInvisble();
mBtn.resetToInvisble();
}
void dLytMsgWindowStone_c::executeState_Invisible() {
if (mShouldBeOpen) {
@@ -37,7 +37,7 @@ static const char *sTextBoxes[] = {
static const char *sGroupName = "G_ref_00";
bool dLytMsgWindowWood_c::build(void *unk, d2d::ResAccIf_c *resAcc, dTagProcessor_c *tagProcessor) {
bool dLytMsgWindowWood_c::build(d2d::ResAccIf_c *resAcc1, d2d::ResAccIf_c *resAcc, dTagProcessor_c *tagProcessor) {
mLyt.setResAcc(resAcc);
mLyt.build("kanbanWindow_00.brlyt", nullptr);
mLyt.setPriority(0x8A);
@@ -67,8 +67,8 @@ bool dLytMsgWindowWood_c::build(void *unk, d2d::ResAccIf_c *resAcc, dTagProcesso
mpTextboxes[1]->set0x1F6(1);
for (int i = 0; i < 1; i++) {
mNodes[i].mpLytPane = &mCommon;
mCommon.build(resAcc);
mNodes[i].mpLytPane = &mBtn;
mBtn.build(resAcc);
mSubpaneList.PushBack(&mNodes[i]);
}
@@ -99,7 +99,7 @@ bool dLytMsgWindowWood_c::remove() {
for (int i = 0; i < 1; i++) {
mNodes[i].mpLytPane->remove();
}
mCommon.remove();
mBtn.remove();
for (int i = 0; i < KANBAN_NUM_ANIMS; i++) {
mAnm[i].remove();
}
@@ -107,7 +107,7 @@ bool dLytMsgWindowWood_c::remove() {
}
void dLytMsgWindowWood_c::initializeState_Invisible() {
mCommon.resetToInvisble();
mBtn.resetToInvisble();
}
void dLytMsgWindowWood_c::executeState_Invisible() {
if (mShouldBeOpen) {