Decompile 3 functions in Source/UI/UIRefiningWnd.cpp, Source/UI/UIRefiningWnd.h
Batch #7866 by eAthena: 0 byte-identical, 3 confirmed by peer review. - fn_09891 UIRefining_BtnAgain::UIRefining_BtnAgain: logic confirmed by peer review - fn_09892 UIRefining_BtnRefining::UIRefining_BtnRefining: logic confirmed by peer review - fn_09893 UIRefining_BtnReturn::UIRefining_BtnReturn: logic confirmed by peer review Peer-reviewed-by: secret, Romain, Tanke, pedrao Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
6b0e46c28e
commit
3cb69484ea
2 changed files with 28 additions and 6 deletions
|
|
@ -46,6 +46,30 @@ struct RefiningClosePacket {
|
|||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
// OFFSET: 0x007F4920
|
||||
// FUNCTION: fn_09890
|
||||
UIRefiningWnd::UIRefiningWnd()
|
||||
: UIFrameWnd(*reinterpret_cast<UIWindowContext*>(nullptr), *reinterpret_cast<UIFrameContext*>(nullptr), 0), refiningButton(nullptr), returnButton(nullptr),
|
||||
unknown_00C0(nullptr), state(0), result(7), frameInterval(100), stateTick(0), frame(0), selectedMaterial(-1), materials(), catalystEnabled(0),
|
||||
catalystItemId(0), catalystCount(0), item(0), unknown_01F0(0), nextMaterials(), nextCatalystCount(0), nextItem(0) {
|
||||
this->catalystItemId = 6635;
|
||||
}
|
||||
|
||||
// OFFSET: 0x007F4A70
|
||||
// FUNCTION: fn_09891
|
||||
UIRefining_BtnAgain::UIRefining_BtnAgain(UIWindowContext& windows, UIButtonContext& controls) : UIBitmapButton(windows, controls), cost(0) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x007F4AD0
|
||||
// FUNCTION: fn_09892
|
||||
UIRefining_BtnRefining::UIRefining_BtnRefining(UIWindowContext& windows, UIButtonContext& controls) : UIBitmapButton(windows, controls), cost(0) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x007F4B30
|
||||
// FUNCTION: fn_09893
|
||||
UIRefining_BtnReturn::UIRefining_BtnReturn(UIWindowContext& windows, UIButtonContext& controls) : UIBitmapButton(windows, controls), highlighted(1) {
|
||||
}
|
||||
|
||||
// OFFSET: 0x007F5E30
|
||||
// FUNCTION: fn_09907
|
||||
void UIRefiningWnd::Slot15(int width, int height) {
|
||||
|
|
|
|||
|
|
@ -24,8 +24,7 @@ static_assert(sizeof(RefiningMaterial) == 9);
|
|||
|
||||
class UIRefining_BtnAgain : public UIBitmapButton {
|
||||
public:
|
||||
// INLINED
|
||||
UIRefining_BtnAgain(UIWindowContext& windows, UIButtonContext& controls) : UIBitmapButton(windows, controls), cost(0) {}
|
||||
UIRefining_BtnAgain(UIWindowContext& windows, UIButtonContext& controls);
|
||||
void Paint() override;
|
||||
void Enable(unsigned char value) override;
|
||||
void UpdateBitmaps();
|
||||
|
|
@ -37,8 +36,7 @@ public:
|
|||
|
||||
class UIRefining_BtnRefining : public UIBitmapButton {
|
||||
public:
|
||||
// INLINED
|
||||
UIRefining_BtnRefining(UIWindowContext& windows, UIButtonContext& controls) : UIBitmapButton(windows, controls), cost(0) {}
|
||||
UIRefining_BtnRefining(UIWindowContext& windows, UIButtonContext& controls);
|
||||
void Paint() override;
|
||||
void Enable(unsigned char value) override;
|
||||
|
||||
|
|
@ -47,8 +45,7 @@ public:
|
|||
|
||||
class UIRefining_BtnReturn : public UIBitmapButton {
|
||||
public:
|
||||
// INLINED
|
||||
UIRefining_BtnReturn(UIWindowContext& windows, UIButtonContext& controls) : UIBitmapButton(windows, controls), highlighted(1) {}
|
||||
UIRefining_BtnReturn(UIWindowContext& windows, UIButtonContext& controls);
|
||||
void Paint() override;
|
||||
void UpdateBitmaps();
|
||||
|
||||
|
|
@ -73,6 +70,7 @@ public:
|
|||
|
||||
class UIRefiningWnd : public UIFrameWnd {
|
||||
public:
|
||||
UIRefiningWnd();
|
||||
void Slot10(int x, int y, std::intptr_t value) override;
|
||||
void Slot15(int width, int height) override;
|
||||
void Slot19() override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue