aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2020-11-23Add sound to press event of some formspecs elements (#10402)Pierre-Yves Rollo
2020-11-10Do not set a default for description in itemdef table (#10559)DS
* Do not set a default for description in itemdef table * improve documentation
2020-11-09Fix object interaction distance not being checked (#10547)rubenwardy
2020-11-04Add model[] formspec element (#10320)SmallJoker
Formspec element to display models, written by @kilbith, rebased and tweaked. Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
2020-10-22Clean up l_object.cpp (#10512)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-19Decouple entity minimap markers from nametags replacing with show_on_minimap ↵sfan5
property (#10443)
2020-10-17Remove all bump mapping and parallax occlusion related code.Lars
2020-10-13Add ObjectRef:get_children() (#10480)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-09Add a short_description to be used by mods (#8980)DS
2020-10-08Mention texture modifier colorspace (#10112)HybridDog
2020-10-06Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday). Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-04Minimap as HUD element with API controlPierre-Yves Rollo
Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
2020-10-04Add First Person Attachments (#10360)Jordan Snelling
Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
2020-10-04Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy
2020-10-03Document builtin entities (#9453)Wuzzy
This PR adds a new text file doc/builtin_entities.txt which explains how the two builtin entities __builtin:item and __builtin:falling_node work.
2020-10-03Add note to docs on how to override privileges (#9792)LoneWolfHT
2020-10-03Lua API: Add register_on_chatcommand to SSM and CSM (#7862)Elijah Duffy
Allows catching a chatcommand call just after the command and the parameters are parsed but before its existence is checked and before the corresponding function is run. Returning `true` from a callback function will prevent default handling of the command leaving mods to handle the command manually.
2020-10-03Chatcommand: Show help message if func returns false without messageHybridDog
#9440
2020-09-23Ability to remove minetest.after once set (#10103)tenplus1
2020-09-16lua_api.txt: author, release and title fields when downloading from ↵Zughy
ContentDB (#10129) Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com> Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-09-04Fix inventory swapping not calling all callbacks (#9923)Lars Müller
"Predicts" whether something will be swapped for allow callbacks, then calls callbacks a second time with swapped properties. Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-09-01Mark multiply and divide with two vectors as deprecated (Schur product and ↵DS
quotient) (#10329)
2020-08-30Fix dropped craftitems/tools not using light_source values (#9438)LoneWolfHT
2020-08-29Add compass HUD element (#9312)EvidenceB
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-08-29Document normalmap textures (#10096)HybridDog
2020-08-29Add vector.offset (#10321)DS
2020-08-27Improve set_texture_mod documentation (#10339)karamel59
Properly documents the select_x_by_camera values
2020-08-20Load media from subfolders (#9065)DS
2020-08-19Add gradients and borders to FormSpec boxes (#8676)v-rob
2020-08-19Clean up sound_fade (#10119)hecks
Add proper documentation and correct gain reduction calculations. Co-authored-by: hecktest <>
2020-08-15Allow binding dig, place actions to keys; remove LMB/RMB hardcodingANAND
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-12Render nodeboxes with opaque material if possible (#10122)sfan5
2020-08-04Implement override.txt support for special tiles (#10140)Hugues Ross
Add override targets for all special_tiles entries in node definitions, allowing texture packs to replace these textures. This makes overrides work properly with a variety of drawtypes. The targets are named special1 through special6, covering the the current length of the special_tiles array.
2020-07-30content_cao: Support texture animation for upright_sprite (#10020)sfan5
2020-07-29Add PUT and DELETE request + specific method value to HTTP API (#9909)Lejo
2020-07-27Play place_failed sound if occupied or cannot attach (#9486)Wuzzy
2020-07-23Improve default inventory+wield images of node drawtypes (#9299)Wuzzy
2020-07-14Implement grouped mode for find_nodes_in_area (#9888)sfan5
plus general improvements to find_node_* functions
2020-07-14Add object crosshair, disable entity selectionboxes by default (#9523)LoneWolfHT
Adds new object crosshair base pack texture
2020-07-12Add FormSpec font styling options (#9763)v-rob
* Add FormSpec font styling options * Change multiplication to stof * Remove extraneous check
2020-07-12Allow FormSpec elements to be focused with `set_focus` (#9353)v-rob
This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
2020-07-10Formspec: Make dropdowns optionally return event based on index, not value ↵v-rob
(#9496)
2020-07-09Continue with 5.4.0-devsfan5
2020-06-23Document deprecation of *_hovered and *_pressed styles (#10092)v-rob
2020-06-17Fix typo (#10043)oilboi
2020-06-16Make shading of CAOs optional (#10033)Danila Shutov
2020-06-13Exposing the zoom key to Lua API (#9903)Lars Müller
Co-authored-by: Raul Ferriz <raul.ferriz@gmail.com>
2020-06-13Server pushing media at runtime (#9961)sfan5
2020-06-12Add LevelDB player database (#9982)luk3yx
2020-06-09Some vector functions useful for working with rotations (#9572)NetherEran
* added vector.rotate * added vector.forward_from_rotation and vector.up_from_rotation * added vector.forward_up_to_rotatiton * fixed some bugs and formatting with vector functions * shortened name of some new vector functions and added documentation * made vector.rotate not require a unit vector as axis * fixed crash with vector.forward_up_to_rot * renamed new vector functions, made vector.rotate apply a rotation matrix, old vector.rotate is now called vector.rotate_around_axis * documented vector function changes * removed some whitespace to appease luacheck * implemented and fixed optimization of vector.rotate_around_axis by SmallJoker * added some unit tests for rotation vector functions * clarified that rotation vectors are in radians and according to the left hand rule * hopefully appeased luacheck * renamed rotation_to_horizontal to forward_at_rotation, rotation_to_vertical to up_at_rotation * handled cases where sin or cos are 0 in rotation vector functions * added more comments * clarified documentation of rotation vector functions * added more unit tests * changed way in which vector.rotate_around_axis is adjusted for left handed coordinate systems * made vector.rotate_around_axis actually left handed * unrolled matrix multiplication * removed vector.forward_at_rotation and vector.up_at_rotation * prettified vector.rotate_around_axis, made previous commits not break anything * removed references to removed vector.forward_at_rotation and vector.up_at_rotation * removed documentation of removed vector functions * clarified documentation and fixed styling of rotation vector functions * restyled comments minorly * spelling fixes and some hopefully better comments * allowed 'up' to be missing from vector.directions_to_rotation and removed requirement for unit vectors as arguments * made vector.rotate_around_axis() right handed again for consistency * documented previous changes * made matrix multiplication actually multiply * renamed vector.directions_to_rotation() to vector.dir_to_rotation() * optimized a distance comparison * Fixed potential false positive in unit tests. Co-authored-by: NetherEran <nethereran@hotmail.com>