Decompile fn_12593 (UISubChatHisWnd::Slot43)
Batch #7046 by aDw: 0 byte-identical, 1 confirmed by peer review. - fn_12593 UISubChatHisWnd::Slot43: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker, superintelligence, Snow Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
74499f1b99
commit
da1233e2e3
2 changed files with 18 additions and 0 deletions
|
|
@ -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 <cmath>
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue