Decompile 10 functions in Source/Script/LuaScript.cpp, Source/UI/Text/UIStaticText.cpp, ...
Batch #17636 by KWDev: 10 byte-identical, 0 confirmed by peer review. - fn_19248 SetEZ2STRInfo: byte-identical - fn_10962 UIBmpTextButton::AddTextStyle: byte-identical - fn_07053 CClimaxEffect::Render: byte-identical - fn_11289 UIComboBoxV2Wnd::SelectedText: byte-identical - fn_21411 CGameMode::HuntTargetText: byte-identical - fn_05456 CRenewQuestMgr::L_AddQuestIconTooltip: byte-identical - fn_09058 CSpecialPopupMgr::LuaAddDesc: byte-identical - fn_09146 AddTip: byte-identical - fn_03037 CCashEmotionMgr::InsertEmotionVarientListTable: byte-identical - fn_22061 CGameMode::ReceiveRouletteOpen: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
8abf5bbb13
commit
e0f3e01b35
10 changed files with 31 additions and 15 deletions
|
|
@ -271,7 +271,14 @@ void UIStaticText::SetFont(int family, int height, unsigned char bold, unsigned
|
|||
// OFFSET: 0x008685E0
|
||||
// FUNCTION: fn_10962
|
||||
void UIBmpTextButton::AddTextStyle(int state, int height, std::uint32_t color, unsigned char bold, unsigned char shadow, int x, int y) {
|
||||
BitmapButtonTextStyle style{state, x, y, height, bold, color, shadow};
|
||||
BitmapButtonTextStyle style;
|
||||
style.state = state;
|
||||
style.x = x;
|
||||
style.y = y;
|
||||
style.height = height;
|
||||
style.color = color;
|
||||
style.bold = bold;
|
||||
style.shadow = shadow;
|
||||
|
||||
if (x == -1000) {
|
||||
const int width = this->TextWidth(this->text.c_str(), this->text.size(), 0, height, bold, 0
|
||||
|
|
@ -286,7 +293,7 @@ void UIBmpTextButton::AddTextStyle(int state, int height, std::uint32_t color, u
|
|||
}
|
||||
|
||||
for (const BitmapButtonTextStyle existing : this->styles) {
|
||||
if (existing.state == state) {
|
||||
if (state == existing.state) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue