diff --git a/Source/UI/Window/UINormalMB.cpp b/Source/UI/Window/UINormalMB.cpp index b30ff03b..f8673b58 100644 --- a/Source/UI/Window/UINormalMB.cpp +++ b/Source/UI/Window/UINormalMB.cpp @@ -2,6 +2,12 @@ #include "UI/Text/UITextViewer.h" #include "UI/Window/UIWindowMgr.h" +// OFFSET: 0x00946C00 +// FUNCTION: fn_12851 +UINormalMB::UINormalMB(UIWindowContext& windows, UIFrameContext& frames) : UIFrameWnd(windows, frames, 0), m_owner(nullptr), m_viewer(nullptr) { + this->m_keepOpen = 0; +} + // OFFSET: 0x00950740 // FUNCTION: fn_12943 int UINormalMB::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) { diff --git a/Source/UI/Window/UINormalMB.h b/Source/UI/Window/UINormalMB.h index 00786455..c10c2453 100644 --- a/Source/UI/Window/UINormalMB.h +++ b/Source/UI/Window/UINormalMB.h @@ -4,17 +4,20 @@ #include "UI/Window/UIFrameWnd.h" #include +#include class UITextViewer; class UINormalMB : public UIFrameWnd { public: + UINormalMB(UIWindowContext& windows, UIFrameContext& frames); int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override; protected: /* 00B4 */ UIWindow* m_owner; /* 00B8 */ UITextViewer* m_viewer; - /* 00BC */ unsigned char unknown_00BC[0x30]; + /* 00BC */ std::string unknown_00BC; + /* 00D4 */ std::string unknown_00D4; /* 00EC */ unsigned char m_keepOpen; /* 00F0 */ std::map m_actions; };