aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Layer.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.World/Layer.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.World/Layer.h')
-rw-r--r--Minecraft.World/Layer.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Minecraft.World/Layer.h b/Minecraft.World/Layer.h
index a444a629..6f31e94a 100644
--- a/Minecraft.World/Layer.h
+++ b/Minecraft.World/Layer.h
@@ -11,22 +11,22 @@ class LevelType;
class Layer
{
private:
- __int64 seed;
+ int64_t seed;
protected:
shared_ptr<Layer>parent;
private:
- __int64 rval;
- __int64 seedMixup;
+ int64_t rval;
+ int64_t seedMixup;
public:
- static LayerArray getDefaultLayers(__int64 seed, LevelType *levelType);
+ static LayerArray getDefaultLayers(int64_t seed, LevelType *levelType);
- Layer(__int64 seedMixup);
+ Layer(int64_t seedMixup);
- virtual void init(__int64 seed);
- virtual void initRandom(__int64 x, __int64 y);
+ virtual void init(int64_t seed);
+ virtual void initRandom(int64_t x, int64_t y);
protected:
int nextRandom(int max);