aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_env.cpp
AgeCommit message (Collapse)Author
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-14Remove most exceptions from getNode() (and variants)Craig Robbins
2014-10-07Fix object reference pushing functions when called from coroutinesShadowNinja
2014-09-01Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr
2014-08-23Fix seg fault if popping from empty stack (L-system trees)Craig Robbins
See: https://github.com/minetest/minetest/issues/1525 Background Wuzzy2: If you attempt to spawn a L-system tree with minetest.spawn_tree, you can make Minetest crash if it is attempted to pop an empty stack. ShadowNinja: This shouldn't cause a segmentation fault, but it should throw a Lua error Commit Description This commit throws a Lua error instead of causing a segmentation fault. The server will still "crash" but will include a Lua backtrace. L-Systems fix randomness Unless a random seed is provided (via Lua treedef) seed the PRNG with a different seed for each tree Resolves: https://github.com/minetest/minetest/issues/1469 Fix l-system crash when treedef random_level not set by Lua
2014-08-19Mod profiling supportsapier
Config settings: profiling = true/false (gather statistics) detailed_profiling = true/false (break mod times to callbacks) Chat commands: save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
2014-05-08Use "core" namespace internallyShadowNinja
2014-04-18Remove liquid_finite and weatherproller
2014-01-23Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja
2014-01-11Add forceloadingNovatux
2013-12-12Make line_of_sight return blocking node positionstujones11
2013-11-30Optimize table creationShadowNinja
2013-11-30Add minetest.swap_nodeNovatux
2013-11-25Fix line_of_sight (AGAIN)sapier
2013-11-15Pass a errfunc to lua_pcall to get a tracebackShadowNinja
2013-09-16Weather: Clean up getHeat/getHumidity somewhatkwolekr
2013-09-08Add minetest.get_gametime() API function, that returns the number of seconds ↵Novatux
since the world was created.
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-07-28Better snow fall, finite liquid transform, leveled nodes apiproller
2013-07-27Weather supportproller
2013-06-29LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for ↵kwolekr
light and liquid updates
2013-06-27Apply various fixes to several thingskwolekr
2013-06-27LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data ↵kwolekr
back to map
2013-06-27Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr
2013-06-27Add minetest.get_mapgen_object to APIkwolekr
2013-06-27Add LuaVoxelManipkwolekr
2013-06-01Fix missing find_path and line_of_sightsapier
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)