Batch #5716 by Yommy: 0 byte-identical, 2 confirmed by peer review. - fn_12682 UISubChatHisWnd::Paint: logic confirmed by peer review - fn_12692 UIBattleMsgOptionWnd::Slot25: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, willerthal Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Shortcuts/UIQuickSlotWnd.cpp
54 lines
1.4 KiB
C++
54 lines
1.4 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_CHAT_UISUBCHATHISWND_H
|
|
#define RAGNAROK_SOURCE_UI_CHAT_UISUBCHATHISWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <string>
|
|
|
|
class UIChatHisBox;
|
|
class UIEditCtrl;
|
|
struct SubChatHisWndInfo;
|
|
|
|
struct SubChatHistoryState {
|
|
/* 0000 */ int unknown_0000;
|
|
/* 0004 */ int unknown_0004;
|
|
/* 0008 */ int unknown_0008;
|
|
/* 000C */ int unknown_000C;
|
|
/* 0010 */ int unknown_0010;
|
|
/* 0014 */ int unknown_0014;
|
|
/* 0018 */ int unknown_0018;
|
|
};
|
|
|
|
class UISubChatHisWnd : public UIFrameWnd {
|
|
public:
|
|
void Move(int x, int y) override;
|
|
void Slot11() override;
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot26(int x, int y) override;
|
|
void Slot27(int x, int y) override;
|
|
void Slot31(int x, int y) override;
|
|
bool Slot42(void* output) override;
|
|
UIChatHisBox* ChatBox() const { return m_chatBox; }
|
|
std::string Name() const { return m_name; }
|
|
|
|
private:
|
|
/* 00B4 */ UIChatHisBox* m_chatBox;
|
|
/* 00B8 */ SubChatHisWndInfo* m_saved;
|
|
/* 00BC */ unsigned char unknown_00BC[4];
|
|
/* 00C0 */ SubChatHistoryState m_state;
|
|
/* 00DC */ unsigned char unknown_00DC[0xC];
|
|
/* 00E8 */ int m_inputHeight;
|
|
/* 00EC */ int m_inputWidth;
|
|
/* 00F0 */ int unknown_00F0;
|
|
/* 00F4 */ int m_index;
|
|
/* 00F8 */ unsigned char unknown_00F8[0x1C];
|
|
/* 0114 */ std::string m_name;
|
|
/* 012C */ UIEditCtrl* m_edit;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(SubChatHistoryState) == 0x1C);
|
|
#endif
|
|
|
|
#endif
|