aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_nodemeta.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Run callback in IDropAction, refactor function argumentsSmallJoker2018-04-021-62/+60
|
* Node definition manager refactor (#7016)Dániel Juhász2018-02-101-6/+6
| | | | | | | | | * Rename IWritableNodeDefManager to NodeDefManager * Make INodeDefManager functions const * Use "const *NodeDefManager" instead of "*INodeDefManager" * Remove unused INodeDefManager class * Merge NodeDefManager and CNodeDefManager * Document NodeDefManager
* Unkown nodes: Provide position on interact (#6505)SmallJoker2017-10-071-6/+6
| | | | * Unkown nodes: Provide position on interact
* Modernize source code: last part (#6285)Loïc Blot2017-08-201-9/+0
| | | | | | | | | | | * Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
* Push error handler afresh each time lua_pcall is usedKahrl2015-08-271-9/+24
| | | | | Fixes "double fault" / "error in error handling" messages (issue #1423) and instead shows a complete backtrace.
* Improve Script CPP API diagnosticskwolekr2015-08-051-14/+10
|
* Fix object reference pushing functions when called from coroutinesShadowNinja2014-10-071-6/+6
|
* Only push the Lua error handler onceShadowNinja2014-04-271-46/+20
|
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-151-3/+3
|
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-03-151-3/+3
| | | | | | | | This reverts commit 362ef5f6ced862daa4733034810d0b07e2ad5d89. Stack tracebacks couldn't be generated in LuaError::LuaError anyway and this caused a second, empty traceback in most cases. In cases where there wasn't annother traceback the stack had already unwound and the traceback was empty.
* Make sure we get a stacktrace for as many lua errors as possibleSfan52014-03-151-3/+3
|
* Log guilty node name when allow_metadata_inventory_move/put/take failsKahrl2013-12-181-15/+18
|
* Handle LuaErrors in Lua -> C++ calls on LuaJITShadowNinja2013-12-181-3/+3
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-151-83/+79
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-4/+2
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-251-0/+261
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)