aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LevelChunk.h
diff options
context:
space:
mode:
authorvoid_17 <61356189+void2012@users.noreply.github.com>2026-03-07 03:31:30 +0700
committerGitHub <noreply@github.com>2026-03-07 03:31:30 +0700
commit988e3042e00485aa7ed3725fe7bfde1da8cf8519 (patch)
treecf712d80b4d03eec73f935e0cce23020ddb6f5ef /Minecraft.World/LevelChunk.h
parent175fc3824e502ecd701c1da2ecd2061d77495693 (diff)
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.World/LevelChunk.h')
-rw-r--r--Minecraft.World/LevelChunk.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Minecraft.World/LevelChunk.h b/Minecraft.World/LevelChunk.h
index 661fbdac..fdb2ba6c 100644
--- a/Minecraft.World/LevelChunk.h
+++ b/Minecraft.World/LevelChunk.h
@@ -109,7 +109,7 @@ public:
static const int sTerrainPopulatedFromS = 8;
static const int sTerrainPopulatedFromSW = 16;
static const int sTerrainPopulatedAllAffecting = 30; // All the post-processing that can actually place tiles in this chunk are complete
- static const int sTerrainPopulatedFromNW = 32;
+ static const int sTerrainPopulatedFromNW = 32;
static const int sTerrainPopulatedFromN = 64;
static const int sTerrainPopulatedFromNE = 128;
static const int sTerrainPopulatedFromE = 256;
@@ -135,11 +135,11 @@ public:
void stopSharingTilesAndData(); // 4J added
virtual void reSyncLighting(); // 4J added
void startSharingTilesAndData(int forceMs = 0); // 4J added
- __int64 lastUnsharedTime; // 4J added
- __int64 lastSaveTime;
+ int64_t lastUnsharedTime; // 4J added
+ int64_t lastSaveTime;
bool seenByPlayer;
int lowestHeightmap;
- __int64 inhabitedTime;
+ int64_t inhabitedTime;
#ifdef _LARGE_WORLDS
bool m_bUnloaded;
@@ -217,7 +217,7 @@ public:
virtual bool testSetBlocksAndData(byteArray data, int x0, int y0, int z0, int x1, int y1, int z1, int p); // 4J added
virtual void setCheckAllLight();
- virtual Random *getRandom(__int64 l);
+ virtual Random *getRandom(int64_t l);
virtual bool isEmpty();
virtual void attemptCompression();
@@ -243,9 +243,9 @@ public:
byteArray getBiomes();
void setBiomes(byteArray biomes);
bool biomeHasRain(int x, int z); // 4J added
- bool biomeHasSnow(int x, int z); // 4J added
+ bool biomeHasSnow(int x, int z); // 4J added
private:
- void updateBiomeFlags(int x, int z); // 4J added
+ void updateBiomeFlags(int x, int z); // 4J added
public:
void compressLighting(); // 4J added
void compressBlocks(); // 4J added