summaryrefslogtreecommitdiff
path: root/src/d/lyt/msg_window
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2025-04-02 13:36:11 +0200
committerrobojumper <robojumper@gmail.com>2025-04-07 22:12:36 +0200
commit4e88b4aec785bd1468bbe4716941e2681a8387e9 (patch)
treeadefd6c54b75b790a3553a2364e62e6fd5b0c96d /src/d/lyt/msg_window
parent5e2343afb79863394f5f1487d70cd3492305963e (diff)
auto_caption, auto_explain largely matching
Diffstat (limited to 'src/d/lyt/msg_window')
-rw-r--r--src/d/lyt/msg_window/d_lyt_msg_window_stone.cpp10
-rw-r--r--src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/d/lyt/msg_window/d_lyt_msg_window_stone.cpp b/src/d/lyt/msg_window/d_lyt_msg_window_stone.cpp
index b21936ff..ed0ad31e 100644
--- a/src/d/lyt/msg_window/d_lyt_msg_window_stone.cpp
+++ b/src/d/lyt/msg_window/d_lyt_msg_window_stone.cpp
@@ -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) {
diff --git a/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp b/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp
index 765a0e0b..3724adbb 100644
--- a/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp
+++ b/src/d/lyt/msg_window/d_lyt_msg_window_wood.cpp
@@ -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) {