aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Minecraft.h
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-02 15:53:32 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-02 15:53:32 +0700
commitd63f79325f85e014361eb8cf1e41eaebedb1ae71 (patch)
treed9f28714afd516bc2450f33b0a77c5e05ff4de90 /Minecraft.Client/Minecraft.h
parentd6ec138710461294c3ffd2723bc8a9f212d3471f (diff)
Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
Diffstat (limited to 'Minecraft.Client/Minecraft.h')
-rw-r--r--Minecraft.Client/Minecraft.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Minecraft.Client/Minecraft.h b/Minecraft.Client/Minecraft.h
index caec4702..2e943de7 100644
--- a/Minecraft.Client/Minecraft.h
+++ b/Minecraft.Client/Minecraft.h
@@ -71,7 +71,7 @@ private:
bool hasCrashed;
C4JThread::EventQueue* levelTickEventQueue;
-
+
static void levelTickUpdateFunc(void* pParam);
static void levelTickThreadInitFunc();
@@ -165,11 +165,11 @@ private:
LevelStorageSource *levelSource;
public:
static const int frameTimes_length = 512;
- static __int64 frameTimes[frameTimes_length];
+ static int64_t frameTimes[frameTimes_length];
static const int tickTimes_length = 512;
- static __int64 tickTimes[tickTimes_length];
+ static int64_t tickTimes[tickTimes_length];
static int frameTimePos;
- static __int64 warezTime;
+ static int64_t warezTime;
private:
int rightClickDelay;
public:
@@ -230,9 +230,9 @@ private:
// String grabHugeScreenshot(File workDir2, int width, int height, int ssWidth, int ssHeight); // 4J - removed
// 4J - per player thing?
- __int64 lastTimer;
+ int64_t lastTimer;
- void renderFpsMeter(__int64 tickTime);
+ void renderFpsMeter(int64_t tickTime);
public:
void stop();
// 4J removed
@@ -253,7 +253,7 @@ public:
//bool isRaining ;
// 4J - Moved to per player
- //__int64 lastTickTime;
+ //int64_t lastTickTime;
private:
// 4J- per player?
@@ -301,7 +301,7 @@ public:
static int maxSupportedTextureSize();
void delayTextureReload();
- static __int64 currentTimeMillis();
+ static int64_t currentTimeMillis();
#ifdef _DURANGO
static void inGameSignInCheckAllPrivilegesCallback(LPVOID lpParam, bool hasPrivileges, int iPad);