diff --git a/Source/Render/Primitives/ScreenLine.cpp b/Source/Render/Primitives/ScreenLine.cpp index d5dd5ef4..107ac6c1 100644 --- a/Source/Render/Primitives/ScreenLine.cpp +++ b/Source/Render/Primitives/ScreenLine.cpp @@ -14,6 +14,7 @@ #include "Resource/ResourceMgr.h" #include "Resource/Sprites/ActionResource.h" #include "Resource/Sprites/SpriteResource.h" +#include "UI/Chat/UISubChatHisWnd.h" #include "Utility/Math/AffineMatrix.h" #include @@ -45,6 +46,22 @@ void UIRoMapWnd::DrawRecordAreas() { } } +// OFFSET: 0x00918300 +// FUNCTION: fn_12593 +void UISubChatHisWnd::Slot43() { + int x = 0; + int y = 0; + this->ToScreen(x, y); + DrawAlphaRectangle( + g_renderer->primitives, g_renderer->queues, x + 1, y + 1, this->m_inputWidth - 2, this->m_inputHeight, 0x66000000, g_renderer->fog.supported != 0, + g_depthStart, g_depthEnd + ); + DrawAlphaRectangle( + g_renderer->primitives, g_renderer->queues, this->m_state.unknown_0000 + 1, this->m_state.unknown_0004 + 1, this->m_state.unknown_0008 - 2, + this->m_state.unknown_000C - 2, this->m_state.unknown_0014, g_renderer->fog.supported != 0, g_depthStart, g_depthEnd + ); +} + // OFFSET: 0x009189C0 // FUNCTION: fn_12595 void UIRoMapWnd::DrawKafraIcon(float x, float y) { diff --git a/Source/UI/Chat/UISubChatHisWnd.h b/Source/UI/Chat/UISubChatHisWnd.h index 17392070..fc9a52e5 100644 --- a/Source/UI/Chat/UISubChatHisWnd.h +++ b/Source/UI/Chat/UISubChatHisWnd.h @@ -38,6 +38,7 @@ public: void Slot27(int x, int y) override; void Slot31(int x, int y) override; bool Slot42(void* output) override; + void Slot43() override; UIChatHisBox* ChatBox() const { return m_chatBox; } std::string Name() const { return m_name; }