summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_noise.cpp
Commit message (Collapse)AuthorAge
* Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat ↵Loïc Blot2017-04-08
| | | | | (#5541) We are bundling Lua5.1 which has same macro
* Change internal type for seeds to s32kwolekr2016-06-04
| | | | | This fixes value truncation (and therefore incompatibility) on platforms with an LP32 data model, such as VAX or MS-DOS.
* Add LuaSecureRandomest312015-11-08
|
* SAPI: Fix seed parameter truncation for LuaPseudoRandom constructorkwolekr2015-10-26
| | | | | Also fix a potential seed truncation issue on platforms where the range of ptrdiff_t (the underlying type of lua_Integer) is too small.
* SAPI: Mark all Lua API functions requiring envlockkwolekr2015-10-25
|
* SAPI/Noise: Add PerlinNoiseMap:getMapSlice() functionkwolekr2015-05-17
| | | | | | 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.
* Add optional buffer param for bulk data array writes in Luakwolekr2015-05-17
|
* Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr2015-04-19
|
* Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr2015-03-22
|
* LuaPerlinNoiseMap: Fix 3d noise safety checkkwolekr2014-12-12
|
* LuaPerlinNoiseMap: Prevent invalid memory access when attempting to generate ↵kwolekr2014-12-12
| | | | 3d noise with a buffer created for 2d
* Add support for NoiseParams in minetest.get_perlin() and add docs on ↵kwolekr2014-12-12
| | | | NoiseParams to lua_api.txt
* Noise: Automatically transform noise maps if neededkwolekr2014-12-10
|
* Noise: Create a deep copy of NoiseParamskwolekr2014-12-10
|
* Add flags and lacunarity as new noise parameterskwolekr2014-12-07
| | | | | | | 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
* noise: Throw exception on noise allocation failurekwolekr2014-11-29
|
* Add option 'eased' to NoiseParamsSmallJoker2014-11-13
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-15
|
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-18
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-15
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Add Lua PerlinNoiseMap:get#dMap_flat APIkwolekr2013-06-27
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
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)