format XUI

This commit is contained in:
Tropical
2026-03-22 12:40:22 -05:00
parent a403bf5a4a
commit 4b2f614326
175 changed files with 31285 additions and 30912 deletions

View File

@@ -4,18 +4,16 @@
#include "../../Minecraft.Client/Minecraft.h"
#include "../../Minecraft.Client/Rendering/EntityRenderers/ProgressRenderer.h"
int CXuiCtrlLoadingProgress::GetValue()
{
int currentValue = 0;
int CXuiCtrlLoadingProgress::GetValue() {
int currentValue = 0;
Minecraft *pMinecraft=Minecraft::GetInstance();
currentValue = pMinecraft->progressRenderer->getCurrentPercent();
//printf("About to render progress of %d\n", currentValue);
return currentValue;
Minecraft* pMinecraft = Minecraft::GetInstance();
currentValue = pMinecraft->progressRenderer->getCurrentPercent();
// printf("About to render progress of %d\n", currentValue);
return currentValue;
}
void CXuiCtrlLoadingProgress::GetRange(int *pnRangeMin, int *pnRangeMax)
{
*pnRangeMin = 0;
*pnRangeMax = 100;
void CXuiCtrlLoadingProgress::GetRange(int* pnRangeMin, int* pnRangeMax) {
*pnRangeMin = 0;
*pnRangeMax = 100;
}