diff options
author | kwolekr <kwolekr@minetest.net> | 2014-12-07 21:57:12 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2014-12-07 21:59:32 -0500 |
commit | 2fd3d5202051e03303ac2b8e76976a7c4c8477f3 (patch) | |
tree | c461272b8eef33846cf5773e38c6a8b7716e1d0d /src/script/common/c_content.h | |
parent | 638f3a8454941d3f561b1834d47fa07a611454a3 (diff) | |
download | minetest-2fd3d5202051e03303ac2b8e76976a7c4c8477f3.tar.gz minetest-2fd3d5202051e03303ac2b8e76976a7c4c8477f3.tar.bz2 minetest-2fd3d5202051e03303ac2b8e76976a7c4c8477f3.zip |
Add flags and lacunarity as new noise parameters
Add 'absolute value' option to noise map functions
Extend persistence modulation to 3D noise
Extend 'eased' option to noise2d_perlin* functions
Some noise.cpp formatting fixups
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 5b4dff2bd..02e3e29fa 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -147,9 +147,9 @@ bool string_to_enum (const EnumString *spec, int &result, const std::string &str); -NoiseParams* read_noiseparams (lua_State *L, int index); +NoiseParams* get_noiseparams (lua_State *L, int index); -bool read_noiseparams_nc (lua_State *L, int index, +bool read_noiseparams (lua_State *L, int index, NoiseParams *np); bool get_schematic (lua_State *L, int index, Schematic *schem, |