Maintenance: Second pass on unknown_XXXX members: 140 more renamed (61 files), named from the original binary (accesses at this+offse

Batch #14947 by ragnarok-clanker: no function's compiled code changes; checked with 596 compiled unit(s), including every includer of Source/Client/Input/Language.h, Source/Client/Input/LanguageTC.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Mode/EquipWindowLook.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GraffiSkill.h, Source/Contents/Actors/GrannyGameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/Camera/Camera.h, Source/Contents/Effects/EffectEmitter.h, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/FlyingShipRouteInfo.h, Source/Contents/Ground/GroundGeometry.h, Source/Contents/Ground/GroundSpatial.h, Source/Contents/Items/ItemInfo.h, Source/Render/SpriteQuad.h, Source/Resource/EZeffectResource.h, Source/Resource/Models/AnimatedModelResource.h, Source/Resource/Models/GrannyModelResource.h, Source/Resource/Models/ModelMesh.h, Source/Resource/World/WorldResource.h, Source/UI/Dialogs/UIChooseWnd.h, Source/UI/Items/UISpellListWnd.h, Source/UI/Lists/UIListBoxTemplate.h, Source/UI/MiniPartyGrid.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Text/UIAchWnd.h, Source/UI/Window/UIMonsterInfoWnd.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UITalkboxTrapInputWnd.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
ragnarok-clanker 2026-11-08 18:16:10 +00:00
commit fdbebbba25
61 changed files with 216 additions and 216 deletions

View file

@ -1381,7 +1381,7 @@ int UISpellListWnd::SendMsg(UIWindow* sender, int message, std::intptr_t argumen
return 0;
}
case UM_SETCHOOSE:
this->unknown_00FC = static_cast<short>(argument1);
this->m_sourceSkillId = static_cast<short>(argument1);
return 0;
case UM_REFRESH:
this->UpdateScroll();
@ -1412,14 +1412,14 @@ int UISpellListWnd::SendMsg(UIWindow* sender, int message, std::intptr_t argumen
if (selected < 0 || static_cast<unsigned>(selected) >= this->m_skills.size()) {
return 0;
}
if (this->unknown_00FC != 0) {
mode->SendMsg(MM_SKILL_SELECT_RESPONSE, this->m_skills[selected], this->unknown_00FC, 0, 0);
if (this->m_sourceSkillId != 0) {
mode->SendMsg(MM_SKILL_SELECT_RESPONSE, this->m_skills[selected], this->m_sourceSkillId, 0, 0);
} else {
mode->SendMsg(MM_SELECT_SPELL, this->m_skills[selected], 0, 0, 0);
}
} else if (argument1 == ID_CANCEL) {
if (this->unknown_00FC != 0) {
mode->SendMsg(MM_SKILL_SELECT_RESPONSE, 0, this->unknown_00FC, 0, 0);
if (this->m_sourceSkillId != 0) {
mode->SendMsg(MM_SKILL_SELECT_RESPONSE, 0, this->m_sourceSkillId, 0, 0);
} else {
mode->SendMsg(MM_SELECT_SPELL, 0, 0, 0, 0);
}
@ -9736,7 +9736,7 @@ UIItemCompositionWnd::UIItemCompositionWnd()
// OFFSET: 0x008C90E0
// FUNCTION: fn_11976
UISpellListWnd::UISpellListWnd() : UIItemIdentifyWnd() {
this->unknown_00FC = 0;
this->m_sourceSkillId = 0;
}
// OFFSET: 0x00900B10
@ -11600,7 +11600,7 @@ void UIEquipWnd::RefreshLook()
appearance[2] = g_equipWindowLook.head;
appearance[6] = g_equipWindowLook.bodyPalette;
appearance[7] = g_equipWindowLook.headPalette;
costumeJob = g_equipWindowLook.unknown_0024;
costumeJob = g_equipWindowLook.bodyCostume;
}
appearance[3] = 0;
appearance[4] = 0;
@ -11980,7 +11980,7 @@ int UIChooseWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in
}
const int selected = this->m_list->selected;
if (selected != -1) {
g_modeMgr.GetGameMode()->SendMsg(MM_CHOOSE_MENU, this->m_items[selected] + 1, this->unknown_00C8, 0, 0);
g_modeMgr.GetGameMode()->SendMsg(MM_CHOOSE_MENU, this->m_items[selected] + 1, this->m_npcAid, 0, 0);
g_windowMgr.CloseWindow(WID_CHOOSEWND);
}
}
@ -12003,8 +12003,8 @@ int UIChooseWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in
text = FindItemDescription(itemId).identifiedName;
}
this->m_list->AddLine(text.c_str());
++this->unknown_00B4;
this->m_items.push_back(this->unknown_00B4);
++this->m_lastItemIndex;
this->m_items.push_back(this->m_lastItemIndex);
const int previousWidth = this->m_list->geometry.width;
if (previousWidth < this->m_list->contentWidth + 15) {
this->m_list->Resize(this->m_list->contentWidth + 15, this->m_list->geometry.height);
@ -12016,7 +12016,7 @@ int UIChooseWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in
}
return 0;
case UM_SETNAID:
this->unknown_00C8 = static_cast<int>(a);
this->m_npcAid = static_cast<int>(a);
return 0;
case UM_REPLAY_FRAMED_DATA: {
const unsigned char* records = reinterpret_cast<const unsigned char*>(a);
@ -12052,7 +12052,7 @@ int UIChooseWnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::in
}
case UM_CANCEL_NPC_CHOICE:
if (CMode* mode = g_modeMgr.GetGameMode()) {
mode->SendMsg(MM_CHOOSE_MENU, -1, this->unknown_00C8, 0, 0);
mode->SendMsg(MM_CHOOSE_MENU, -1, this->m_npcAid, 0, 0);
}
return 0;
default:
@ -12074,8 +12074,8 @@ int UIChoose3Wnd::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::i
line = FindItemDescription(itemId).identifiedName;
}
this->m_list->AddLine(line);
++this->unknown_00B4;
this->m_items.push_back(this->unknown_00B4);
++this->m_lastItemIndex;
this->m_items.push_back(this->m_lastItemIndex);
UIListBox* list = this->m_list;
const int listWidth = list->geometry.width;
const int growWidth = 0;

