aboutsummaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* Use tree to list mods rather than textlistrubenwardy2017-02-10
|
* Add textures for air and ignore items (#5196)Wuzzy2017-02-10
|
* Change default nodetimer_interval to 0.2s. (#5193)Auke Kok2017-02-09
| | | | | | | | | | We want to reduce the chance that we get lots and lots of node timers all happening once a second, because we're better off doing small bits of work as they are available. Reducing this to 0.2 seconds will greatly reduce the total amount of nodetimers that elapse at the same instance, while not effecting total work load. This results in a far better chance of the server keeping up with work loads.
* Serverlist: Add ping indicators (#5164)kilbith2017-02-03
|
* Make facedir_to_dir and wallmounted_to_dir work with coloured nodes as well. ↵Nathanaël Courant2017-01-31
| | | | (#5153)
* Add console height setting (#5136)Ezhh2017-01-30
|
* Zoom FOV: Reduce minimum zoom FOV to 7 degreesparamat2017-01-23
| | | | | | | | The default of 15 is unchanged. 7 degrees is x10 magnification which is common for binoculars. Alter hardcoded limits in camera.cpp: Minimum 7 degrees. Maximum 160 degrees to match upper limits in advanced settings.
* core: Add dir_to_yaw and yaw_to_dir helpersAuke Kok2017-01-23
| | | | | These are needed to go from things like entity yaw to a vector and vice versa.
* Vector: Add vector.sort(a, b): return box edgesAuke Kok2017-01-23
| | | | | This function returns the box corners of the smallest box that includes the two given coordinates.
* Add show_statusline_on_connect setting (#5084)Loïc Blot2017-01-21
| | | Add show_statusline_on_connect setting
* Add chatcommand unregister and override API (#5076)Elijah Duffy2017-01-20
| | | | | Introduces two functions to unregister and override chatcommands. minetest.unregister_chatcommand("<name>") and minetest.override_chatcommand("<name>", {<redifinition>})
* Add minetest.player_exists() (#5064)rubenwardy2017-01-18
|
* Add search to advanced settings (#4806)rubenwardy2017-01-18
| | | | | | | | * Add search to advanced settings * Press enter again to go to next result * Use keyword based search, auto select best option
* Improve priv descriptions (#5047)Ezhh2017-01-17
|
* Remove client-side chat prediction. (#5055)red-0012017-01-17
| | | Network lag isn't really a big issue with chat and chat prediction makes writing mods harder.
* Adjust formspec spacing on the Client tab of the mainmenurubenwardy2017-01-16
|
* Add keyword based search to serverlistred-0012017-01-15
|
* Documentation: Correct biome heat / humidity noise parametersparamat2017-01-15
| | | | | | When the new set of biomes was added in MTGame the 'spread' for heat and humidity noise parameters was increased to 1000, i forgot to update settingtypes.txt and minetest.conf.
* Main menu tweaksShadowNinja2017-01-13
|
* Enable mod security by defaultShadowNinja2017-01-13
|
* Add staticdata parameter to add_entity (#5009)Rui2017-01-09
| | | | | * Add staticdata parameter to add_entity * Add add_entity_with_staticdata to core.features
* builtin/.../falling.lua: Avoid crash when hitting unknown nodessfan52017-01-09
|
* Make column alignment consistent in advanced settings (#5004)Ezhh2017-01-07
|
* Expose and document chatcommands as minetest.registered_chatcommandsrubenwardy2017-01-04
|
* Fix /grant & /revoke not working with custom auth handler (#4974)Dorian Wouters2016-12-31
| | | core.auth_table is not supposed to be accessed directly.
* Redo light.cpp.Auke Kok2016-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Process ABMs in a spherical volume instead of cubicLars Hofhansl2016-12-24
| | | | Increase active_block_range default to a 3 mapblock radius.
* Final update to credits before releaseCraig Robbins2016-12-22
|
* Builtin/../falling.lua: Avoid crash when object pos over limitparamat2016-12-21
| | | | | If the object pos is over limit, 'add entity' will not add an entity, causing 'obj' to be nil.
* Disable mod security by default (closes #4944)sfan52016-12-21
|
* Mapgen: Make mgv7 the default in UIAuke Kok2016-12-16
| | | | The actual menu default comes from defaultsettings.cpp.
* Cavegen: Wider tunnels in mgflat, mgfractal, mgvalleysparamat2016-12-14
| | | | | | | 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.
* Mgv7: Change default cave width to 0.09sfan52016-12-13
|
* Mod dependency lists: Should have platform-independent line breakingBernardo Sulzbach2016-12-12
| | | | | | | | | | | | | | 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
* Setting limits: Fix message text in advanced settings tabRogier2016-12-12
| | | | | | | 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.
* View range: Set maximum to 4000 nodesRogier2016-12-12
| | | | The network protocol does not support larger than 255 mapblocks.
* Update credits (#4827)Zeno-2016-12-07
| | | Update credits
* Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl2016-12-07
| | | | | | Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'.
* Don't send a join message in singleplayer mode.red-0012016-12-03
|
* Allow restricting detached inventories to one playersfan52016-11-28
| | | | | | | 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.
* Make supplying empty formspec strings close the formspec (#4737)orwell962016-11-23
| | | This will only happen if the formname matches or if formname is "".
* Tool break: Reduce gain of break soundsparamat2016-11-20
|
* Builtin/../item: Enable tool breaking soundsAuke Kok2016-11-18
| | | | | | | | | | 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.
* Introduce builtin_shared and use it to fix #4778est312016-11-16
| | | | | | | | | | | 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"
* Mgv7: Add optional floatlands, disabled by defaultparamat2016-11-15
|
* Revert "Adding particle blend, glow and animation (#4705)"sfan52016-11-14
| | | | This reverts commit 93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.
* Adding particle blend, glow and animation (#4705)Foghrye42016-11-15
|
* Rename nodeupdate and nodeupdate_single and make them part of the official APIest312016-11-14
| | | | | | | | | | | | | | | 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.
* Builtin/../falling: Fix bugs caused by 'ignore' nodesparamat2016-11-07
| | | | | | | | 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.
* Privileges: Only give singleplayer 4 basic privsWuzzy2016-11-07
| | | | | | | - interact - shout - privs - basic_privs