aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_env.h
AgeCommit message (Collapse)Author
2021-07-09Add API for mods to hook liquid transformation events (#11405)Warr1024
Add API for mods to hook liquid transformation events Without this API, there is no reliable way for mods to be notified when liquid transform modifies nodes and mods are forced to poll for changes. This allows mods to detect changes to flowing liquid nodes and liquid renewal using event-driven logic.
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2016-03-07s_env.{cpp, h} cleanupsest31
* Replace string by-val passing with const reference * Fix code style * Remove redundant `int table` definition and indentation level
2015-11-02Add callback parameter for core.emerge_area()kwolekr
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-05-07Fix heart + bubble bar size on different texture packssapier
Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
2013-06-27Add Lua on_mapgen_init callback, and minetest.set_mapgen_params 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)