aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Don't call a player event without having player to do a event forsapier2014-08-211-0/+3
|
* Fix over-poping and only push the core onceShadowNinja2014-05-301-8/+11
|
* Use "core" namespace internallyShadowNinja2014-05-089-78/+81
|
* Organize builtin into subdirectoriesShadowNinja2014-05-072-22/+12
|
* Fix heart + bubble bar size on different texture packssapier2014-05-072-0/+21
| | | | | | | 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
* Fix code style of async APIShadowNinja2014-04-272-91/+109
|
* Remove dependency on marshal and many other async changesShadowNinja2014-04-273-0/+473
| | | | | | | | | | | | This makes a number of changes: * Remove the dependency on marshal by using string.dump and loadstring. * Use lua_tolstring rather than having Lua functions pass string lengths to C++. * Move lua_api/l_async_events.* to cpp_api/s_async.*, where it belongs. * Make AsyncWorkerThread a child of ScriptApiBase, this removes some duplicate functionality. * Don't wait for async threads to shut down. (Is this safe? Might result in corruption if the thread is writing to a file.) * Pop more unused items from the stack * Code style fixes * Other misc changes
* Only push the Lua error handler onceShadowNinja2014-04-279-279/+154
|
* Fix all warnings reported by clangSfan52014-04-151-1/+1
|
* Add more informative error messages for inventory and item method errorsShadowNinja2014-03-152-13/+38
|
* Remove lua_State parameter from LuaError::LuaErrorShadowNinja2014-03-154-14/+15
|
* Revert "Make sure we get a stacktrace for as many lua errors as possible"ShadowNinja2014-03-153-12/+12
| | | | | | | | 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-153-12/+12
|
* Pass arguments by referenceSelat2014-03-121-1/+1
|
* Correct misleading detached inventory error messageCiaran Gultnieks2014-03-091-1/+1
| | | | Looks like a bit of hasty copying and pasting from s_item.cpp.
* Make flag strings clear specified flag with 'no' prefixkwolekr2014-02-081-1/+2
| | | | | Remove flagmask field from set_mapgen_params table Add small bits of needed documentation
* Fix crash when a error occurs in a globalstep callbackShadowNinja2014-02-031-1/+6
|
* Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja2014-01-233-4/+5
|
* 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-184-12/+23
|
* Add 'on_prejoinplayer' callbackkaeza2013-12-122-0/+19
|
* Cleanup jthread and fix win32 buildsapier2013-12-011-2/+0
|
* Pass a errfunc to lua_pcall to get a tracebackShadowNinja2013-11-159-281/+345
|
* Add a callback: minetest.register_on_craft(itemstack, player,Novatux2013-11-012-0/+57
| | | | | | old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv)
* Always use builtin JThread librarykwolekr2013-09-151-2/+2
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-1417-585/+556
|
* Allow mods to listen to cheat detections using minetest.register_on_cheat()Perttu Ahola2013-08-042-0/+17
|
* Weather supportproller2013-07-272-0/+19
|
* Add an option to disable object <-> object collision for Lua entitiesPilzAdam2013-07-201-0/+1
|
* Leveled nodeboxproller2013-07-131-0/+2
|
* Add Lua on_mapgen_init callback, and minetest.set_mapgen_params APIkwolekr2013-06-272-0/+31
|
* Add LuaVoxelManipkwolekr2013-06-271-0/+1
|
* Fix class/struct forward declaration inconsistencies (good on ya, MSVC)Kahrl2013-06-065-8/+8
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-2519-0/+2634
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)