rodecomp/Source/UI/Window/UIMileageWnd.h
ragnarok-clanker 0c10747096 Decompile 12 functions in Source/UI/Quest/UIQuestDisplay.cpp, Source/UI/Quest/UIQuestDisplay.h, ...
Batch #7711 by secret: 0 byte-identical, 12 confirmed by peer review.

- fn_12846 UIAccountLimitedToolWnd::UIAccountLimitedToolWnd: logic confirmed by peer review
- fn_12847 UIBalloonOpenBtn::UIBalloonOpenBtn: logic confirmed by peer review
- fn_12848 UIDebuffRemoveWnd::UIDebuffRemoveWnd: logic confirmed by peer review
- fn_12850 UIMileageWnd::UIMileageWnd: logic confirmed by peer review
- fn_12852 UINoteWnd::UINoteWnd: logic confirmed by peer review
- fn_12853 UIOpenMailBoxWnd::UIOpenMailBoxWnd: logic confirmed by peer review
- fn_12854 UIOpenRoulletteWnd::UIOpenRoulletteWnd: logic confirmed by peer review
- fn_12855 UIQuestDisplay::UIQuestDisplay: logic confirmed by peer review
- fn_12856 UIRPImageWnd2::UIRPImageWnd2: logic confirmed by peer review
- fn_12857 UISecondCostumeWnd::UISecondCostumeWnd: logic confirmed by peer review
- fn_12858 UIShowWarpWnd::UIShowWarpWnd: logic confirmed by peer review
- fn_12859 UITransMenuWnd::UITransMenuWnd: logic confirmed by peer review

Peer-reviewed-by: eAthena, Yommy
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-31 11:28:47 +00:00

36 lines
1,023 B
C++

#ifndef RAGNAROK_SOURCE_UI_WINDOW_UIMILEAGEWND_H
#define RAGNAROK_SOURCE_UI_WINDOW_UIMILEAGEWND_H
#include "UI/Window/UIFrameWnd.h"
#include <cstdint>
#include <string>
struct UIButtonContext;
class UIMileageWnd : public UIFrameWnd {
public:
UIMileageWnd(UIWindowContext& windows, UIFrameContext& frames, UIButtonContext& controls);
void Slot19() override;
void Slot25(int x, int y) override;
void Slot27(int x, int y) override;
void Slot28(int x, int y) override;
void Slot31(int x, int y) override;
void Slot15(int width, int height) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
protected:
/* 00B4 */ std::uint32_t m_startTime;
/* 00B8 */ int m_point;
/* 00BC */ int m_remaining;
/* 00C0 */ int m_bonus;
/* 00C4 */ std::string m_tooltip;
UIButtonContext* m_controls;
};
extern int g_mileageWndActive;
extern int g_mileageWndPoint;
extern int g_mileageWndElapsed;
extern int g_mileageWndBonus;
#endif