mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-25 15:56:28 +00:00
format XUI
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user