Batch #5180 by eAthena: 2 byte-identical, 4 confirmed by peer review. - fn_12894 UIMileageWnd::Slot15: logic confirmed by peer review - fn_12896 UIOpenMailBoxWnd::Slot15: logic confirmed by peer review - fn_12897 UIOpenRoulletteWnd::Slot15: logic confirmed by peer review - fn_12900 UITransMenuWnd::Slot15: logic confirmed by peer review - fn_12909 UIOpenMailBoxWnd::Paint: byte-identical - fn_12910 UIOpenRoulletteWnd::Paint: byte-identical Peer-reviewed-by: willerthal Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
35 lines
930 B
C++
35 lines
930 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:
|
|
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
|