summaryrefslogtreecommitdiffstats
path: root/src/MersenneTwister.h
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-09 19:21:42 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-09 19:21:42 +0100
commit9825dbfd34c65580d795065d1a82e7697b9c5cbd (patch)
treea112f3b17bdf16dce31a62f904e201ac58b96720 /src/MersenneTwister.h
parentMerge branch 'master' into Werror (diff)
downloadcuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.gz
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.bz2
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.lz
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.xz
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.tar.zst
cuberite-9825dbfd34c65580d795065d1a82e7697b9c5cbd.zip
Diffstat (limited to '')
-rw-r--r--src/MersenneTwister.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MersenneTwister.h b/src/MersenneTwister.h
index f4c7b0699..07b6b1e5c 100644
--- a/src/MersenneTwister.h
+++ b/src/MersenneTwister.h
@@ -59,10 +59,12 @@
#include <ctime>
#include <cmath>
+#include "Globals.h"
+
class MTRand {
// Data
public:
- typedef long uint32; // unsigned integer type, at least 32 bits
+ typedef UInt32 uint32; // unsigned integer type, at least 32 bits
enum { N = 624 }; // length of state vector
enum { SAVE = N + 1 }; // length of array for save()