rodecomp/Source/UI/RuneSystem/UIRuneSystemWnd.h
ragnarok-clanker 0af51f4794 Decompile fn_10196 (UIRuneSet_Info::Slot26)
Batch #4459 by eAthena: 0 byte-identical, 1 confirmed by peer review.

- fn_10196 UIRuneSet_Info::Slot26: logic confirmed by peer review

Peer-reviewed-by: alisonrag, youko
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 03:24:59 +00:00

112 lines
2.9 KiB
C++

#ifndef RAGNAROK_SOURCE_UI_RUNESYSTEM_UIRUNESYSTEMWND_H
#define RAGNAROK_SOURCE_UI_RUNESYSTEM_UIRUNESYSTEMWND_H
#include "UI/Buttons/UIBitmapButton.h"
#include "UI/Lists/UIScrollBar.h"
#include "UI/Window/UIFrameWnd.h"
#include "UI/Window/UIWindow.h"
#include <cstdint>
#include <string>
class RuneSetData;
class UIRuneSetReWard : public UIBitmapButton {
public:
void Paint() override;
void Slot31(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
/* 0120 */ int m_itemId;
/* 0124 */ int m_state;
/* 0128 */ std::string m_texts[3];
};
class UIRuneSystemTab : public UIWindow {
public:
void Paint() override;
void Slot25(int x, int y) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
/* 007C */ int m_count;
/* 0080 */ std::string m_label;
};
class UIEquipRuneSetWnd : public UIWindow {
public:
void Slot25(int x, int y) override;
void Slot26(int x, int y) override;
};
class UIRuneSystem_tagListWnd : public UIWindow {
public:
void Slot25(int x, int y) override;
};
class UIRuneSetList : public UIScrollBar {
public:
void Slot25(int x, int y) override;
void Slot35(int delta) override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;
void DrawScrollBar(bool drawLine);
/* 00B4 */ int m_itemHeight;
/* 00B8 */ int unknown_00B8;
/* 00BC */ int m_selected;
};
class UIRuneList : public UIRuneSetList {
public:
void Slot28(int x, int y) override;
};
class UIDecomlist : public UIRuneSetList {
public:
void Slot28(int x, int y) override;
};
class UIGage_Circle : public UIWindow {
};
class UIRuneSystem_ActiveWnd : public UIWindow {
};
class UIRuneSet_Info : public UIWindow {
public:
void Slot19() override;
void Slot26(int x, int y) override;
void UpdateActivation();
/* 007C */ RuneSetData* m_runeSet;
/* 0080 */ UIRuneSystem_ActiveWnd* m_activeWnd;
/* 0084 */ UIBitmapButton* unknown_0084;
/* 0088 */ UIBitmapButton* unknown_0088;
/* 008C */ UIBitmapButton* unknown_008C;
/* 0090 */ UIRuneSystemTab* m_tab;
/* 0094 */ UIGage_Circle* m_gauge;
};
class UIRune_Info : public UIWindow {
};
class UIRune_Decom : public UIWindow {
};
class UIRuneSystemWnd : public UIFrameWnd {
public:
void Slot19() override;
void Slot25(int x, int y) override;
/* 00B4 */ unsigned char unknown_00B4[0x0C];
/* 00C0 */ UIRuneSystemTab* m_tab;
/* 00C4 */ UIEquipRuneSetWnd* m_equipRuneSet;
/* 00C8 */ UIRuneSystem_tagListWnd* m_tagList;
/* 00CC */ UIRuneSetList* m_runeSetList;
/* 00D0 */ UIRuneList* m_runeList;
/* 00D4 */ UIDecomlist* m_decomList;
/* 00D8 */ UIRuneSet_Info* m_runeSetInfo;
/* 00DC */ UIRune_Info* m_runeInfo;
/* 00E0 */ UIRune_Decom* m_runeDecom;
};
#endif