rodecomp/Source/UI/Text/UICharInfoBalloonText.cpp
ragnarok-clanker a3751c46b0 Decompile 9 functions in Source/UI/Window/UIBattleMsgOptionWnd.cpp, Source/UI/Window/UIBattleMsgOptionWnd.h, ...
Batch #5053 by Yommy: 0 byte-identical, 9 confirmed by peer review.

- fn_12659 UIBattleMsgOptionWnd::Paint: logic confirmed by peer review
- fn_12660 UIChangeNameWnd::Paint: logic confirmed by peer review
- fn_12661 UICharInfoBalloonText::Paint: logic confirmed by peer review
- fn_12662 UIEscOptionWnd::Paint: logic confirmed by peer review
- fn_12664 UIJobListWnd::Paint: logic confirmed by peer review
- fn_12666 UIMiniBtnWnd::Paint: logic confirmed by peer review
- fn_12667 UINavigationHelpWnd::Paint: logic confirmed by peer review
- fn_12669 UINewChatWnd::Paint: logic confirmed by peer review
- fn_12670 UIPartyBookingHelpWnd::Paint: logic confirmed by peer review

Peer-reviewed-by: youko, Bruwuno, SapitoSucio
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/Text/UICharInfoBalloonText.cpp, Source/UI/Window/UIChangeNameWnd.cpp, Source/UI/Window/UIEscOptionWnd.cpp, Source/UI/Window/UIJobListWnd.cpp, Source/UI/Window/UIMiniBtnWnd.cpp, Source/UI/Window/UINavigationHelpWnd.cpp, Source/UI/Window/UIPartyBookingHelpWnd.cpp
2026-10-30 08:39:38 +00:00

16 lines
609 B
C++

#include "UI/Text/UICharInfoBalloonText.h"
// OFFSET: 0x0092BCE0
// FUNCTION: fn_12661
void UICharInfoBalloonText::Paint() {
this->ClearSurface(0xFFFF00FF);
int y = 6;
for (unsigned int i = 0; i < this->m_lines.size(); ++i) {
const bool rightColumn = (i & 1) != 0;
this->DrawShadowedText(rightColumn ? 50 : 6, y, this->m_lines[i].c_str(), 0, this->m_textColor, this->m_outlineColor, 0, this->m_fontHeight, 0);
if (rightColumn) {
y += this->TextHeight(this->m_textContext->fonts, this->m_textContext->locale, this->m_lines[i].c_str(), 0, 0, this->m_fontHeight, 0, 0) + 4;
}
}
}