Batch #14937 by ragnarok-clanker: no function's compiled code changes; checked with 251 compiled unit(s), including every includer of Source/Client/Mode/ModeMessage.h, Source/Contents/Actors/ActorEnums.h, Source/Network/Packets/PartyJoinPacket.h, Source/UI/Window/UIEnums.h, Source/UI/Window/WindowId.h.
21 lines
567 B
C++
21 lines
567 B
C++
#include "UI/Window/WindowId.h"
|
|
#include "UI/MiniPartyGrid.h"
|
|
#include "UI/Window/UIWindow.h"
|
|
#include "UI/Window/UIWindowMgr.h"
|
|
|
|
// OFFSET: 0x00A918B0
|
|
// FUNCTION: fn_17166
|
|
RECT UIWindowMgr::GetMiniPartyUsableArea() {
|
|
const int height = this->unknown_0480;
|
|
int top = static_cast<int>(height * 0.3f);
|
|
if (UIWindow* window = g_windowMgr.LookupWindow(WID_MENUICONWND)) {
|
|
top = window->geometry.height;
|
|
}
|
|
|
|
RECT area;
|
|
area.right = this->unknown_047C;
|
|
area.top = top;
|
|
area.left = 0;
|
|
area.bottom = height - g_miniPartyCellHeight * 3;
|
|
return area;
|
|
}
|