Batch #5221 by Yommy: 0 byte-identical, 13 confirmed by peer review. - fn_11568 UIRechargeGage::SetValues: logic confirmed by peer review - fn_11569 UIPlayerGage::SetFourthValues: logic confirmed by peer review - fn_11578 UIPlayerGage::SetFirstValues: logic confirmed by peer review - fn_11579 UIPlayerGage::SetThirdValues: logic confirmed by peer review - fn_11580 UIMonsterGage::SetMode: logic confirmed by peer review - fn_11587 UIPlayerGage::SetSecondValues: logic confirmed by peer review - fn_11593 UIBarGraphHomun::SetValues: logic confirmed by peer review - fn_11594 UIBarGraphPlayer::SetValues: logic confirmed by peer review - fn_11570 UIBmpRadioBtn::SetBitmap: logic confirmed by peer review - fn_11573 UITextButton::CenterIn: logic confirmed by peer review - fn_11590 UITVTextButton::SetLabel: logic confirmed by peer review - fn_11592 UIBmpRadioBtn::AddText: logic confirmed by peer review - fn_11595 UIItemTagOnMail::SetLines: logic confirmed by peer review Peer-reviewed-by: eAthena, alisonrag 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/Gauges/UIPlayerGage.cpp
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
#include "UI/Gauges/UIPcGage.h"
|
|
|
|
// OFFSET: 0x0089B560
|
|
// FUNCTION: fn_11568
|
|
void UIRechargeGage::SetValues(int current, int maximum) {
|
|
this->current = current;
|
|
this->maximum = maximum;
|
|
this->Invalidate();
|
|
}
|
|
|
|
// OFFSET: 0x0089B590
|
|
// FUNCTION: fn_11569
|
|
void UIPlayerGage::SetFourthValues(std::function<std::int64_t()> current, std::function<std::int64_t()> maximum) {
|
|
this->m_fourthCurrent = current;
|
|
this->m_fourthMaximum = maximum;
|
|
}
|
|
|
|
// OFFSET: 0x0089BCF0
|
|
// FUNCTION: fn_11578
|
|
void UIPlayerGage::SetFirstValues(std::function<std::int64_t()> current, std::function<std::int64_t()> maximum) {
|
|
this->m_firstCurrent = current;
|
|
this->m_firstMaximum = maximum;
|
|
}
|
|
|
|
// OFFSET: 0x0089BDA0
|
|
// FUNCTION: fn_11579
|
|
void UIPlayerGage::SetThirdValues(std::function<std::int64_t()> current, std::function<std::int64_t()> maximum) {
|
|
this->m_thirdCurrent = current;
|
|
this->m_thirdMaximum = maximum;
|
|
}
|
|
|
|
// OFFSET: 0x0089C070
|
|
// FUNCTION: fn_11580
|
|
void UIMonsterGage::SetMode(int mode) {
|
|
this->unknown_009C = mode;
|
|
}
|
|
|
|
// OFFSET: 0x0089C390
|
|
// FUNCTION: fn_11587
|
|
void UIPlayerGage::SetSecondValues(std::function<std::int64_t()> current, std::function<std::int64_t()> maximum) {
|
|
this->m_secondCurrent = current;
|
|
this->m_secondMaximum = maximum;
|
|
}
|