the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "..\Minecraft.World\ProgressListener.h"
3
4class ProgressRenderer : public ProgressListener
5{
6public:
7 enum eProgressStringType
8 {
9 eProgressStringType_ID,
10 eProgressStringType_String, // 4J-PB added for updating the bytes read on a save transfer
11 };
12
13 static CRITICAL_SECTION s_progress;
14
15 int getCurrentPercent();
16 int getCurrentTitle();
17 int getCurrentStatus();
18 wstring& getProgressString(void);
19 ProgressRenderer::eProgressStringType getType();
20
21private:
22 int lastPercent;
23
24private:
25 int status;
26 Minecraft *minecraft;
27 int title;
28 __int64 lastTime;
29 bool noAbort;
30 wstring m_wstrText;
31 eProgressStringType m_eType;
32
33 void setType(eProgressStringType eType);
34
35public:
36 ProgressRenderer(Minecraft *minecraft);
37 virtual void progressStart(int title);
38 virtual void progressStartNoAbort(int string);
39 void _progressStart(int title);
40 virtual void progressStage(int status);
41 virtual void progressStage(wstring &wstrText);
42 virtual void progressStagePercentage(int i);
43};