aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Random.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/Random.h
parent175fc3824e502ecd701c1da2ecd2061d77495693 (diff)
Remove all MSVC `__int64` (#742)
Diffstat (limited to 'Minecraft.World/Random.h')
-rw-r--r--Minecraft.World/Random.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Minecraft.World/Random.h b/Minecraft.World/Random.h
index 9af3a3c2..cfb6af26 100644
--- a/Minecraft.World/Random.h
+++ b/Minecraft.World/Random.h
@@ -3,21 +3,21 @@
class Random
{
private:
- __int64 seed;
+ int64_t seed;
bool haveNextNextGaussian;
double nextNextGaussian;
protected:
int next(int bits);
public:
Random();
- Random(__int64 seed);
- void setSeed(__int64 s);
+ Random(int64_t seed);
+ void setSeed(int64_t s);
void nextBytes(byte *bytes, unsigned int count);
double nextDouble();
double nextGaussian();
int nextInt();
int nextInt(int to);
float nextFloat();
- __int64 nextLong();
+ int64_t nextLong();
bool nextBoolean();
}; \ No newline at end of file