aboutsummaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* Builtin: Redo serialize.lua (#11427)Lars Müller2022-06-11
| | | | | | | | | Features: * Support for arbitrary references, including self-referencing * Short output, references "long" strings as a bonus * Around the same speed, potentially slower if long, short keys are present * Properly works with NaN and inf
* core.formspec_escape: Restore backwards compatLars Müller2022-06-06
| | | Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
* Android: Add support for sharing debug.txt (#12370)rubenwardy2022-06-05
|
* Add register dialog to separate login/register (#12185)rubenwardy2022-06-05
| | | | | | | | | | New users find Minetest's account system confusing. This change moves username/password to a new dialog, with login and register buttons added to the Join Game tab. The old registration confirmation dialog is removed in favour of the new dialog. Fixes #8138
* Hide "Autosave Screen Size" on AndroidROllerozxa2022-06-05
|
* Rework main menu confirmation dialogs (#12356)ROllerozxa2022-06-03
|
* Don't allow banning in singleplayersfan52022-05-29
| | | | fixes #11819
* Default settings, presets and configuration for dynamic shadows (#12359)x20482022-05-29
|
* Builtin: Optimize misc helpers (#12377)Lars Müller2022-05-27
| | | Also add formspec_escape unit test
* Add relative numbers for commands by prepending ~ (#9588)Wuzzy2022-05-22
| | | | | | | | | | | | | | | | | | | * Add relative numbers for commands by prepending ~ * Some builtin code cleanup * Disallow nan and inf in minetest.string_to_area * Remove unused local variable teleportee (makes Luacheck happy) * Clean up core.string_to_pos * Make area parsing less permissive * Rewrite tests as busted tests * /time: Fix negative minutes not working Co-authored-by: Lars Mueller <appgurulars@gmx.de>
* Deprecate game.conf name, use title instead (#12030)rubenwardy2022-05-21
|
* Improve shadow filters (#12195)x20482022-05-21
| | | | | | | | | * Rewrite shadow filtering for the new distortion * Calculate penumbra radius using a single sample * Avoid peter-panning effect due to filtering of short shadows * Add adaptive filter quality for soft shadows * Avoid sharp shadows on surfaces without normals (e.g. plants) * Increase default and maximum soft shadow radius * Make line numbers in shader errors match the code
* Use native packer to transfer globals into async env(s)sfan52022-05-10
|
* Fix Minetest blaming the wrong mod for errors (#12241)Lars Müller2022-05-09
| | | Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
* item_entity: Cache collisionbox for use in on_stepsfan52022-05-08
| | | | | I don't have absolute numbers but if calls to get_properties() take up 30%+ of on_step() execution time that's bound to matter.
* Remove unused variable WARN_INITZughy2022-05-08
|
* Enable dependencies when enabling modpacks (#12202)Jude Melton-Houghton2022-05-08
|
* Fix enabling of dependencies with identical names (#12253)Jude Melton-Houghton2022-05-08
|
* Fix mods not being recursively enabledrubenwardy2022-05-08
| | | | Fixes #12290
* Fix texture packs showing as "Nil (enabled)" in Content tabrubenwardy2022-05-07
| | | | Fixes #12285
* Enable chat clickable weblinks by default (#12115)Froggo2022-05-06
| | | Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Make logging cost free when there is no output target (#12247)paradust72022-05-04
| | | | | The logging streams now do almost no work when there is no output target for them. For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
* Add vector.combine (#11920)Lars Müller2022-05-04
|
* ContentDB: Fix ungraceful crash on aliases when list download failsrubenwardy2022-05-03
| | | | Fixes #12267 and fixes #12154
* Async environment for mods to do concurrent tasks (#11131)sfan52022-05-02
|
* Reorganize some builtin functions in preparation for async envsfan52022-05-02
|
* Apply disallow_empty_password to password changes toosfan52022-04-28
|
* Fix texture packs not showing as enabled in mainmenurubenwardy2022-04-24
| | | | Fixes #12219
* Fix invalid queued package element and path (#12218)Alex2022-04-24
|
* Use mod names/titles instead of technical names (#12192)olive2022-04-24
|
* Builtin: Allow to revoke unknown privilegesSmallJoker2022-04-24
|
* Send chat error when attemping to /set a secure setting (#12193)olive2022-04-16
| | | | | Attempting to /set a secure setting will now say that is disallowed. Previously this would shut down the server. Reading secure settings via /set is still allowed.
* Fix item entity Z-fightingLars Mueller2022-04-10
|
* Fix typo and update settings filesShadowNinja2022-04-08
|
* Fix spaces generated by settings file generatorShadowNinja2022-04-08
|
* Add depth sorting for node faces (#11696)x20482022-04-02
| | | | Use BSP tree to order transparent triangles https://en.wikipedia.org/wiki/Binary_space_partitioning
* Avoid negation of comparison operator (luacheck warning)Dmitry Kostenko2022-04-01
|
* Tune shadow perspective distortion (#12146)x20482022-03-31
| | | | | * Pass perspective distortion parameters as uniforms * Set all perspective bias parameters via ShadowRenderer * Recalibrate perspective distortion and shadow range to render less shadow geometry with the same quality and observed shadow distance
* Store vector metatable in registryJude Melton-Houghton2022-03-29
|
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-26
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Allow get_sky to return a table (#11963)Zughy2022-03-05
|
* Fix broken dependency enabling due to missing `enabled` field (#12093)rubenwardy2022-02-24
|
* Apply texture pack main menu textures immediately (#12018)ROllerozxa2022-02-12
|
* Add support for 'seed' in disallow_mapgen_settings (#12023)Wuzzy2022-02-12
|
* Increase max objects per block defaults (#12055)Lars Müller2022-02-08
|
* Noise params serialization fixupGaël C2022-02-08
|
* Fix types of get_mapgen_setting_noiseparams (#12025)Lars Müller2022-02-04
|
* Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)rubenwardy2022-01-31
|
* Fix builtin statbar backgroundsLars Mueller2022-01-31
| | | | see #12000
* Use virtual paths to specify exact mod to enable (#11784)rubenwardy2022-01-30
|