mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 11:35:21 +02:00
Add Ore infrastructure and l_register_ore()
This commit is contained in:
@@ -269,6 +269,7 @@ NoiseParams *read_noiseparams(lua_State *L, int index)
|
||||
np->scale = getfloatfield_default(L, index, "scale", 0.0);
|
||||
lua_getfield(L, index, "spread");
|
||||
np->spread = read_v3f(L, -1);
|
||||
lua_pop(L, 1);
|
||||
np->seed = getintfield_default(L, index, "seed", 0);
|
||||
np->octaves = getintfield_default(L, index, "octaves", 0);
|
||||
np->persist = getfloatfield_default(L, index, "persist", 0.0);
|
||||
@@ -276,6 +277,7 @@ NoiseParams *read_noiseparams(lua_State *L, int index)
|
||||
return np;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
LuaPseudoRandom
|
||||
*/
|
||||
|
Reference in New Issue
Block a user