summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_env.cpp
Commit message (Collapse)AuthorAge
* Fix object reference pushing functions when called from coroutinesShadowNinja2014-10-07
|
* Add LuaVoxelManip methods: get_node_at() and set_node_at()kwolekr2014-09-01
|
* Fix seg fault if popping from empty stack (L-system trees)Craig Robbins2014-08-23
| | | | | | | | | | | | | | | | | | 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
* Mod profiling supportsapier2014-08-19
| | | | | | | | | 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)
* Use "core" namespace internallyShadowNinja2014-05-08
|
* Remove liquid_finite and weatherproller2014-04-18
|
* Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja2014-01-23
|
* Add forceloadingNovatux2014-01-11
|
* Make line_of_sight return blocking node positionstujones112013-12-12
|
* Optimize table creationShadowNinja2013-11-30
|
* Add minetest.swap_nodeNovatux2013-11-30
|
* Fix line_of_sight (AGAIN)sapier2013-11-25
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-15
|
* Weather: Clean up getHeat/getHumidity somewhatkwolekr2013-09-16
|
* Add minetest.get_gametime() API function, that returns the number of seconds ↵Novatux2013-09-08
| | | | since the world was created.
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-14
|
* Better snow fall, finite liquid transform, leveled nodes apiproller2013-07-28
|
* Weather supportproller2013-07-27
|
* LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for ↵kwolekr2013-06-29
| | | | light and liquid updates
* Apply various fixes to several thingskwolekr2013-06-27
|
* LuaVoxelManip: Separate VoxelManip data get/set from emerging/blitting data ↵kwolekr2013-06-27
| | | | back to map
* Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr2013-06-27
|
* Add minetest.get_mapgen_object to APIkwolekr2013-06-27
|
* Add LuaVoxelManipkwolekr2013-06-27
|
* Fix missing find_path and line_of_sightsapier2013-06-01
|
* 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)