summaryrefslogtreecommitdiffstats
path: root/src/FastRandom.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-03-15 13:16:37 +0100
committerworktycho <work.tycho@gmail.com>2015-03-15 13:16:37 +0100
commit83531707f3219490eb8ad1e2a7308ff7d4c5fde1 (patch)
treeb379005ad92e48bb696b40fa1b05a35034498710 /src/FastRandom.h
parentMerge pull request #1734 from mc-server/pistons (diff)
parentUse thread_local in cFastRandom (diff)
downloadcuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar
cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.gz
cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.bz2
cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.lz
cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.xz
cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.tar.zst
cuberite-83531707f3219490eb8ad1e2a7308ff7d4c5fde1.zip
Diffstat (limited to 'src/FastRandom.h')
-rw-r--r--src/FastRandom.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/FastRandom.h b/src/FastRandom.h
index 64a087c97..30395a293 100644
--- a/src/FastRandom.h
+++ b/src/FastRandom.h
@@ -36,16 +36,10 @@ public:
/** Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M */
int NextInt(int a_Range);
-
- /** Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M; a_Salt is additional source of randomness */
- int NextInt(int a_Range, int a_Salt);
/** Returns a random float in the range [0 .. a_Range]; a_Range must be less than 1M */
float NextFloat(float a_Range);
- /** Returns a random float in the range [0 .. a_Range]; a_Range must be less than 1M; a_Salt is additional source of randomness */
- float NextFloat(float a_Range, int a_Salt);
-
/** Returns a random float between 0 and 1. */
float NextFloat(void) { return NextFloat(1); }