rodecomp/Source/UI/GameSettings/GameSettingsUI.cpp
ragnarok-clanker 00318f46b4 Decompile 7 functions in Source/UI/GameSettings/GameSettingsUI.cpp, Source/UI/GameSettings/GameSettingsUI.h
Batch #3131 by eAthena: 7 byte-identical, 0 confirmed by peer review.

- fn_15970 GameSettingsUI::CUIGroup::Apply: byte-identical
- fn_15977 GameSettingsUI::CUIPage::Apply: byte-identical
- fn_15979 GameSettingsUI::CUIGroupSound::Paint: byte-identical
- fn_15980 GameSettingsUI::CUIGroupSpriteDetailLevel::Paint: byte-identical
- fn_15981 GameSettingsUI::CUIGroupTextureDetailLevel::Paint: byte-identical
- fn_15983 GameSettingsUI::CUIOptionItem::Paint: byte-identical
- fn_15985 GameSettingsUI::CUIComboItem::Slot16: byte-identical

Merged automatically: every function is byte-identical to the original.
Adds to the build: Source/UI/GameSettings/GameSettingsUI.cpp
2026-10-29 20:34:21 +00:00

75 lines
1.4 KiB
C++

#include "UI/GameSettings/GameSettingsUI.h"
#include "Contents/Configuration/ServiceOptions.h"
#include "Contents/MessageTable.h"
#include "Contents/SkinMgr.h"
#include "Network/Connection/Connection.h"
#include "Network/Packets/PacketLengths.h"
#include "UI/Window/UIWindowMgr.h"
#include "UI/Window/WindowBorder.h"
#include <cstdint>
namespace {
struct RodexSpamOptionPacket {
/* 0000 */ std::int16_t id;
/* 0004 */ int option;
/* 0008 */ int value;
};
static_assert(sizeof(RodexSpamOptionPacket) == 12);
}
namespace GameSettingsUI {
// OFFSET: 0x00A40420
// FUNCTION: fn_15970
void CUIGroup::Apply() {
}
// OFFSET: 0x00A40430
// OFFSET: 0x00A40480
// OFFSET: 0x00A404F0
// OFFSET: 0x00A40550
// OFFSET: 0x00A408D0
// FUNCTION: fn_15977
void CUIPage::Apply() {
for (UIWindow* child : this->m_children) {
static_cast<CUIGroup*>(child)->Apply();
}
}
// OFFSET: 0x00A40B90
// FUNCTION: fn_15979
void CUIGroupSound::Paint() {
this->ClearSurface(0xFFFF00FF);
}
// OFFSET: 0x00A40BA0
// FUNCTION: fn_15980
void CUIGroupSpriteDetailLevel::Paint() {
this->ClearSurface(0xFFFF00FF);
}
// OFFSET: 0x00A40BB0
// FUNCTION: fn_15981
void CUIGroupTextureDetailLevel::Paint() {
this->ClearSurface(0xFFFF00FF);
}
// OFFSET: 0x00A40BC0
// OFFSET: 0x00A40BF0
// FUNCTION: fn_15983
void CUIOptionItem::Paint() {
this->ClearSurface(0xFFFF00FF);
}
// OFFSET: 0x00A40C00
// OFFSET: 0x00A40C30
// FUNCTION: fn_15985
void CUIComboItem::Slot16() {
}
}