aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_noise.cpp
AgeCommit message (Collapse)Author
2020-04-14scriptapi: Some small optimizations to value pushing (#9669)sfan5
2018-07-08Lua templating reading (part 4): s16, v2s16, v2f (#7512)Loïc Blot
2018-07-01Log deprecated Lua function calls (#7491)SmallJoker
2018-06-04Modernize lua read (part 1): C++ templating insurance (#7394)Loïc Blot
* Modernize lua read (part 1): C++ templating assurance Implement the float reader
2018-01-08Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()Pedro Gimeno
2018-01-07Fix naming conventions of noise userdatarubenwardy
2017-08-19Code modernization: subfolders (#6283)Loïc Blot
* Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo
2017-04-08Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot
(#5541) We are bundling Lua5.1 which has same macro
2016-06-04Change internal type for seeds to s32kwolekr
This fixes value truncation (and therefore incompatibility) on platforms with an LP32 data model, such as VAX or MS-DOS.
2015-11-08Add LuaSecureRandomest31
2015-10-26SAPI: Fix seed parameter truncation for LuaPseudoRandom constructorkwolekr
Also fix a potential seed truncation issue on platforms where the range of ptrdiff_t (the underlying type of lua_Integer) is too small.
2015-10-25SAPI: Mark all Lua API functions requiring envlockkwolekr
2015-05-17SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr
This adds the ability to grab 'slices' of noise calculated by PerlinNoiseMap. Retrieving smaller slices of noise from the computation result as needed optimizes memory usage while maintaining a reasonable amount of CPU overhead.
2015-05-17Add optional buffer param for bulk data array writes in Luakwolekr
2015-04-19Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr
2015-03-22Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr
2014-12-12LuaPerlinNoiseMap: Fix 3d noise safety checkkwolekr
2014-12-12LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate ↵kwolekr
3d noise with a buffer created for 2d
2014-12-12Add support for NoiseParams in minetest.get_perlin() and add docs on ↵kwolekr
NoiseParams to lua_api.txt
2014-12-10Noise: Automatically transform noise maps if neededkwolekr
2014-12-10Noise: Create a deep copy of NoiseParamskwolekr
2014-12-07Add flags and lacunarity as new noise parameterskwolekr
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
2014-11-29noise: Throw exception on noise allocation failurekwolekr
2014-11-13Add option 'eased' to NoiseParamsSmallJoker
Signed-off-by: Craig Robbins <kde.psych@gmail.com>
2014-03-15Remove lua_State parameter from LuaError::LuaErrorShadowNinja
2013-12-18Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja
2013-11-15Pass a errfunc to lua_pcall to get a tracebackShadowNinja
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-06-27Add Lua PerlinNoiseMap:get#dMap_flat APIkwolekr
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)