aboutsummaryrefslogtreecommitdiff
path: root/src/script/scripting_game.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2015-03-22 00:01:46 -0400
committerkwolekr <kwolekr@minetest.net>2015-03-22 00:48:08 -0400
commit3993093f51544d4eb44efb57c973e29107ea2f7a (patch)
tree0533167edce0dbd2cb8f03c37b880e57cfd7916d /src/script/scripting_game.cpp
parent7679396ebbb38115eedbfb8e9636dff50cdf2075 (diff)
downloadminetest-3993093f51544d4eb44efb57c973e29107ea2f7a.tar.gz
minetest-3993093f51544d4eb44efb57c973e29107ea2f7a.tar.bz2
minetest-3993093f51544d4eb44efb57c973e29107ea2f7a.zip
Add support for the PCG32 PRNG algo (and associated script APIs)
Diffstat (limited to 'src/script/scripting_game.cpp')
-rw-r--r--src/script/scripting_game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/scripting_game.cpp b/src/script/scripting_game.cpp
index e716bc979..5bcd2a33d 100644
--- a/src/script/scripting_game.cpp
+++ b/src/script/scripting_game.cpp
@@ -92,6 +92,7 @@ void GameScripting::InitializeModApi(lua_State *L, int top)
LuaPerlinNoise::Register(L);
LuaPerlinNoiseMap::Register(L);
LuaPseudoRandom::Register(L);
+ LuaPcgRandom::Register(L);
LuaVoxelManip::Register(L);
NodeMetaRef::Register(L);
NodeTimerRef::Register(L);