aboutsummaryrefslogtreecommitdiff
path: root/src/scriptapi.h
AgeCommit message (Collapse)Author
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)
2013-03-06Fix Irrlicht includes in scriptapi_*kwolekr
2013-03-05split scriptapi.cppsapier
Remerge some files in order to reduce number of additional files Make necessary changes for split, rename files, reorganize some bits
2013-02-24Update Copyright YearsSfan5
2013-02-24Change Minetest-c55 to MinetestPilzAdam
2012-11-30Add shutdown hook interface to Lua APIMatthew I
Scripts can call minetest.register_on_shutdown() to register a shutdown hook. Document that minetest.register_on_shutdown() callbacks may not be run If the server crashes, it is unlikely that callbacks registered using minetest.register_on_shutdown() will be called.
2012-09-09Add dtime_s to entity activationPerttu Ahola
2012-07-25Improve inventory callbacks a bitPerttu Ahola
2012-07-25Remove special handling of creative modePerttu Ahola
2012-07-25Detached inventory callbacks and reworked node metadata callbacksPerttu Ahola
2012-07-23Implement node timersdarkrose
2012-07-22minetest.register_on_player_receive_fields()Perttu Ahola
2012-06-17Optimize headersPerttu Ahola
2012-06-05Add after_destruct and cache the existence of on_construct, on_destruct and ↵Perttu Ahola
after_destruct for quick skipping when a node does not have them
2012-06-05Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola
GPLv2/later, by agreement of major contributors
2012-06-03on_metadata_inventory_{move,offer,take}Perttu Ahola
2012-06-03Implement sign using form field protocolPerttu Ahola
2012-06-03Add node on_construct, on_destruct callbacks and update lua_api.txtPerttu Ahola
2012-03-30Reimplement authentication handler in Lua; now we have 1) infinite privilege ↵Perttu Ahola
names, 2) minetest.register_authentication_handler()
2012-03-30ObjectPropertiesPerttu Ahola
2012-03-29on_joinplayer + on_leaveplayer + scriptapi_run_callbacks + bugfixKahrl
Add minetest.register_on_joinplayer and minetest.register_on_leaveplayer, make adding new callbacks to scriptapi.cpp easier by adding scriptapi_run_callbacks, also fix a minor bug with PlayerSAO <-> singleplayer mode interaction
2012-03-29added PlayerSAO and RemotePlayer, removed ServerRemotePlayerKahrl
2012-03-28Add blockseed to on_generatedPerttu Ahola
2012-03-10Immediate smoke puff when a normal entity is punched to deathPerttu Ahola
2012-03-10Entity damage system WIP; Remove C++ mobsPerttu Ahola
2012-02-02Fix some warnings on some compilersGiuseppe Bilotta
ItemStack is a struct, not a class CollisionInfo is a struct, not a class InventoryAction is abstract and it needs a virtual destructor
2012-01-22Node placement / mineral / serialization / iron freq / node_dig callbackKahrl
- Node placement code moved to Lua - Mineral system removed (added default:stone_with_coal and default:stone_with_iron). - MapBlock and MapNode serialization updated. - Mapgen: Frequency of iron increased. - node_dig callback and related changes.
2012-01-12The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl
http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
2012-01-06Implement minetest.register_on_dieplayer()Perttu Ahola
2011-12-02Fix script error reporting a bitPerttu Ahola
2011-12-02Script-defined creative inventoryPerttu Ahola
2011-12-02Add time_from_last_punch to Lua APIPerttu Ahola
2011-11-29CraftItem rework and Lua interfaceKahrl
2011-11-29Add chat message callback and send functionsPerttu Ahola
2011-11-29Add on_generated hookPerttu Ahola
2011-11-29on_newplayer and on_respawnplayer callbacksPerttu Ahola
2011-11-29Add object reference to Lua on_place/dig/punchnode parametersPerttu Ahola
2011-11-29Improve LuaEntity velocity/acceleration handling (by kahrl); implement ↵Perttu Ahola
staticdata interface to Lua
2011-11-29Node place/dig Lua callbacksPerttu Ahola
2011-11-29Create framework for getting rid of global definitions of ↵Perttu Ahola
node/tool/item/whatever types
2011-11-29Handle undefined objects betterPerttu Ahola
2011-11-29Scripting WIP: Add global environment step function on_stepPerttu Ahola
2011-11-29Scripting WIP: dynamic object stuffPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola
2011-11-29Scripting WIP; Lua entity step callback worksPerttu Ahola
2011-11-29Scripting WIPPerttu Ahola