Decompile 2 functions in Source/UI/Dialogs/UIEditctrlWnd.cpp, Source/UI/Dialogs/UIEditctrlWnd.h, ...
Batch #7944 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_13549 UIEditctrlWnd::UIEditctrlWnd: logic confirmed by peer review - fn_13550 UIMiniMapWnd::UIMiniMapWnd: logic confirmed by peer review Peer-reviewed-by: Yommy, secret, Romain, pedrao Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
b91d974786
commit
261b245803
3 changed files with 21 additions and 2 deletions
|
|
@ -38,6 +38,22 @@ const char* g_miniMapMemoPath = "%s\\Memo\\$$%s.txt";
|
|||
// GLOBAL: gl_25072
|
||||
const char* g_miniMapMemoLineFormat = "%d\t%d\t%s\r\n";
|
||||
|
||||
// OFFSET: 0x0099B0C0
|
||||
// FUNCTION: fn_13549
|
||||
UIEditctrlWnd::UIEditctrlWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UIEditContext& edit)
|
||||
: UIFrameWnd(windows, frames, 0), m_controls(&controls), m_editContext(&edit) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x0099B120
|
||||
// FUNCTION: fn_13550
|
||||
UIMiniMapWnd::UIMiniMapWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls)
|
||||
: UIFrameWnd(windows, frames, 0), m_controls(&controls) {
|
||||
this->dragging = 0;
|
||||
this->unknown_0114 = 0;
|
||||
this->unknown_011C = nullptr;
|
||||
this->unknown_0120 = nullptr;
|
||||
}
|
||||
|
||||
// OFFSET: 0x0099B540
|
||||
// FUNCTION: fn_13554
|
||||
void UIMiniMapWnd::AddTownMarks() {
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ class UIEditCtrl;
|
|||
|
||||
class UIEditctrlWnd : public UIFrameWnd {
|
||||
public:
|
||||
UIEditctrlWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls, UIEditContext& edit);
|
||||
void Slot15(int width, int height) override;
|
||||
void Paint() override;
|
||||
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ struct MiniMapMark {
|
|||
|
||||
class UIMiniMapWnd : public UIFrameWnd {
|
||||
public:
|
||||
UIMiniMapWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
|
||||
void Slot11() override;
|
||||
void Slot15(int width, int height) override;
|
||||
void Paint() override;
|
||||
|
|
@ -32,7 +33,7 @@ public:
|
|||
/* 00BC */ float originX;
|
||||
/* 00C0 */ float originY;
|
||||
/* 00C4 */ UIBitmapButton* memoButtons[20];
|
||||
/* 0114 */ unsigned char unknown_0114[0x4];
|
||||
/* 0114 */ int unknown_0114;
|
||||
/* 0118 */ unsigned char dragging;
|
||||
/* 0119 */ unsigned char unknown_0119[0x3];
|
||||
/* 011C */ UIWindow* unknown_011C;
|
||||
|
|
@ -41,7 +42,8 @@ public:
|
|||
/* 0128 */ UIHeadsprButton* m_playerHead;
|
||||
/* 012C */ UIWindow* unknown_012C;
|
||||
/* 0130 */ std::map<int, UIBitmapButton*> townButtons;
|
||||
/* 0138 */ unsigned char unknown_0138[0x10];
|
||||
/* 0138 */ std::map<int, UIWindow*> unknown_0138;
|
||||
/* 0140 */ std::map<int, MiniMapMark> unknown_0140;
|
||||
/* 0148 */ std::vector<MiniMapMark> partyMarks;
|
||||
/* 0154 */ std::vector<MiniMapMark> guildMarks;
|
||||
/* 0160 */ std::vector<MiniMapMark> warpMarks;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue