Use a common constant for msg window character buffer size

This commit is contained in:
robojumper
2025-11-22 22:24:38 +01:00
parent 54fc6c4a58
commit ab83c7628f
6 changed files with 22 additions and 21 deletions
@@ -76,8 +76,8 @@ private:
/* 0x05F8 */ dLytCommonABtn_c mBtn;
/* 0x07A8 */ dLytMsgWindowCharData mCharacterData[1023];
/* 0x5794 */ wchar_t mTextBuf[1023];
/* 0x07A8 */ dLytMsgWindowCharData mCharacterData[TextWindowUnk::BUF_SIZE];
/* 0x5794 */ wchar_t mTextBuf[TextWindowUnk::BUF_SIZE];
/* 0x5F94 */ dLytTextSword mSwordText;
/* 0x607C */ dLytTextSword::ESwordType mSwordType;
@@ -110,8 +110,8 @@ private:
/* 0x01D8 */ dTextBox_c *mpTextboxes[2];
/* 0x01E0 */ nw4r::lyt::Pane *mpPanes[3];
/* 0x01F4 */ dTagProcessor_c *mpTagProcessor;
/* 0x01F8 */ dLytMsgWindowCharData mCharData[1023]; // TODO - how large is this really?
/* 0x51DC */ wchar_t mTextBuf[1023];
/* 0x01F8 */ dLytMsgWindowCharData mCharData[TextWindowUnk::BUF_SIZE];
/* 0x51DC */ wchar_t mTextBuf[TextWindowUnk::BUF_SIZE];
/* 0x59DC */ dLytTextSword mSwordText;
/* 0x5AC4 */ s32 mSwordType;
/* 0x5AC8 */ u8 field_0x5AC8;