aboutsummaryrefslogtreecommitdiff
path: root/src/util/numeric.h
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-09-17 02:57:10 -0400
committerkwolekr <kwolekr@minetest.net>2013-11-04 23:59:26 -0500
commite46c5277334e7435b74eedba7fdfe2c773f48d06 (patch)
tree9f5ebc7fc83d5436e1931f1118b76e021b2246d4 /src/util/numeric.h
parent1a96987d0fbbcf689825851ee282fe79e4658c02 (diff)
downloadminetest-e46c5277334e7435b74eedba7fdfe2c773f48d06.tar.gz
minetest-e46c5277334e7435b74eedba7fdfe2c773f48d06.tar.bz2
minetest-e46c5277334e7435b74eedba7fdfe2c773f48d06.zip
Accept hexadecimal and string values for seeds
Diffstat (limited to 'src/util/numeric.h')
-rw-r--r--src/util/numeric.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/numeric.h b/src/util/numeric.h
index b96c94faa..8e3a617ff 100644
--- a/src/util/numeric.h
+++ b/src/util/numeric.h
@@ -222,6 +222,8 @@ int myrand_range(int min, int max);
Miscellaneous functions
*/
+u64 murmur_hash_64_ua(const void *key, int len, unsigned int seed);
+
bool isBlockInSight(v3s16 blockpos_b, v3f camera_pos, v3f camera_dir,
f32 camera_fov, f32 range, f32 *distance_ptr=NULL);