Batch #7703 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_13442 ReturnTrue: byte-identical Merged automatically: every function is byte-identical to the original.
52 lines
1.6 KiB
C++
52 lines
1.6 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_SKILL_UISKILLLISTWND_H
|
|
#define RAGNAROK_SOURCE_UI_SKILL_UISKILLLISTWND_H
|
|
|
|
#include "Contents/Skills/SkillInfo.h"
|
|
#include "Contents/UserData/NormalItemSlots.h"
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstddef>
|
|
#include <list>
|
|
|
|
class UISkillListWnd : public UIFrameWnd {
|
|
public:
|
|
bool Slot03() override;
|
|
void Slot11() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot26(int x, int y) override;
|
|
void Slot32(int x, int y) override;
|
|
void Slot33(int x, int y) override;
|
|
void Slot35(int value) override;
|
|
|
|
__declspec(noinline) int SkillAt(int x, int y);
|
|
__declspec(noinline) CSkillInfo GetSkillByIndex(int index);
|
|
CSkillInfo GetSkillAt(int x, int y);
|
|
CSkillInfo GetVisibleSkill(int row);
|
|
void UpdateScrollBar();
|
|
void UpdateRowButtons();
|
|
|
|
/* 00B4 */ int unknown_00B4;
|
|
/* 00B8 */ UIWindow* scrollBar;
|
|
/* 00C4 */ UIWindow* upgradeButtons[7];
|
|
/* 00E0 */ UIWindow* levelButtons[7];
|
|
/* 00FC */ UIWindow* levelLabels[7];
|
|
/* 0118 */ int hovered;
|
|
/* 011C */ int scroll;
|
|
/* 0120 */ int columns;
|
|
/* 0124 */ int visibleRows;
|
|
/* 0128 */ int unknown_0128;
|
|
/* 012C */ std::list<CSkillInfo> skills;
|
|
/* 0134 */ SkillListWndInfo* saved;
|
|
/* 0138 */ unsigned char unknown_0138[0xC];
|
|
/* 0144 */ int skillTab;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(offsetof(UISkillListWnd, hovered) == 0x118);
|
|
static_assert(offsetof(UISkillListWnd, skills) == 0x12C);
|
|
static_assert(offsetof(UISkillListWnd, saved) == 0x134);
|
|
static_assert(offsetof(UISkillListWnd, upgradeButtons) == 0xC4);
|
|
static_assert(offsetof(UISkillListWnd, skillTab) == 0x144);
|
|
#endif
|
|
|
|
#endif
|