aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_env.cpp
AgeCommit message (Collapse)Author
2022-04-08Spacing fixesShadowNinja
2021-09-10Clean up/improve some scriptapi error handling codesfan5
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.
2021-06-20Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333)sfence
This check can be used by ABM to reduce CPU usage.
2020-04-08Overall improvements to log messages (#9598)sfan5
Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
2019-07-27Check for 'action' field in ABMs & LBMsSmallJoker
2018-06-30Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot
* Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value
2018-04-01LINT: add clang-tidy step (#6295)Loïc Blot
* Implement new travis clang-tidy build step * This step enable some rules and enforce one rule as error * This permits to have some C++ quality rules based on clang & clang contributor guidelines * Fix clang-tidy reported problems on push_back -> emplace_back
2017-11-08Move files to subdirectories (#6599)Vitaliy
* Move files around
2017-09-12Make INodeDefManager::getIds return a vector, not a setKahrl
2017-01-15Added lua tracebacks to some errors where you have been blind to what… (#5043)sapier
* Added lua tracebacks to some errors where you have been blind to what actually went wrong
2016-10-16Emergeblocks: Fix occasional crashRogier
Modification of the emergeblocks internal state was not protected by a lock, causing a race condition. This can be reproduced by repeatedly running emergeblocks for an already-generated section of the map (with multiple emerge threads).
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
2016-03-07Add minetest.register_lbm() to run code on block load onlyest31
2015-11-02Add callback parameter for core.emerge_area()kwolekr
2015-10-18ABMs: Make catch-up behaviour optionalparamat
Default is true for backwards compatibility Update lua_api.txt
2015-08-12SAPI: Track last executed mod and include in error messageskwolekr
2014-12-29Expose mapgen parameters on scripting initkwolekr
Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init()
2014-12-14Expose mapgen chunksize in on_mapgen_init callbackskwolekr
2014-10-07Fix object reference pushing functions when called from coroutinesShadowNinja
2014-08-21Don't call a player event without having player to do a event forsapier
2014-05-08Use "core" namespace internallyShadowNinja
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
2014-02-08Make flag strings clear specified flag with 'no' prefixkwolekr
Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
2014-02-03Fix crash when a error occurs in a globalstep callbackShadowNinja
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
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)