summaryrefslogtreecommitdiff
path: root/src/core/random_func.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/random_func.hpp')
-rw-r--r--src/core/random_func.hpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/random_func.hpp b/src/core/random_func.hpp
index 88fe3524f..597efcdc7 100644
--- a/src/core/random_func.hpp
+++ b/src/core/random_func.hpp
@@ -37,23 +37,8 @@ struct Randomizer {
/** The state of the randomizer */
uint32 state[2];
- /**
- * Generate the next pseudo random number
- * @return the random number
- */
uint32 Next();
-
- /**
- * Generate the next pseudo random number scaled to max
- * @param max the maximum value of the returned random number
- * @return the random number
- */
uint32 Next(uint32 max);
-
- /**
- * (Re)set the state of the random number generator.
- * @param seed the new state
- */
void SetSeed(uint32 seed);
};
extern Randomizer _random; ///< Random used in the game state calculations