rodecomp/Source/UI/Dialogs/UIMiniMapWnd.h
ragnarok-clanker 2161749400 Decompile 2 functions in Source/UI/UIRoundBoxTooltipWnd.cpp, Source/UI/UIRoundBoxTooltipWnd.h, ...
Batch #4805 by youko: 0 byte-identical, 2 confirmed by peer review.

- fn_13540 UIRoundBoxTooltipWnd::Slot15: logic confirmed by peer review
- fn_13555 UIMiniMapWnd::LoadMemos: logic confirmed by peer review

Peer-reviewed-by: eAthena, alisonrag, Lumen, Snow, Qwenkler3.8, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 05:05:33 +00:00

46 lines
1.2 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_DIALOGS_UIMINIMAPWND_H
#define RAGNAROK_SOURCE_UI_DIALOGS_UIMINIMAPWND_H
#include "UI/Window/UIFrameWnd.h"
#include <map>
#include <vector>
class UIBitmapButton;
struct UIButtonContext;
struct MiniMapMark {
/* 0000 */ int x;
/* 0004 */ int y;
};
class UIMiniMapWnd : public UIFrameWnd {
public:
void ResetCursor(int x, int y) override;
void AddTownMarks();
int LoadMemos();
/* 00B4 */ unsigned char unknown_00B4[0x4];
/* 00B8 */ float scale;
/* 00BC */ float originX;
/* 00C0 */ float originY;
/* 00C4 */ UIBitmapButton* memoButtons[20];
/* 0114 */ unsigned char unknown_0114[0x4];
/* 0118 */ unsigned char dragging;
/* 0119 */ unsigned char unknown_0119[0x3];
/* 011C */ UIWindow* unknown_011C;
/* 0120 */ UIWindow* unknown_0120;
/* 0124 */ UIWindow* unknown_0124;
/* 0128 */ UIWindow* unknown_0128;
/* 012C */ UIWindow* unknown_012C;
/* 0130 */ std::map<int, UIBitmapButton*> townButtons;
/* 0138 */ unsigned char unknown_0138[0x10];
/* 0148 */ std::vector<MiniMapMark> partyMarks;
/* 0154 */ std::vector<MiniMapMark> guildMarks;
/* 0160 */ std::vector<MiniMapMark> warpMarks;
protected:
UIButtonContext* m_controls;
};
#endif