aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_item.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [CSM] Expose more env functionssfan52019-11-111-1/+0
|
* Call on_secondary_use when object is right-clickedsfan52019-11-101-1/+1
|
* Raycast: export exact pointing location (#6304)Dániel Juhász2018-08-161-1/+5
| | | | | * Return intersection point in node coordinates. * Clarify 'intersection_point' documentation
* Unkown nodes: Provide position on interact (#6505)SmallJoker2017-10-071-1/+1
| | | | * Unkown nodes: Provide position on interact
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-171-5/+1
| | | | * Migrate cpp headers to pragma once
* Expose getPointedThing to LuaDániel Juhász2017-07-071-0/+1
| | | | | | This commit introduces Raycast, a Lua user object, which can be used to perform a raycast on the map. The ray is continuable, so one can also get hidden nodes (for example to see trough glass).
* Add on_secondary_use when right clicking an item in the airAlex Ford2015-12-021-0/+2
|
* Fix all warnings reported by clangSfan52014-04-151-1/+1
|
* Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja2014-01-231-1/+0
|
* Add a callback: minetest.register_on_craft(itemstack, player,Novatux2013-11-011-0/+6
| | | | | | old_craft_grid, craft_inv) and minetest.register_craft_predict(itemstack, player, old_craft_grid, craft_inv)
* Fix class/struct forward declaration inconsistencies (good on ya, MSVC)Kahrl2013-06-061-3/+3
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-251-0/+55
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)