diff --git a/Source/UI/EntryQueue/UIEntryQueueWnd.cpp b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp new file mode 100644 index 00000000..018273ff --- /dev/null +++ b/Source/UI/EntryQueue/UIEntryQueueWnd.cpp @@ -0,0 +1,12 @@ +#include "UI/EntryQueue/UIEntryQueueWnd.h" + +// OFFSET: 0x00BA7B90 +// FUNCTION: fn_19713 +void UIEntryQueueWnd::Slot11() { + if (this->saved) { + this->saved->x = this->geometry.x; + this->saved->y = this->geometry.y; + this->saved->width = this->geometry.width; + this->saved->height = this->geometry.height; + } +} diff --git a/Source/UI/EntryQueue/UIEntryQueueWnd.h b/Source/UI/EntryQueue/UIEntryQueueWnd.h new file mode 100644 index 00000000..49f35354 --- /dev/null +++ b/Source/UI/EntryQueue/UIEntryQueueWnd.h @@ -0,0 +1,21 @@ +#ifndef RAGNAROK_SOURCE_UI_ENTRYQUEUE_UIENTRYQUEUEWND_H +#define RAGNAROK_SOURCE_UI_ENTRYQUEUE_UIENTRYQUEUEWND_H + +#include "Contents/UserData/NormalItemSlots.h" +#include "UI/Window/UIFrameWnd.h" + +#include + +class UIEntryQueueWnd : public UIFrameWnd { +public: + void Slot11() override; + + /* 00B4 */ unsigned char unknown_00B4[0x44]; + /* 0100 */ WindowPlacement* saved; +}; + +#if defined(_WIN32) && !defined(_WIN64) +static_assert(offsetof(UIEntryQueueWnd, saved) == 0x100); +#endif + +#endif diff --git a/data/compile.json b/data/compile.json index ea67190d..b4a8d8ab 100644 --- a/data/compile.json +++ b/data/compile.json @@ -749,6 +749,7 @@ "Source/UI/Edit/UIEditLinks.cpp": 2, "Source/UI/Edit/UIEditVariants.cpp": 2, "Source/UI/Enchant/UIEnchantUI.cpp": 2, + "Source/UI/EntryQueue/UIEntryQueueWnd.cpp": 2, "Source/UI/Exchange/UIExchangeUI.cpp": 2, "Source/UI/FrameSkin.cpp": 2, "Source/UI/GameSettings/GameSettingsUI.cpp": 2,