aboutsummaryrefslogtreecommitdiff
path: root/builtin
AgeCommit message (Collapse)Author
2017-01-13Main menu tweaksShadowNinja
2017-01-13Enable mod security by defaultShadowNinja
2017-01-09Add staticdata parameter to add_entity (#5009)Rui
* Add staticdata parameter to add_entity * Add add_entity_with_staticdata to core.features
2017-01-09builtin/.../falling.lua: Avoid crash when hitting unknown nodessfan5
2017-01-07Make column alignment consistent in advanced settings (#5004)Ezhh
2017-01-04Expose and document chatcommands as minetest.registered_chatcommandsrubenwardy
2016-12-31Fix /grant & /revoke not working with custom auth handler (#4974)Dorian Wouters
core.auth_table is not supposed to be accessed directly.
2016-12-28Redo light.cpp.Auke Kok
Remake the light_decode_table. The table starts out without pre-filled in values since those are always discarded by the code apparently. We calculate a pseudo curve with gamma power function, and then apply a new adjustment table. The adjustment table is setup to make the default gamma of 2.2 look decent: not too dark at light level 3 or so, but too dark at 1 and below to be playable. The curve is much smoother than before and looks reasonable at the whole range, offering a pleasant decay of light levels away from lights. The `display_gamma` setting now actually does something logical: the game is darker at values below 2.2, and brighter at values above 2.2. At 3.0, the game is very bright, but still has a good light scale. At 1.1 or so, the bottom 5 light levels are virtually black, but you can still see enough detail at light levels 7-8, so the range and spread is adequate. I must add that my monitor is somewhat dark to begin with, since I have a `hc` screen that doesn't dynamic range colors or try to pull up `black` pixels for me (it is tuned for accurate color and light levels), so this should look even better on more dynamic display tunings.
2016-12-24Process ABMs in a spherical volume instead of cubicLars Hofhansl
Increase active_block_range default to a 3 mapblock radius.
2016-12-22Final update to credits before releaseCraig Robbins
2016-12-21Builtin/../falling.lua: Avoid crash when object pos over limitparamat
If the object pos is over limit, 'add entity' will not add an entity, causing 'obj' to be nil.
2016-12-21Disable mod security by default (closes #4944)sfan5
2016-12-16Mapgen: Make mgv7 the default in UIAuke Kok
The actual menu default comes from defaultsettings.cpp.
2016-12-14Cavegen: Wider tunnels in mgflat, mgfractal, mgvalleysparamat
As mgv7 is now the default mapgen i re-checked its tunnel width on request, discovered they needed to be wider, and have made this change. This commit widens the identical 3D noise tunnels in the other mapgens in exactly the same way.
2016-12-13Mgv7: Change default cave width to 0.09sfan5
2016-12-12Mod dependency lists: Should have platform-independent line breakingBernardo Sulzbach
This fixes a bug existing in modmgr.lua as reported by @Wuzzy2 which caused the mod dependency list to glitch if input was using a line terminator different than the OS default. The C++ code does not need any changes as it already trims CR occurrences on platforms on which the line termination sequence is LF. Taken into account the size of the depends.txt files used, this should not introduce a noticeable performance regression. Fixes #4720
2016-12-12Setting limits: Fix message text in advanced settings tabRogier
It would complain that the value should be higher than the lower bound, when it should be higher than or equal to the lower bound. Similar issue for the upper bound.
2016-12-12View range: Set maximum to 4000 nodesRogier
The network protocol does not support larger than 255 mapblocks.
2016-12-07Update credits (#4827)Zeno-
Update credits
2016-12-07Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl
Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'.
2016-12-03Don't send a join message in singleplayer mode.red-001
2016-11-28Allow restricting detached inventories to one playersfan5
This combats the problem of sending the hundreds of "creative" / "armor" or whatever detached invs that exist on popular servers to each and every player on join or on change of said invs.
2016-11-23Make supplying empty formspec strings close the formspec (#4737)orwell96
This will only happen if the formname matches or if formname is "".
2016-11-20Tool break: Reduce gain of break soundsparamat
2016-11-18Builtin/../item: Enable tool breaking soundsAuke Kok
If a tool wears out and is destroyed, it's itemstack count goes to 0, and we can optionally play a breaking sound. This patch implements playing a breaking sound when this occurs. Sounds need to be added to the tool itemdef registration as the sound name string in the .sound.breaks member.
2016-11-16Introduce builtin_shared and use it to fix #4778est31
Fixes #4778 which was about the error: ServerError: Lua: Runtime error from mod '' in callback item_OnPlace(): /usr/local/share/minetest/builtin/game/item.lua:278: attempt to call global 'check_attached_node' (a nil value) The issue was a regression of commit 649448a2a91fbf3e944b2f2e739f4e2292af1df0 "Rename nodeupdate and nodeupdate_single and make them part of the official API"
2016-11-15Mgv7: Add optional floatlands, disabled by defaultparamat
2016-11-14Revert "Adding particle blend, glow and animation (#4705)"sfan5
This reverts commit 93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.
2016-11-15Adding particle blend, glow and animation (#4705)Foghrye4
2016-11-14Rename nodeupdate and nodeupdate_single and make them part of the official APIest31
Now, the renamed forms of nodeupdate and nodeupdate_single are part of the official API. As nodeupdate has been used by Minetest Game and in mods despite of not being part of the official API, we ease the transition by still supporting it for the 0.4.15 release. After the release, the two functions can be removed. The removal will not violate the stability promise, as that promise only includes the official and documented API. Also, make some formerly global functions local. They most likely haven't been used by mods, therefore they won't get stubs with deprecation warnings, hard erroring directly.
2016-11-07Builtin/../falling: Fix bugs caused by 'ignore' nodesparamat
Original commit by t4im, rebased and developed by paramat. Fix CONTENT_IGNORE being replaced by falling nodes or causing large areas of sand to collapse into itself. Format some conditional code for clarity. Add and clarify some comments.
2016-11-07Privileges: Only give singleplayer 4 basic privsWuzzy
- interact - shout - privs - basic_privs
2016-11-05Separate optional from required mod dependencies in main menu (#4721)Wuzzy
* Separate optional from require dep's in main menu * Simplify modmgr mod dependency listing code
2016-11-04Add debug priv, and allow player to display the scene as wire-frame. (#4709)lhofhansl
2016-10-31Add version APIShadowNinja
2016-10-31Core.rotate_and_place: Remove unused call to get_look_pitch()Auke Kok
2016-10-30Optionally disable optimization that causes underwater and cave rendering ↵lhofhansl
glitches. (#4686)
2016-10-20Changes to static object storage limit and error messageparamat
Move static object storage force-delete message from errorstream to warningstream. Increase 'max objects per block' setting to 64. Add missing spaces in warning code.
2016-10-20Chat commands: Trim whitespaces from input of `/privs` commandred-001
2016-10-17Builtin: Add vector.floor helper functionrubenwardy
2016-10-16Enable mod security by defaultShadowNinja
2016-10-16Builtin/../chatcommands: Add /grantme commandred-001
2016-10-14Builtin/../falling.lua: Code optimisationtenplus1
2016-10-12Add a button for disabling all mods to world config. (#3900)red-001
2016-10-11Add missing languages to the settingsSmallJoker
2016-10-08VoxelArea: faster iter function (#4490)HybridDog
2016-10-05Chat: new settings to prevent spamLoic Blot
Added the following chat coreside features * Chat messages length limit * Message rate limiting * Message rate kicking Note: * handleChat now takes RemotePlayer pointer instead of u16 to remove useless lookups
2016-10-03Builtin/falling: Add fallback vector in case of nil 'wallmounted to dir'paramat
The fallback vector is in case 'wallmounted to dir' is nil due to voxelmanip placing a wallmounted node without resetting a pre-existing param2 value that is out-of-range for wallmounted. The fallback vector corresponds to param2 = 0.
2016-10-03Forceloading: Transient forceloadsraymoo
Adds a flag to forceload_block which lets you turn off persistence for that forceload.
2016-10-01Fix typo in core.after (#4560)Rui