diff options
| author | void_17 <heroerror3@gmail.com> | 2026-03-02 17:39:35 +0700 |
|---|---|---|
| committer | void_17 <heroerror3@gmail.com> | 2026-03-02 17:39:35 +0700 |
| commit | b9a2951901dac21b08589c9d8b4a7eae78757726 (patch) | |
| tree | 6b750cbdde9d2bd2aeaec9880ac7db62e9356745 /Minecraft.World/Random.h | |
| parent | 119bff351450ea16ffda550b6e0f67379b29f708 (diff) | |
Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f85e014361eb8cf1e41eaebedb1ae71.
Diffstat (limited to 'Minecraft.World/Random.h')
| -rw-r--r-- | Minecraft.World/Random.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Minecraft.World/Random.h b/Minecraft.World/Random.h index cfb6af26..9af3a3c2 100644 --- a/Minecraft.World/Random.h +++ b/Minecraft.World/Random.h @@ -3,21 +3,21 @@ class Random { private: - int64_t seed; + __int64 seed; bool haveNextNextGaussian; double nextNextGaussian; protected: int next(int bits); public: Random(); - Random(int64_t seed); - void setSeed(int64_t s); + Random(__int64 seed); + void setSeed(__int64 s); void nextBytes(byte *bytes, unsigned int count); double nextDouble(); double nextGaussian(); int nextInt(); int nextInt(int to); float nextFloat(); - int64_t nextLong(); + __int64 nextLong(); bool nextBoolean(); };
\ No newline at end of file |
