rodecomp/Source/UI/MiniPartyManager.cpp
ragnarok-clanker 20dbe4bc34 Decompile 2 functions in Source/UI/MiniPartyManager.cpp, Source/UI/Window/UIWindowMgr.h, ...
Batch #1455 by Yommy: 0 byte-identical, 2 confirmed by peer review.

- fn_07745 CMiniPartyWndAreaMgr::Instance: logic confirmed by peer review
- fn_17263 UIWindowMgr::SetScreenSize: logic confirmed by peer review

Reviewed-by: ragnarok-clanker
Adds to the build: Source/UI/MiniPartyManager.cpp
2026-10-28 13:15:47 +00:00

24 lines
701 B
C++

#include "UI/MiniPartyGrid.h"
#include "UI/Window/MiniPartyWndAreaMgr.h"
#include "UI/Window/UIWindowMgr.h"
#include <new>
// OFFSET: 0x007435C0
// FUNCTION: fn_07745
CMiniPartyWndAreaMgr* CMiniPartyWndAreaMgr::Instance() {
if (!g_miniPartyWndAreaMgr) {
g_miniPartyWndAreaMgr = new (std::nothrow) CMiniPartyWndAreaMgr;
}
return g_miniPartyWndAreaMgr;
}
// OFFSET: 0x00AA9ED0
// FUNCTION: fn_17263
void UIWindowMgr::SetScreenSize(int width, int height) {
this->unknown_047C = width;
this->unknown_0480 = height;
this->unknown_0030 = 0;
this->unknown_0034 = height - this->unknown_0038;
reinterpret_cast<MiniPartyGrid*>(CMiniPartyWndAreaMgr::Instance())->BuildAvailableCells();
}