Batch #10227 by ragnarok-clanker: forced by an admin (12 lower score(s), 91 changed function(s)); checked with 401 compiled unit(s), including every includer of Source/UI/Buttons/UIBasicButton.h, Source/UI/Buttons/UIBitmapButton.h, Source/UI/Buttons/UIButton.h, Source/UI/Buttons/UICheckBox.h, Source/UI/Buttons/UISpriteButton.h, Source/UI/Buttons/UITextButton.h, Source/UI/Chat/UINewChatWnd.h, Source/UI/Chat/UISubChatMiniWnd.h, Source/UI/Dialogs/UIEditctrlWnd.h, Source/UI/Dialogs/UIMemorialDunWnd.h, Source/UI/Dialogs/UIMiniMapWnd.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Guild/UIAgitWnd.h, Source/UI/Guild/UIGuildHelperWnd.h, Source/UI/Guild/UIGuildWnd.h, Source/UI/Items/UIItemRepairWnd.h, Source/UI/Items/UIMakeTargetListWnd.h, Source/UI/Items/UIMakeTargetProcessWnd.h, Source/UI/Items/UIMakeTargetResultWnd.h, Source/UI/Items/UIWeaponRefineWnd.h, Source/UI/Lists/UIComboBoxDefWnd.h, Source/UI/Lists/UIListBox.h, Source/UI/Lists/UIListBoxNavi.h, Source/UI/Lists/UIScrollBar.h, Source/UI/Lists/UITabControl.h, Source/UI/Rodex/UIRodexComposeWnd.h, Source/UI/Shortcuts/ShortcutControls.h, Source/UI/Shortcuts/UIShortCutWnd.h, Source/UI/Text/UIStaticText.h, Source/UI/Text/UIStaticText_LF.h, Source/UI/Text/UITextViewer.h, Source/UI/UIScrollWnd.h, Source/UI/Window/UIEmblemWnd.h, Source/UI/Window/UIEscOptionWnd.h, Source/UI/Window/UIFrameWnd.h, Source/UI/Window/UIJobListWnd.h, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UIMileageWnd.h, Source/UI/Window/UIMiniBtnWnd.h, Source/UI/Window/UINavigationHelpWnd.h, Source/UI/Window/UINewSkillListWnd.h, Source/UI/Window/UINoteWnd.h, Source/UI/Window/UIOpenMailBoxWnd.h, Source/UI/Window/UIOpenRoulletteWnd.h, Source/UI/Window/UIPartyBookingHelpWnd.h, Source/UI/Window/UIPetEvolutionWnd.h, Source/UI/Window/UIRPImageWnd.h, Source/UI/Window/UIRPImageWnd2.h, Source/UI/Window/UIRebirthWnd.h, Source/UI/Window/UIResizer.h, Source/UI/Window/UIRoMapWnd.h, Source/UI/Window/UIRodexContentsWnd.h, Source/UI/Window/UISecondCostumeWnd.h, Source/UI/Window/UISeekPartyMBWnd.h, Source/UI/Window/UIShowWarpWnd.h, Source/UI/Window/UITransMenuWnd.h, Source/UI/Window/UIVideoWnd.h, Source/UI/Window/UIViewCameraInfoWnd.h, Source/UI/Window/UIWindow.h, Source/UI/Window/WindowDialogs.h.
87 lines
2.2 KiB
C++
87 lines
2.2 KiB
C++
#include "UI/Gauges/UIPcGage.h"
|
|
|
|
// OFFSET: 0x0086D2D0
|
|
// FUNCTION: fn_11044
|
|
UIGage::UIGage() : UIWindow(0) {
|
|
this->unknown_007C = 0x009B1914;
|
|
this->colors[0] = 0x00444444;
|
|
this->colors[1] = 0x0025EA16;
|
|
this->colors[2] = 0x00DB651D;
|
|
this->colors[3] = 0x001616EA;
|
|
this->colors[4] = 0x00E1E4FF;
|
|
this->colors[5] = 0x001616EA;
|
|
this->colors[6] = 0x0060C0FF;
|
|
}
|
|
|
|
// OFFSET: 0x0086E120
|
|
// FUNCTION: fn_11065
|
|
UIPcGage::UIPcGage() : unknown_009C(0), current(0), maximum(0), unknown_00A8(0), unknown_00AC(0) {
|
|
}
|
|
|
|
// OFFSET: 0x0086E3A0
|
|
// FUNCTION: fn_11069
|
|
UIRechargeGage::UIRechargeGage() : current(0), maximum(100) {
|
|
}
|
|
|
|
// OFFSET: 0x0086E210
|
|
// FUNCTION: fn_11067
|
|
UIPlayerGage::UIPlayerGage() : unknown_009C(0) {
|
|
}
|
|
|
|
// OFFSET: 0x0086DE90
|
|
// FUNCTION: fn_11061
|
|
UIMonsterGage::UIMonsterGage() : m_threshold(0x19) {
|
|
this->unknown_007C = 0x009C1810;
|
|
this->colors[0] = 0x00424142;
|
|
this->colors[1] = 0x00E700FF;
|
|
this->colors[3] = 0x0000FFFF;
|
|
this->unknown_009C = 1;
|
|
}
|
|
|
|
// OFFSET: 0x00882450
|
|
// FUNCTION: fn_11304
|
|
bool UIPlayerGage::Slot03() {
|
|
return true;
|
|
}
|
|
|
|
// 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;
|
|
}
|