rodecomp/Source/UI/Quest/UIRenewQuestWnd.cpp
ragnarok-clanker 9aad601a95 Decompile 3 functions in Source/UI/Quest/UIRenewQuestWnd.cpp, Source/UI/Quest/UIRenewQuestWnd.h
Batch #4980 by Yommy: 3 byte-identical, 0 confirmed by peer review.

- fn_09942 Nullsub254: byte-identical
- fn_09943 UIOngoingQuestScrollWnd::Slot15: byte-identical
- fn_09944 UIOngoingQuestScrollWnd::Paint: byte-identical

Merged automatically: every function is byte-identical to the original.
2026-10-30 06:38:29 +00:00

127 lines
2.7 KiB
C++

#include "UI/Quest/UIRenewQuestWnd.h"
#include "Client/Mode/ModeCursor.h"
#include "Contents/Configuration/ServiceConfiguration.h"
#include "Contents/MessageTable.h"
#include "Contents/RenewQuestMgr.h"
#include "Render/DeviceContext/DeviceContext.h"
#include "Render/Renderer.h"
#include "Render/Text/TextContext.h"
#include "Render/Textures/SpriteAtlas.h"
#include "Render/Textures/SpritePixels.h"
#include "Render/Textures/Texture.h"
#include "Render/Textures/TextureCache.h"
#include "Resource/Bitmap/BitmapResource.h"
#include "Resource/ResourceMgr.h"
#include "Resource/Sprites/ActionResource.h"
#include "Resource/Sprites/SpriteResource.h"
#include "Resource/TextureNames.h"
#include "UI/Buttons/UIButton.h"
#include "UI/Text/UIStaticText.h"
#include "UI/UIStaticBitmap.h"
#include "Utility/Text/FormatString.h"
#include <cstddef>
#include <cstring>
// OFFSET: 0x007F9240
// OFFSET: 0x007F95D0
// OFFSET: 0x007F97F0
// OFFSET: 0x007F9800
// OFFSET: 0x007F9820
// OFFSET: 0x007F9A70
// OFFSET: 0x007F9C30
// FUNCTION: fn_09942
void Nullsub254() {}
// OFFSET: 0x007F9C40
// FUNCTION: fn_09943
void UIOngoingQuestScrollWnd::Slot15(int, int) {
this->scrollBarWidth = 9;
}
// OFFSET: 0x007F9C50
// FUNCTION: fn_09944
void UIOngoingQuestScrollWnd::Paint() {
this->ClearSurface(0xFFFF00FF);
if (this->parent) {
this->parent->Invalidate();
}
}
// OFFSET: 0x007F9C70
// OFFSET: 0x007F9CB0
// OFFSET: 0x007FB0C0
// FUNCTION: fn_09951
void Nullsub255() {}
// OFFSET: 0x007FB0D0
// FUNCTION: fn_09952
void UIRecommededQuestScrollWnd::Slot15(int, int) {
this->scrollBarWidth = 9;
}
// OFFSET: 0x007FB0E0
// FUNCTION: fn_09953
void UIRecommededQuestScrollWnd::Paint() {
this->ClearSurface(0xFFFF00FF);
if (this->parent) {
this->parent->Invalidate();
}
}
// OFFSET: 0x007FB100
// FUNCTION: fn_09954
void UIRecommededQuestScrollWnd::Slot35(int delta) {
if (this->wheelScroll == 1) {
if (delta < 0) {
this->SendMsg(this->scrollBar, 7, 15, 0, 0, 0);
return;
}
this->SendMsg(this->scrollBar, 7, -15, 0, 0, 0);
}
}
// OFFSET: 0x007FB860
// OFFSET: 0x007FBAD0
// FUNCTION: fn_09961
void UIRenewDetailQuestInfoWnd::Slot25(int x, int y) {
if (y < 17) {
UIFrameWnd::Slot25(x, y);
}
}
// OFFSET: 0x007FBFD0
// OFFSET: 0x007FC870
// OFFSET: 0x007FC9B0
// OFFSET: 0x007FCD80
// FUNCTION: fn_09976
void UIRenewQuestWnd::Slot31(int x, int y) {
this->m_pressed = 0;
this->Invalidate();
UIFrameWnd::Slot31(x, y);
}
// OFFSET: 0x007FCDB0
// FUNCTION: fn_09977
void UIRenewQuestWnd::Slot35(int delta) {
if (this->m_scrollable) {
if (delta < 0) {
this->SendMsg(this->m_scrollBar, 7, 3, 0, 0, 0);
return;
}
this->SendMsg(this->m_scrollBar, 7, -3, 0, 0, 0);
}
}