View file

@ -3617,7 +3617,7 @@ void UISlotBmpButton::Paint() {
if (this->m_slot >= 0) {
CharacterInfo* info = reinterpret_cast<CharacterInfo*>(g_modeMgr.gameMode->SendMsg(MM_QUERYCHARICTORINFO, this->m_slot, 0, 0, 0));
if (info) {
if (info->unknown_00AA > 0 || info->unknown_00A6 > 0) {
if (info->nameChangeCount > 0 || info->slotChangeCount > 0) {
if (this->m_inRange) {
CBitmapRes* bitmap = static_cast<CBitmapRes*>(ResourceMgr::Instance().Load(Resolve("유저인터페이스\\select_character_ver3\\buyslot_add_ons.bmp")));
this->DrawBitmap(0, 0, bitmap, true);

View file

@ -10,6 +10,6 @@ UIChooseWnd::~UIChooseWnd() {
// FUNCTION: fn_11932
UIChooseWnd::UIChooseWnd()
: UIFrameWnd(0), m_list(nullptr), m_okButton(nullptr), m_cancelButton(nullptr) {
this->unknown_00B4 = -1;
this->m_lastItemIndex = -1;
this->m_placement = nullptr;
}

View file

@ -19,10 +19,10 @@ public:
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
std::vector<unsigned char> GetReplayData() override;
/* 00B4 */ int unknown_00B4;
/* 00B4 */ int m_lastItemIndex;
/* 00B8 */ std::vector<int> m_items;
/* 00C4 */ UIListBox* m_list;
/* 00C8 */ int unknown_00C8;
/* 00C8 */ int m_npcAid;
/* 00CC */ ChooseWndInfo* m_placement;
/* 00D0 */ UIBitmapButton* m_okButton;
/* 00D4 */ UIBitmapButton* m_cancelButton;

View file

@ -229,7 +229,7 @@ bool CUIEquipmentPropertiesWnd::IsTransmitMouseInput() {
// FUNCTION: fn_15025
template <>
CUIListBoxEx<EquipmentPropertiesWnd::CUIItemEquipmentPropertiesLine, std::string>::CUIListBoxEx()
: CUIControl(), unknown_0084(), unknown_0088(), unknown_008C(), imageNames(), disabledName(), scrollBar(nullptr),
: CUIControl(), hoverImage(), pressedImage(), disabledImage(), imageNames(), disabledName(), scrollBar(nullptr),
itemWidth(0), rowHeight(0), itemX(0), itemY(0), layoutFlag(0), unknown_00C5{}, items(), data(),
selected(static_cast<unsigned int>(-1)), selectionFlag(1), rebind(0), unknown_00E2{}, onSelect(), binder() {
}

View file

@ -11,7 +11,7 @@ public:
UISpellListWnd();
~UISpellListWnd() override;
/* 00F0 */ std::vector<std::uint32_t> m_skills;
/* 00FC */ std::int16_t unknown_00FC;
/* 00FC */ std::int16_t m_sourceSkillId;
void Paint() override;
int SendMsg(UIWindow* sender, int message, std::intptr_t argument1, std::intptr_t argument2, std::intptr_t argument3, std::intptr_t argument4) override;

View file

@ -269,9 +269,9 @@ public:
}
/* 0080 */ CResPtr<CBitmapRes> normalImage;
/* 0084 */ CResPtr<CBitmapRes> unknown_0084;
/* 0088 */ CResPtr<CBitmapRes> unknown_0088;
/* 008C */ CResPtr<CBitmapRes> unknown_008C;
/* 0084 */ CResPtr<CBitmapRes> hoverImage;
/* 0088 */ CResPtr<CBitmapRes> pressedImage;
/* 008C */ CResPtr<CBitmapRes> disabledImage;
/* 0090 */ std::map<int, std::string> imageNames;
/* 0098 */ std::string disabledName;
/* 00B0 */ CUIVScrollBar* scrollBar;
@ -472,9 +472,9 @@ public:
}
/* 0080 */ CResPtr<CBitmapRes> normalImage;
/* 0084 */ CResPtr<CBitmapRes> unknown_0084;
/* 0088 */ CResPtr<CBitmapRes> unknown_0088;
/* 008C */ CResPtr<CBitmapRes> unknown_008C;
/* 0084 */ CResPtr<CBitmapRes> hoverImage;
/* 0088 */ CResPtr<CBitmapRes> pressedImage;
/* 008C */ CResPtr<CBitmapRes> disabledImage;
/* 0090 */ std::map<int, std::string> imageNames;
/* 0098 */ std::string disabledName;
/* 00B0 */ CUIVScrollBar* scrollBar;

View file

@ -23,7 +23,7 @@ struct MiniPartyGrid {
int FindCell(int x, int y) const;
void BuildAvailableCells();
/* 0000 */ std::uint32_t unknown_0000;
/* 0000 */ std::uint32_t vtable;
/* 0004 */ int left;
/* 0008 */ int top;
/* 000C */ int right;

View file

@ -688,7 +688,7 @@ CUIContents::CUIContents() : CUIControl(), icon(nullptr), title(nullptr), textVi
// OFFSET: 0x00A54D90
// FUNCTION: fn_16290
CUIOngoingQuestInfo::CUIOngoingQuestInfo()
: titleBar(nullptr), unknown_00DC{}, titleText(nullptr), scrollWindow(nullptr), dateText(nullptr), unknown_00EC{}, questId(0) {
: titleBar(nullptr), backgroundStorage{}, titleText(nullptr), scrollWindow(nullptr), dateText(nullptr), closeButtonStorage{}, questId(0) {
}
namespace OngoingQuestInfo {

View file

@ -27,14 +27,14 @@ public:
/* 00D8 */ CUITitleBar* titleBar;
union {
/* 00DC */ unsigned char unknown_00DC[0x04];
/* 00DC */ unsigned char backgroundStorage[0x04];
/* 00DC */ CUIStaticImage* background;
};
/* 00E0 */ CUIStaticText* titleText;
/* 00E4 */ OngoingQuestInfo::CUIScrollWindow* scrollWindow;
/* 00E8 */ CUIStaticText* dateText;
union {
/* 00EC */ unsigned char unknown_00EC[0x04];
/* 00EC */ unsigned char closeButtonStorage[0x04];
/* 00EC */ CUIImageButton* closeButton;
};
/* 00F0 */ unsigned int questId;

View file

@ -42,7 +42,7 @@ void CUIListBoxEx<SelectPackageItemBox::CUITabInfo, SelectPackageItemBox::CTabIn
// FUNCTION: fn_16646
template <>
CUIListBoxEx<SelectPackageItemBox::CUIItemInfo, ITEM_INFO>::CUIListBoxEx()
: CUIControl(), unknown_0084(), unknown_0088(), unknown_008C(), imageNames(), disabledName(), scrollBar(nullptr),
: CUIControl(), hoverImage(), pressedImage(), disabledImage(), imageNames(), disabledName(), scrollBar(nullptr),
itemWidth(0), rowHeight(0), itemX(0), itemY(0), layoutFlag(0), unknown_00C5{}, items(), data(),
selected(static_cast<unsigned int>(-1)), selectionFlag(1), rebind(0), unknown_00E2{}, onSelect(), binder() {
}
@ -51,7 +51,7 @@ CUIListBoxEx<SelectPackageItemBox::CUIItemInfo, ITEM_INFO>::CUIListBoxEx()
// FUNCTION: fn_16647
template <>
CUIListBoxEx<SelectPackageItemBox::CUITabInfo, SelectPackageItemBox::CTabInfoData>::CUIListBoxEx()
: CUIControl(), unknown_0084(), unknown_0088(), unknown_008C(), imageNames(), disabledName(), scrollBar(nullptr),
: CUIControl(), hoverImage(), pressedImage(), disabledImage(), imageNames(), disabledName(), scrollBar(nullptr),
itemWidth(0), rowHeight(0), itemX(0), itemY(0), layoutFlag(0), unknown_00C5{}, items(), data(),
selected(static_cast<unsigned int>(-1)), selectionFlag(1), rebind(0), unknown_00E2{}, onSelect(), binder() {
}

View file

@ -22,7 +22,7 @@ class UIBitmapButton;
class UITextButton;
struct UIAchListInfo {
/* 0000 */ int unknown_0000;
/* 0000 */ int treeHead;
/* 0004 */ int count;
};

View file

@ -1981,11 +1981,11 @@ void CUIListBoxEx<AdventureGuide::CUITabInfo, Guide_Intro::Contents>::AddNewItem
template <>
void CUIListBox<AdventureGuide::CUISubTab>::LoadSkin(int resolveSkin) {
this->NormalImage() = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
this->unknown_0084 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->unknown_0088 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->unknown_008C = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
this->hoverImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->pressedImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->disabledImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
for (AdventureGuide::CUISubTab* item : this->items) {
item->SetImageResources(this->NormalImage(), this->unknown_0084, this->unknown_0088, this->unknown_008C);
item->SetImageResources(this->NormalImage(), this->hoverImage, this->pressedImage, this->disabledImage);
}
}
@ -1994,11 +1994,11 @@ void CUIListBox<AdventureGuide::CUISubTab>::LoadSkin(int resolveSkin) {
template <>
void CUIListBox<AdventureGuide::CUITab>::LoadSkin(int resolveSkin) {
this->NormalImage() = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
this->unknown_0084 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->unknown_0088 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->unknown_008C = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
this->hoverImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->pressedImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->disabledImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
for (AdventureGuide::CUITab* item : this->items) {
item->SetImageResources(this->NormalImage(), this->unknown_0084, this->unknown_0088, this->unknown_008C);
item->SetImageResources(this->NormalImage(), this->hoverImage, this->pressedImage, this->disabledImage);
}
}
@ -2007,11 +2007,11 @@ void CUIListBox<AdventureGuide::CUITab>::LoadSkin(int resolveSkin) {
template <>
void CUIListBoxEx<AdventureGuide::CUIItemInfo, AdventureGuide::CItemData>::LoadSkin(int resolveSkin) {
this->NormalImage() = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
this->unknown_0084 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->unknown_0088 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->unknown_008C = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
this->hoverImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->pressedImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->disabledImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
for (AdventureGuide::CUIItemInfo* item : this->items) {
item->SetImageResources(this->NormalImage(), this->unknown_0084, this->unknown_0088, this->unknown_008C);
item->SetImageResources(this->NormalImage(), this->hoverImage, this->pressedImage, this->disabledImage);
}
}
@ -2020,11 +2020,11 @@ void CUIListBoxEx<AdventureGuide::CUIItemInfo, AdventureGuide::CItemData>::LoadS
template <>
void CUIListBoxEx<AdventureGuide::CUIMonsterInfo, AdventureGuide::CMonsterData>::LoadSkin(int resolveSkin) {
this->NormalImage() = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
this->unknown_0084 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->unknown_0088 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->unknown_008C = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
this->hoverImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->pressedImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->disabledImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
for (AdventureGuide::CUIMonsterInfo* item : this->items) {
item->SetImageResources(this->NormalImage(), this->unknown_0084, this->unknown_0088, this->unknown_008C);
item->SetImageResources(this->NormalImage(), this->hoverImage, this->pressedImage, this->disabledImage);
}
}
@ -2033,11 +2033,11 @@ void CUIListBoxEx<AdventureGuide::CUIMonsterInfo, AdventureGuide::CMonsterData>:
template <>
void CUIListBoxEx<AdventureGuide::CUIQuestInfo, AdventureGuide::CQuestInfo>::LoadSkin(int resolveSkin) {
this->NormalImage() = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
this->unknown_0084 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->unknown_0088 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->unknown_008C = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
this->hoverImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->pressedImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->disabledImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
for (AdventureGuide::CUIQuestInfo* item : this->items) {
item->SetImageResources(this->NormalImage(), this->unknown_0084, this->unknown_0088, this->unknown_008C);
item->SetImageResources(this->NormalImage(), this->hoverImage, this->pressedImage, this->disabledImage);
}
}
@ -2046,11 +2046,11 @@ void CUIListBoxEx<AdventureGuide::CUIQuestInfo, AdventureGuide::CQuestInfo>::Loa
template <>
void CUIListBoxEx<AdventureGuide::CUITabInfo, Guide_Intro::Contents>::LoadSkin(int resolveSkin) {
this->NormalImage() = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[0], resolveSkin));
this->unknown_0084 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->unknown_0088 = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->unknown_008C = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
this->hoverImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[1], resolveSkin));
this->pressedImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->imageNames[2], resolveSkin));
this->disabledImage = CResPtr<CBitmapRes>(this->LoadBitmapResource(this->disabledName, resolveSkin));
for (AdventureGuide::CUITabInfo* item : this->items) {
item->SetImageResources(this->NormalImage(), this->unknown_0084, this->unknown_0088, this->unknown_008C);
item->SetImageResources(this->NormalImage(), this->hoverImage, this->pressedImage, this->disabledImage);
}
}

View file

@ -7,7 +7,7 @@
#include <string>
struct MonsterInfo {
/* 0000 */ short unknown_0000;
/* 0000 */ short packetType;
/* 0002 */ short job;
/* 0004 */ short level;
/* 0006 */ short size;

View file

@ -58,12 +58,12 @@ protected:
union {
/* 00FC */ UIBitmapButton* m_buttons[6];
struct {
/* 00FC */ UIWindow* unknown_00FC;
/* 0100 */ UIWindow* unknown_0100;
/* 00FC */ UIWindow* m_searchButton;
/* 0100 */ UIWindow* m_startButton;
/* 0104 */ UIWindow* m_routeFooter;
/* 0108 */ UIWindow* m_searchFooter;
/* 010C */ UIWindow* unknown_010C;
/* 0110 */ UIWindow* unknown_0110;
/* 010C */ UIWindow* m_systemChangeButton;
/* 0110 */ UIWindow* m_folderButton;
};
};
/* 0114 */ UICheckBox* m_allowGates;

View file

@ -90,10 +90,10 @@ public:
/* 0264 */ short m_job;
/* 0266 */ short m_head;
/* 0268 */ short m_costumeJob;
/* 026A */ short unknown_026A;
/* 026A */ short m_weapon;
/* 026C */ short m_level;
/* 026E */ short m_skillPoint;
/* 0270 */ short unknown_0270;
/* 0270 */ short m_accessory;
/* 0272 */ short m_shield;
/* 0274 */ short accessory2;
/* 0276 */ short accessory3;

View file

@ -684,14 +684,14 @@ int UINewSelectCharWnd::SendMsg(UIWindow* sender, int message, std::intptr_t arg
static_cast<CLoginMode*>(g_modeMgr.GetLoginMode())->ShowNotice(0x2E, false);
}
} else {
if (info->unknown_00A6 > 0) {
if (info->slotChangeCount > 0) {
shown = static_cast<CLoginMode*>(g_modeMgr.GetLoginMode())->ShowNotice(0x2D, false);
}
if (info->unknown_00AA > 0) {
if (info->nameChangeCount > 0) {
static_cast<CLoginMode*>(g_modeMgr.GetLoginMode())->ShowNotice(0x2F, shown);
}
}
} else if (info != nullptr && info->unknown_00AA > 0) {
} else if (info != nullptr && info->nameChangeCount > 0) {
static_cast<CLoginMode*>(g_modeMgr.GetLoginMode())->ShowNotice(0x2F, shown);
}
}
@ -944,7 +944,7 @@ int UINewSelectCharWnd::SendMsg(UIWindow* sender, int message, std::intptr_t arg
packet.id = 0x8D4;
packet.from = static_cast<std::int16_t>(this->m_unknown138);
packet.to = selected;
packet.count = static_cast<std::int16_t>(info->unknown_00A6);
packet.count = static_cast<std::int16_t>(info->slotChangeCount);
GetRagConnection().Send(reinterpret_cast<const PacketLengths&>(GetRagConnection()).FixedLength(packet.id), &packet);
}
}

View file

@ -6,10 +6,10 @@
class UIEditCtrl;
struct TalkboxTrapTarget {
/* 0000 */ int unknown_0000;
/* 0004 */ int unknown_0004;
/* 0008 */ int unknown_0008;
/* 000C */ int unknown_000C;
/* 0000 */ int skillId;
/* 0004 */ int cellX;
/* 0008 */ int cellY;
/* 000C */ int skillLevel;
};
struct TalkboxTrapRequest {

View file

@ -867,7 +867,7 @@ void UIWindowMgr::ResetWindows() {
// OFFSET: 0x00A88490
// FUNCTION: fn_17086
UIWindowMgr::UIWindowMgr()
: activeWindowId(0), retainedPersistentWindow(false), window_03DC(nullptr), previousMouseX(-1), previousMouseY(-1), unknown_0526(true),
: activeWindowId(0), retainedPersistentWindow(false), window_03DC(nullptr), previousMouseX(-1), previousMouseY(-1), basicInfoExpanded(true),
window_0A30(nullptr), macroReporterVisible(false), unknown_4F211(false), window_4F2AC(nullptr) {
this->ResetWindows();
this->backgroundSurface = nullptr;

View file

@ -80,7 +80,7 @@ public:
/* 0060 */ int drawCompass;
/* 0064 */ int dragAllItems;
/* 0068 */ int compactCompositionLayout;
/* 006C */ int unknown_006C;
/* 006C */ int rightToLeftChatEnabled;
/* 0070 */ int unknown_0070;
/* 0074 */ int unknown_0074;
/* 0078 */ int unknown_0078;
@ -344,24 +344,24 @@ public:
/* 0508 */ int windowVisibilityState;
/* 050C */ std::list<UIWindow*> hiddenWindows;
/* 0514 */ unsigned char basicInfoPlacement[0x12];
/* 0526 */ bool unknown_0526;
/* 0527 */ unsigned char unknown_0527[0x25];
/* 0526 */ bool basicInfoExpanded;
/* 0527 */ unsigned char itemPlacementStorage[0x25];
/* 054C */ int itemWndVisible;
/* 0550 */ unsigned char unknown_0550[0x18];
/* 0550 */ unsigned char questPlacement[0x18];
/* 0568 */ int questWndVisible;
/* 056C */ unsigned char unknown_056C[0x1C];
/* 056C */ unsigned char questDisplayAndStatusPlacement[0x1C];
/* 0588 */ int statusWndVisible;
/* 058C */ unsigned char unknown_058C[0x18];
/* 058C */ unsigned char equipPlacementStorage[0x18];
/* 05A4 */ int equipWndVisible;
/* 05A8 */ unsigned char unknown_05A8[0x14];
/* 05A8 */ unsigned char optionPlacement[0x14];
/* 05BC */ int optionWndVisible;
/* 05C0 */ unsigned char unknown_05C0[0x10];
/* 05C0 */ unsigned char shortenItemPlacement[0x10];
/* 05D0 */ int shortenItemWndVisible;
/* 05D4 */ unsigned char unknown_05D4[0x168];
/* 073C */ int messengerGroupWndVisible;
/* 0740 */ unsigned char messengerPartyTabState[0x08];
/* 0748 */ NormalItemSlotWindow m_normalItemSlotWindow;
/* 075C */ unsigned char unknown_075C[0x20];
/* 075C */ unsigned char exchangeAcceptAndSkillListPlacement[0x20];
/* 077C */ int skillListWndVisible;
/* 0780 */ unsigned char merchantItemPlacement[0x10];
/* 0790 */ int merchantItemWndVisible;
@ -369,9 +369,9 @@ public:
/* 0848 */ WindowPlacement m_whisperPlacement;
/* 0858 */ unsigned char unknown_0858[0x94];
/* 08EC */ int homunculusSkillWndVisible;
/* 08F0 */ unsigned char unknown_08F0[0x20];
/* 08F0 */ unsigned char mercenaryInfoAndSkillPlacement[0x20];
/* 0910 */ int mercenarySkillWndVisible;
/* 0914 */ unsigned char unknown_0914[0x20];
/* 0914 */ unsigned char subChatPlacements[0x20];
/* 0934 */ unsigned char hotkeyPlacement[0x10];
/* 0944 */ unsigned char battlefieldPlacement[0x80];
/* 09C4 */ std::map<HWND, CWebBrowser*> browsers;
@ -400,7 +400,7 @@ public:
/* 4F1A4 */ unsigned currentHitUid;
/* 4F1A8 */ int miniMapClickX;
/* 4F1AC */ int miniMapClickY;
/* 4F1B0 */ unsigned char unknown_4F1B0[0x1C];
/* 4F1B0 */ unsigned char miniMapPlacementState[0x1C];
/* 4F1CC */ UIWindow* window_4F1CC;
/* 4F1D0 */ UIWindow* window_4F1D0;
/* 4F1D4 */ UIWindow* window_4F1D4;
@ -414,7 +414,7 @@ public:
/* 4F1F4 */ UIWindow* window_4F1F4;
/* 4F1F8 */ UIWindow* window_4F1F8;
/* 4F1FC */ UIWindow* window_4F1FC;
/* 4F200 */ unsigned char unknown_4F200[16];
/* 4F200 */ unsigned char macroReporterPlacement[16];
/* 4F210 */ bool macroReporterVisible;
/* 4F211 */ bool unknown_4F211;
/* 4F214 */ std::vector<WindowTextRecord> unknown_4F214;