diff --git a/Source/UI/UILapineUpgradeBoxWnd.cpp b/Source/UI/UILapineUpgradeBoxWnd.cpp index 5b5fc8b12..d88cbae82 100644 --- a/Source/UI/UILapineUpgradeBoxWnd.cpp +++ b/Source/UI/UILapineUpgradeBoxWnd.cpp @@ -37,6 +37,13 @@ namespace { static_assert(sizeof(LapineUpgradeClosePacket) == 2); } +// OFFSET: 0x00602D30 +// FUNCTION: fn_04187 +UILapineUpgradeBoxWnd::UILapineUpgradeBoxWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls) + : UIFrameWnd(windows, frames, 0), closeButton(nullptr), upgradeButton(nullptr), selectButton(nullptr), ingredientList(nullptr), ingredientId(0), + noticeTick(0), noticeDuration(3000), waiting(0), m_controls(&controls) { +} + // INLINED UILapineUpgradeBoxWnd::~UILapineUpgradeBoxWnd() { this->item = ITEM_INFO(); diff --git a/Source/UI/UILapineUpgradeBoxWnd.h b/Source/UI/UILapineUpgradeBoxWnd.h index 07e84a983..41170ed0e 100644 --- a/Source/UI/UILapineUpgradeBoxWnd.h +++ b/Source/UI/UILapineUpgradeBoxWnd.h @@ -41,6 +41,7 @@ class UILapineUpgradeBoxWnd : public UIFrameWnd { friend class UILapineUpgradeBox_IngredientListWnd; public: + UILapineUpgradeBoxWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls); ~UILapineUpgradeBoxWnd() override; void Slot10(int x, int y, std::intptr_t value) override; void Slot15(int width, int height) override;