summaryrefslogtreecommitdiff
path: root/builtin
Commit message (Collapse)AuthorAge
* 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
|
* Update credits for 5.5.0 release (#12001)sfan52022-01-30
|
* Get rid of `basic_debug` last minutesfan52022-01-30
| | | This isn't a revert but rather just disables the codepaths. also see #12011
* Update German builtin translationWuzzy2022-01-30
|
* Update builtin translation templatesWuzzy2022-01-30
|
* Fix Minetest logo when installed system-wideROllerozxa2022-01-30
|
* Raise max mapgen limit constant to align with mapblock sizesfan52022-01-30
|
* Disable dynamic shadows for the 5.5.0 releaseSmallJoker2022-01-29
| | | | | | | | | The dynamic shadows are yet not in the desired state to justify the inclusion into version 5.5.0. A stable release is long overdue, hence this allows fixes to continue in 5.6.0-dev to finally release an acceptable version of the dynamic shadows feature. Reverting this commit is highly recommended to proceed in development.
* Builtin: Sanity-check /time inputs (#11993)SmallJoker2022-01-27
| | | This enforces the documented bounds for the /time command.
* Free arguments of cancelled minetest.after() jobssfan52022-01-19
|