Decompile 3 functions in Source/UI/Quest/UIRenewQuestUI.cpp, Source/UI/Quest/UIRenewQuestUI.h
Batch #3395 by eAthena: 3 byte-identical, 0 confirmed by peer review. - fn_16620 RenewQuestUI::CUIQuestList::Paint: byte-identical - fn_16621 CUIRenewQuestUI::Paint: byte-identical - fn_16627 RenewQuestUI::CUIQuestItem::Slot48: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
6980efd104
commit
dc660c6790
2 changed files with 66 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
#include "UI/Quest/UIRenewQuestUI.h"
|
||||
#include "Utility/Cipher/XorBytes.h"
|
||||
|
||||
#include <cstddef>
|
||||
|
|
@ -405,3 +406,29 @@ const char* EncryptedName<52, 0xBFF5C517A1A77F59ULL>::Text() {
|
|||
// OFFSET: 0x00A5AF00
|
||||
|
||||
// OFFSET: 0x00A5AFF0
|
||||
|
||||
// OFFSET: 0x00A66BE0
|
||||
|
||||
// OFFSET: 0x00A66C50
|
||||
// FUNCTION: fn_16620
|
||||
void RenewQuestUI::CUIQuestList::Paint() {
|
||||
this->ClearSurface(0xFFFF00FF);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A66C60
|
||||
// FUNCTION: fn_16621
|
||||
void CUIRenewQuestUI::Paint() {
|
||||
this->ClearSurface(0xFFFF00FF);
|
||||
}
|
||||
|
||||
// OFFSET: 0x00A66F40
|
||||
|
||||
// OFFSET: 0x00A66F80
|
||||
|
||||
// OFFSET: 0x00A66FC0
|
||||
// FUNCTION: fn_16627
|
||||
void RenewQuestUI::CUIQuestItem::Slot48() {
|
||||
this->pressed = 0;
|
||||
UIWindow::Move(this->baseX, this->baseY);
|
||||
this->Invalidate();
|
||||
}
|
||||
|
|
|
|||
39
Source/UI/Quest/UIRenewQuestUI.h
Normal file
39
Source/UI/Quest/UIRenewQuestUI.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#ifndef RAGNAROK_SOURCE_UI_QUEST_UIRENEWQUESTUI_H
|
||||
#define RAGNAROK_SOURCE_UI_QUEST_UIRENEWQUESTUI_H
|
||||
|
||||
#include "UI/Lists/UIListBoxTemplate.h"
|
||||
#include "UI/Window/UIControl.h"
|
||||
#include "UI/Window/UIFrameWnd.h"
|
||||
|
||||
namespace RenewQuestUI {
|
||||
class CUIQuestItem : public CUIListItem {
|
||||
public:
|
||||
void Move(int x, int y) override;
|
||||
void Slot25(int x, int y) override;
|
||||
void Slot31(int x, int y) override;
|
||||
void Slot48() override;
|
||||
|
||||
/* 00E8 */ unsigned char unknown_00E8[0x14];
|
||||
/* 00FC */ int questType;
|
||||
/* 0100 */ int questId;
|
||||
/* 0104 */ unsigned char pressed;
|
||||
/* 0108 */ int baseX;
|
||||
/* 010C */ int baseY;
|
||||
};
|
||||
|
||||
class CUIQuestList : public CUIControl {
|
||||
public:
|
||||
void Paint() override;
|
||||
};
|
||||
}
|
||||
|
||||
class CUIRenewQuestUI : public UIFrameWnd {
|
||||
public:
|
||||
void Paint() override;
|
||||
};
|
||||
|
||||
#if defined(_WIN32) && !defined(_WIN64)
|
||||
static_assert(sizeof(RenewQuestUI::CUIQuestItem) == 0x110);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue