aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_noise.h
diff options
context:
space:
mode:
authorrubenwardy <rubenwardy@gmail.com>2018-01-07 01:06:18 +0000
committerGitHub <noreply@github.com>2018-01-07 01:06:18 +0000
commit0a83c42dfdf390cef75758096a481cdf8e2c828b (patch)
tree4afaca3a8ded693ec88149ca2c5d17e2e3d797c8 /src/script/lua_api/l_noise.h
parent9146c6a50fdf81196bab3d517b8313fb4fa3bc71 (diff)
downloadminetest-0a83c42dfdf390cef75758096a481cdf8e2c828b.tar.gz
minetest-0a83c42dfdf390cef75758096a481cdf8e2c828b.tar.bz2
minetest-0a83c42dfdf390cef75758096a481cdf8e2c828b.zip
Fix naming conventions of noise userdata
Diffstat (limited to 'src/script/lua_api/l_noise.h')
-rw-r--r--src/script/lua_api/l_noise.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/script/lua_api/l_noise.h b/src/script/lua_api/l_noise.h
index 552d67db9..13e668507 100644
--- a/src/script/lua_api/l_noise.h
+++ b/src/script/lua_api/l_noise.h
@@ -38,8 +38,8 @@ private:
// garbage collector
static int gc_object(lua_State *L);
- static int l_get2d(lua_State *L);
- static int l_get3d(lua_State *L);
+ static int l_get_2d(lua_State *L);
+ static int l_get_3d(lua_State *L);
public:
LuaPerlinNoise(NoiseParams *params);
@@ -70,14 +70,14 @@ class LuaPerlinNoiseMap : public ModApiBase
// garbage collector
static int gc_object(lua_State *L);
- static int l_get2dMap(lua_State *L);
- static int l_get2dMap_flat(lua_State *L);
- static int l_get3dMap(lua_State *L);
- static int l_get3dMap_flat(lua_State *L);
+ static int l_get_2d_map(lua_State *L);
+ static int l_get_2d_map_flat(lua_State *L);
+ static int l_get_3d_map(lua_State *L);
+ static int l_get_3d_map_flat(lua_State *L);
- static int l_calc2dMap(lua_State *L);
- static int l_calc3dMap(lua_State *L);
- static int l_getMapSlice(lua_State *L);
+ static int l_calc_2d_map(lua_State *L);
+ static int l_calc_3d_map(lua_State *L);
+ static int l_get_map_slice(lua_State *L);
public:
LuaPerlinNoiseMap(NoiseParams *np, s32 seed, v3s16 size);