From b9a2951901dac21b08589c9d8b4a7eae78757726 Mon Sep 17 00:00:00 2001 From: void_17 Date: Mon, 2 Mar 2026 17:39:35 +0700 Subject: Revert "Get rid of MSVC's __int64" This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71. --- Minecraft.Client/Minecraft.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Minecraft.Client/Minecraft.h') diff --git a/Minecraft.Client/Minecraft.h b/Minecraft.Client/Minecraft.h index 2e943de7..caec4702 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_t frameTimes[frameTimes_length]; + static __int64 frameTimes[frameTimes_length]; static const int tickTimes_length = 512; - static int64_t tickTimes[tickTimes_length]; + static __int64 tickTimes[tickTimes_length]; static int frameTimePos; - static int64_t warezTime; + static __int64 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_t lastTimer; + __int64 lastTimer; - void renderFpsMeter(int64_t tickTime); + void renderFpsMeter(__int64 tickTime); public: void stop(); // 4J removed @@ -253,7 +253,7 @@ public: //bool isRaining ; // 4J - Moved to per player - //int64_t lastTickTime; + //__int64 lastTickTime; private: // 4J- per player? @@ -301,7 +301,7 @@ public: static int maxSupportedTextureSize(); void delayTextureReload(); - static int64_t currentTimeMillis(); + static __int64 currentTimeMillis(); #ifdef _DURANGO static void inGameSignInCheckAllPrivilegesCallback(LPVOID lpParam, bool hasPrivileges, int iPad); -- cgit v1.2.3