]> git.lizzy.rs Git - dragonfireclient.git/log
dragonfireclient.git
2 years agoAdd spider
Elias Fleckenstein [Tue, 17 May 2022 18:05:52 +0000 (20:05 +0200)]
Add spider

2 years agoMake LuaVoxelManipulator available to CSM API
Elias Fleckenstein [Mon, 29 Nov 2021 10:34:12 +0000 (11:34 +0100)]
Make LuaVoxelManipulator available to CSM API

2 years agominetest.dig_node: Remove node
Elias Fleckenstein [Wed, 24 Nov 2021 15:01:04 +0000 (16:01 +0100)]
minetest.dig_node: Remove node

2 years agoMerge branch 'master' of https://github.com/minetest/minetest
Elias Fleckenstein [Sun, 19 Sep 2021 18:56:13 +0000 (20:56 +0200)]
Merge branch 'master' of https://github.com/minetest/minetest

2 years agoAdd ClientObjectRef:remove and return true in on_object_add callback to remove newly...
Elias Fleckenstein [Sun, 19 Sep 2021 16:55:25 +0000 (18:55 +0200)]
Add ClientObjectRef:remove and return true in on_object_add callback to remove newly added object

2 years agoFix trivial typos
sfan5 [Sun, 19 Sep 2021 11:46:56 +0000 (13:46 +0200)]
Fix trivial typos

2 years agoAdd feature table entry for new dynamic media API
sfan5 [Fri, 17 Sep 2021 15:17:40 +0000 (17:17 +0200)]
Add feature table entry for new dynamic media API

2 years agoAdd preprocessor check for weird (incorrect) build configurations
sfan5 [Mon, 13 Sep 2021 15:38:19 +0000 (17:38 +0200)]
Add preprocessor check for weird (incorrect) build configurations

2 years agoShave off buffer copies in networking code (#11607)
sfan5 [Fri, 17 Sep 2021 16:14:25 +0000 (18:14 +0200)]
Shave off buffer copies in networking code (#11607)

2 years agoFix GLES2 discard behaviour (texture transparency)
sfan5 [Fri, 10 Sep 2021 19:59:29 +0000 (21:59 +0200)]
Fix GLES2 discard behaviour (texture transparency)

2 years agoHide Wself-assign-overloaded and Wself-move unittest compilation warnings
HybridDog [Thu, 5 Mar 2020 13:11:58 +0000 (14:11 +0100)]
Hide Wself-assign-overloaded and Wself-move unittest compilation warnings

The warnings occured with the clang compiler

2 years agoReadd TGA to the list of valid texture formats. (#11598)
ROllerozxa [Wed, 15 Sep 2021 10:12:24 +0000 (12:12 +0200)]
Readd TGA to the list of valid texture formats. (#11598)

2 years agoChop game background in mainmenu (#10796)
Lars Müller [Tue, 14 Sep 2021 18:46:02 +0000 (20:46 +0200)]
Chop game background in mainmenu (#10796)

2 years agoAdd Windows-specific CreateTempFile() implementation
sfan5 [Mon, 13 Sep 2021 17:40:53 +0000 (19:40 +0200)]
Add Windows-specific CreateTempFile() implementation

Once again MSVC is the only compiler not supporting basic POSIX functionality.

2 years agoFix broken handling of NodemetaChanged packets
sfan5 [Sun, 12 Sep 2021 12:35:52 +0000 (14:35 +0200)]
Fix broken handling of NodemetaChanged packets

fixes #11610

2 years agoMake sure relevant std::stringstreams are set to binary
sfan5 [Sat, 11 Sep 2021 19:06:57 +0000 (21:06 +0200)]
Make sure relevant std::stringstreams are set to binary

2 years agoClean up/improve some scriptapi error handling code
sfan5 [Fri, 10 Sep 2021 21:16:46 +0000 (23:16 +0200)]
Clean up/improve some scriptapi error handling code

2 years agoSend to clients node metadata that changed to become empty (#11597)
Jude Melton-Houghton [Fri, 10 Sep 2021 21:16:34 +0000 (17:16 -0400)]
Send to clients node metadata that changed to become empty (#11597)

2 years agoSplit vector.new into 3 constructors
DS [Fri, 10 Sep 2021 21:16:16 +0000 (23:16 +0200)]
Split vector.new into 3 constructors

2 years agoDynamic_Add_Media v2 (#11550)
sfan5 [Thu, 9 Sep 2021 14:51:35 +0000 (16:51 +0200)]
Dynamic_Add_Media v2 (#11550)

2 years agoAdd missing zstd-libs to final Docker image
Buckaroo Banzai [Tue, 7 Sep 2021 13:29:57 +0000 (15:29 +0200)]
Add missing zstd-libs to final Docker image

Also add `minetestserver --version` command to verify docker build in CI

2 years agoFix movement in random_input mode (#11592)
NeroBurner [Sun, 5 Sep 2021 17:58:50 +0000 (19:58 +0200)]
Fix movement in random_input mode (#11592)

2 years agoAdd hint to error message on how to build with in-tree Irrlicht
20kdc [Sun, 5 Sep 2021 17:57:40 +0000 (18:57 +0100)]
Add hint to error message on how to build with in-tree Irrlicht

2 years agoFix falling mesh nodes being half size (#11389)
Wuzzy [Wed, 1 Sep 2021 20:20:57 +0000 (20:20 +0000)]
Fix falling mesh nodes being half size (#11389)

2 years agoUpdate README for zstd changes
sfan5 [Wed, 1 Sep 2021 17:17:17 +0000 (19:17 +0200)]
Update README for zstd changes

2 years agoDon't look for zlib and zstd manually on Windows
sfan5 [Wed, 1 Sep 2021 08:48:54 +0000 (10:48 +0200)]
Don't look for zlib and zstd manually on Windows

2 years agoDrop Ubuntu 16.04 from gitlab-ci, add 20.04 instead
sfan5 [Wed, 1 Sep 2021 08:41:36 +0000 (10:41 +0200)]
Drop Ubuntu 16.04 from gitlab-ci, add 20.04 instead

2 years agoCheck for required libzstd APIs in cmake
sfan5 [Wed, 1 Sep 2021 08:37:38 +0000 (10:37 +0200)]
Check for required libzstd APIs in cmake

It's very unlikely that anyone uses a zstd version this old, but if they do fail early.

2 years agoSwitch MapBlock compression to zstd (#10788)
lhofhansl [Wed, 1 Sep 2021 00:32:31 +0000 (17:32 -0700)]
Switch MapBlock compression to zstd (#10788)

* Add zstd support.
* Rearrange serialization order
* Compress entire mapblock

Co-authored-by: sfan5 <sfan5@live.de>
2 years agoCI: Bump IrrlichtMt to 1.9.0mt3
sfan5 [Tue, 31 Aug 2021 21:57:39 +0000 (23:57 +0200)]
CI: Bump IrrlichtMt to 1.9.0mt3

2 years agoMerge pull request #35 from arydevy/patch-1
Elias Fleckenstein [Mon, 30 Aug 2021 15:59:59 +0000 (17:59 +0200)]
Merge pull request #35 from arydevy/patch-1

Changed README.md to fit the dragonfire client

2 years agoMerge pull request #42 from Minetest-j45/master
Elias Fleckenstein [Mon, 30 Aug 2021 15:58:18 +0000 (17:58 +0200)]
Merge pull request #42 from Minetest-j45/master

Add AirJump

2 years agoremove irrlicht from lid dir (accident) 42/head
Minetest-j45 [Mon, 30 Aug 2021 15:46:48 +0000 (16:46 +0100)]
remove irrlicht from lid dir (accident)

2 years agoadd airjump and remove unused headers
Minetest-j45 [Mon, 30 Aug 2021 15:45:27 +0000 (16:45 +0100)]
add airjump and remove unused headers

2 years agoMerge pull request #1 from EliasFleckenstein03/master
Minetest-j45 [Mon, 30 Aug 2021 14:22:40 +0000 (15:22 +0100)]
Merge pull request #1 from EliasFleckenstein03/master

update

2 years agoRemove closing paren as weblink delimiter
pecksin [Sun, 29 Aug 2021 17:14:06 +0000 (13:14 -0400)]
Remove closing paren as weblink delimiter

2 years agoAsync-related script cleanups
sfan5 [Sat, 28 Aug 2021 10:15:12 +0000 (12:15 +0200)]
Async-related script cleanups

2 years agoCI: Add macOS workflow (#11454)
fn ⌃ ⌥ [Sat, 28 Aug 2021 10:14:55 +0000 (03:14 -0700)]
CI: Add macOS workflow (#11454)

2 years agoRemove redundant on_dieplayer calls
savilli [Sat, 28 Aug 2021 10:14:16 +0000 (12:14 +0200)]
Remove redundant on_dieplayer calls

2 years agoJoystick sensitivity for player movement (#11262)
NeroBurner [Fri, 27 Aug 2021 18:24:24 +0000 (20:24 +0200)]
Joystick sensitivity for player movement (#11262)

This commit deprecates the forward, backward, left, and right binary
inputs currently used for player movement in the PlayerControl struct.
In their place, it adds the movement_speed and movement_direction
values, which represents the player movement is a polar coordinate
system.

movement_speed is a scalar from 0.0 to 1.0. movement_direction is
an angle from 0 to +-Pi:

       FWD
        0
        _
 LFT   / \   RGT
-Pi/2 |   | +Pi/2
       \_/
       +-Pi
       BCK

Boolean movement bits will still be set for server telegrams and
Lua script invocations to provide full backward compatibility.
When generating these values from an analog input, a direction is
considered active when it is 22.5 degrees away from either
orthogonal axis.

Co-authored-by: Markus Koch <markus@notsyncing.net>
Co-authored-by: sfan5 <sfan5@live.de>
2 years agoAdd group-based tool filtering for node drops (#10141)
Treer [Fri, 27 Aug 2021 18:23:20 +0000 (04:23 +1000)]
Add group-based tool filtering for node drops (#10141)

Supports both AND and OR requirements, e.g.

 * "a tool that's in any of these groups"
 * "a tool that's in all of these groups"

2 years agoOptimize vector length calculations (#11549)
Lean Rada [Fri, 27 Aug 2021 18:22:35 +0000 (02:22 +0800)]
Optimize vector length calculations (#11549)

2 years agoAdd debian 11 to Gitlab-CI (#11571)
Loïc Blot [Fri, 27 Aug 2021 09:19:15 +0000 (11:19 +0200)]
Add debian 11 to Gitlab-CI (#11571)

* feat(gitlab-ci): add debian 11 support

2 years agofix: update to alpine 3.14 (#11570)
Loïc Blot [Tue, 24 Aug 2021 12:52:05 +0000 (14:52 +0200)]
fix: update to alpine 3.14 (#11570)

2 years agoSet policies through CMake 3.9 to allow enabling IPO (#11560)
JosiahWI [Mon, 23 Aug 2021 20:13:47 +0000 (15:13 -0500)]
Set policies through CMake 3.9 to allow enabling IPO (#11560)

2 years agoFix 6th line of infotext being cut off in half (#11456)
Wuzzy [Mon, 23 Aug 2021 20:13:17 +0000 (20:13 +0000)]
Fix 6th line of infotext being cut off in half (#11456)

2 years agoInventory: Fix rare out-of-bounds access
SmallJoker [Mon, 23 Aug 2021 12:10:17 +0000 (14:10 +0200)]
Inventory: Fix rare out-of-bounds access

Co-authored-by: Thomas--S <info@thomas-stangl.de>
2 years agoUse utf-8 for the Irrlicht clipboard (#11538)
DS [Mon, 23 Aug 2021 12:09:50 +0000 (14:09 +0200)]
Use utf-8 for the Irrlicht clipboard (#11538)

2 years agoFix server-only builds on older CMake versions (#11566)
sfan5 [Mon, 23 Aug 2021 11:33:25 +0000 (13:33 +0200)]
Fix server-only builds on older CMake versions (#11566)

closes #11564

2 years agoHUD: Reject and warn on invalid stat types (#11548)
SmallJoker [Sat, 21 Aug 2021 18:04:04 +0000 (20:04 +0200)]
HUD: Reject and warn on invalid stat types (#11548)

This comes into play on older servers which do not know the "stat" type.
Warnings are only logged once to avoid spam within globalstep callbacks

2 years agoAllow lib/irrlichtmt to work for server builds (headers-only)
sfan5 [Thu, 19 Aug 2021 17:21:33 +0000 (19:21 +0200)]
Allow lib/irrlichtmt to work for server builds (headers-only)

2 years agoShow status message when changing block bounds (#11556)
Wuzzy [Sat, 21 Aug 2021 11:53:49 +0000 (11:53 +0000)]
Show status message when changing block bounds (#11556)

2 years agoValidate staticdata and object property length limits (#11511)
sfan5 [Thu, 19 Aug 2021 18:14:22 +0000 (20:14 +0200)]
Validate staticdata and object property length limits (#11511)

Some games provide users with enough freedom to create items
with metadata longer than 64KB, preventing this from causing
issues is on them but we'll still do the minimum not to abort
the server if this happens.

2 years agoFix scaled world-aligned textures being aligned inconsistently for non-normal drawtypes
Wuzzy [Thu, 19 Aug 2021 18:14:04 +0000 (18:14 +0000)]
Fix scaled world-aligned textures being aligned inconsistently for non-normal drawtypes

2 years agoAdd fwgettext util function
rubenwardy [Thu, 19 Aug 2021 18:13:25 +0000 (19:13 +0100)]
Add fwgettext util function

2 years agoFix inconsistent integer comparison warnings
SmallJoker [Tue, 17 Aug 2021 18:00:47 +0000 (20:00 +0200)]
Fix inconsistent integer comparison warnings

2 years agoClarify the meaning of "rightclick"/"use" in documentation (#11471)
Wuzzy [Mon, 16 Aug 2021 15:57:07 +0000 (15:57 +0000)]
Clarify the meaning of "rightclick"/"use" in documentation (#11471)

2 years agoStart sprite animation at the beginning (#11509)
Lean Rada [Mon, 16 Aug 2021 15:56:38 +0000 (23:56 +0800)]
Start sprite animation at the beginning (#11509)

When setting a sprite animation, do not keep the last animation's frame number. Setting a new animation should start the animation at the start of the new animation.

2 years agoCap iterations of imageCleanTransparent sanely
sfan5 [Sun, 15 Aug 2021 12:46:45 +0000 (14:46 +0200)]
Cap iterations of imageCleanTransparent sanely

fixes #11513 performance regression with 256x textures

2 years agoFix access violation in create_schematic() (#11534)
Treer [Mon, 16 Aug 2021 15:55:35 +0000 (01:55 +1000)]
Fix access violation in create_schematic() (#11534)

fixes #11533

Schematics saved from y locations greater than 0 would cause an access violation if layer probabilities were specified

2 years agoFix segfault caused by shadow map on exit
SmallJoker [Thu, 12 Aug 2021 18:03:25 +0000 (20:03 +0200)]
Fix segfault caused by shadow map on exit

2 years agoAdd disable_settings to game.conf to get rid of "Enable Damage"/"Creative Mode"/...
Hugues Ross [Thu, 12 Aug 2021 18:08:12 +0000 (14:08 -0400)]
Add disable_settings to game.conf to get rid of "Enable Damage"/"Creative Mode"/"Host Server" checkboxes (#11524)

This adds support for disable_settings to game.conf. In this you can specify a list of settings that should not be visible in the "local game" (or however it is called nowadays) tab. Enable Damage, Creative Mode and Host Server are supported.

Co-authored-by: Wuzzy <Wuzzy2@mail.ru>
Co-authored-by: Aaron Suen <warr1024@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2 years agoMove updating shadows outside of RenderingCore::drawAll. (#11491)
x2048 [Thu, 12 Aug 2021 18:07:09 +0000 (20:07 +0200)]
Move updating shadows outside of RenderingCore::drawAll. (#11491)

Fixes indirect rendering modes such as some 3D modes mentioned in #11437 and undersampled rendering.
Does not fully fix anaglyph 3d mode.

2 years agoFix a segfault caused by wrong textdomain lines in translation files (#11530)
DS [Thu, 12 Aug 2021 18:06:18 +0000 (20:06 +0200)]
Fix a segfault caused by wrong textdomain lines in translation files (#11530)

* The problem were lines like these:
  "# textdomain:"
* str_split does not add an empty last part if there is a delimiter
  at the end, but this was probably assumed here.

2 years agoRemove statement semicolons from a lua script
hecks [Mon, 9 Aug 2021 19:03:18 +0000 (21:03 +0200)]
Remove statement semicolons from a lua script

2 years agoFix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519)
DS [Sun, 8 Aug 2021 16:59:45 +0000 (18:59 +0200)]
Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519)

2 years agoGettext support on Android (#11435)
Pevernow [Sun, 8 Aug 2021 16:59:07 +0000 (00:59 +0800)]
Gettext support on Android (#11435)

Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= <code@oleastre.be>
2 years agoOpenAL: Free buffers on quit
SmallJoker [Tue, 3 Aug 2021 18:26:00 +0000 (20:26 +0200)]
OpenAL: Free buffers on quit

2 years agoContentDB: Add support for package aliases / renaming (#11484)
rubenwardy [Mon, 2 Aug 2021 19:05:10 +0000 (20:05 +0100)]
ContentDB: Add support for package aliases / renaming (#11484)

2 years agoMods: Combine mod loading checks and deprection logging (#11503)
SmallJoker [Sat, 31 Jul 2021 17:54:52 +0000 (19:54 +0200)]
Mods: Combine mod loading checks and deprection logging (#11503)

This limits the logged deprecation messages to the mods that are loaded
Unifies the mod naming convention check for CSM & SSM

2 years agoFix /emergeblocks crashing in debug builds (#11461)
Wuzzy [Sat, 31 Jul 2021 17:54:40 +0000 (17:54 +0000)]
Fix /emergeblocks crashing in debug builds (#11461)

The reason for the bug was an u16 overflow, thus failing the assert. This only happened in Debug build but not in Release builds.

2 years agoUpdate IrrlichtMt-related stuff in README
sfan5 [Sat, 31 Jul 2021 11:23:13 +0000 (13:23 +0200)]
Update IrrlichtMt-related stuff in README

2 years agoRemove unsupported formats from the media enumerator
hecks [Thu, 29 Jul 2021 20:36:25 +0000 (22:36 +0200)]
Remove unsupported formats from the media enumerator

2 years agoRemove unsupported extensions from list in tile.cpp
hecktest [Thu, 29 Jul 2021 19:47:08 +0000 (21:47 +0200)]
Remove unsupported extensions from list in tile.cpp

2 years agoAdd a simple PNG image encoder with Lua API (#11485)
hecks [Thu, 29 Jul 2021 03:10:10 +0000 (05:10 +0200)]
Add a simple PNG image encoder with Lua API (#11485)

* Add a simple PNG image encoder with Lua API
Add ColorSpec to RGBA converter
Make a safety wrapper for the encoder
Create devtest examples

Co-authored-by: hecktest <>
Co-authored-by: sfan5 <sfan5@live.de>
2 years agobuildbot: Readd missing IrrlichtMt DLLs
sfan5 [Tue, 27 Jul 2021 18:37:51 +0000 (20:37 +0200)]
buildbot: Readd missing IrrlichtMt DLLs

2 years agoAdd bold, italic and monospace font styling for HUD text elements (#11478)
sfan5 [Tue, 27 Jul 2021 17:11:46 +0000 (19:11 +0200)]
Add bold, italic and monospace font styling for HUD text elements (#11478)

Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2 years agoTake advantage of IrrlichtMt CMake target (#11287)
JosiahWI [Tue, 27 Jul 2021 17:11:27 +0000 (12:11 -0500)]
Take advantage of IrrlichtMt CMake target (#11287)

With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt.
Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.

2 years agoImprove documentation of tools (#11128)
Wuzzy [Tue, 27 Jul 2021 17:09:14 +0000 (17:09 +0000)]
Improve documentation of tools (#11128)

2 years agoContentDB: Add reason to downloads (#10876)
rubenwardy [Tue, 27 Jul 2021 17:08:49 +0000 (18:08 +0100)]
ContentDB: Add reason to downloads (#10876)

2 years agoDistribute shadow map update over multiple frames to reduce stutter (#11422)
x2048 [Sun, 25 Jul 2021 10:36:23 +0000 (12:36 +0200)]
Distribute shadow map update over multiple frames to reduce stutter (#11422)

Reduces stutter and freezes when playing.

 * Maintains double SM and SM Color textures
 * Light frustum update triggers incremental generation of shadow map into secondary 'future' textures.
 * Every incremental update renders a portion of the shadow draw list (split equally).
 * After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen.

Co-authored-by: sfan5 <sfan5@live.de>
2 years agoAdd smooth light-shadow transition at noon (#11430)
x2048 [Sun, 25 Jul 2021 10:35:12 +0000 (12:35 +0200)]
Add smooth light-shadow transition at noon (#11430)

Node faces with normals pointing East/West (+X/-X) will transition between light
and shadow at noon. This code makes the transition smooth.

2 years agoDocument glasslikeliquidlevel merge bits (#11479)
random-geek [Sun, 25 Jul 2021 10:34:53 +0000 (03:34 -0700)]
Document glasslikeliquidlevel merge bits (#11479)

2 years agoRemove unused ITextSceneNode header (#11476)
hecks [Wed, 21 Jul 2021 22:55:20 +0000 (00:55 +0200)]
Remove unused ITextSceneNode header (#11476)

Co-authored-by: hecktest <>
2 years agoRemove unused header includes
hecks [Wed, 21 Jul 2021 20:07:13 +0000 (22:07 +0200)]
Remove unused header includes

2 years agoFix no locales being generated when APPLY_LOCALE_BLACKLIST=0
sfan5 [Tue, 20 Jul 2021 15:53:28 +0000 (17:53 +0200)]
Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0

Also enable `ky` which appears to work fine.

2 years agoCSM: Do not index files within hidden directories
SmallJoker [Sat, 17 Jul 2021 14:44:06 +0000 (16:44 +0200)]
CSM: Do not index files within hidden directories

CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore

2 years agoAdd wallmounted support for plantlike and plantlike_rooted nodes (#11379)
Wuzzy [Thu, 15 Jul 2021 19:19:59 +0000 (19:19 +0000)]
Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)

2 years agoFix documented default colors for set_sky
Hugues Ross [Wed, 14 Jul 2021 15:14:45 +0000 (11:14 -0400)]
Fix documented default colors for set_sky

2 years agoRemove hardcoded "You died." message in chat (#11443)
Wuzzy [Mon, 12 Jul 2021 18:32:27 +0000 (18:32 +0000)]
Remove hardcoded "You died." message in chat (#11443)

2 years agoFix revoke debug privs not reliably turn off stuff (#11409)
Wuzzy [Mon, 12 Jul 2021 18:32:18 +0000 (18:32 +0000)]
Fix revoke debug privs not reliably turn off stuff (#11409)

2 years agoFix build on Ubuntu 16.04 and macOS
sfan5 [Mon, 12 Jul 2021 09:53:05 +0000 (11:53 +0200)]
Fix build on Ubuntu 16.04 and macOS

Apparently the C++ standard library is supposed to provide
specializations of std::hash for enums (even in C++11)
but those don't always work for whatever reason.

2 years agoAvoid draw list and shadow map update in the same frame to reduce dtime jitter (...
x2048 [Sun, 11 Jul 2021 17:57:29 +0000 (19:57 +0200)]
Avoid draw list and shadow map update in the same frame to reduce dtime jitter (#11393)

* Separate draw list and shadows update to reduce jitter

* Avoid draw list update and shadow update in the same frame

* Force-update shadows when camera offset changes

2 years agoImprove shadow rendering with non-default camera FOV (#11385)
x2048 [Sun, 11 Jul 2021 15:15:19 +0000 (17:15 +0200)]
Improve shadow rendering with non-default camera FOV (#11385)

* Adjust minimum filter radius for perspective

* Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp

* Read shadow_soft_radius setting as float

* Use adaptive filter radius to accomodate for PSM distortion

* Adjust filter radius for texture resolution

2 years agoRefactor video driver name retrieval (#11413)
hecks [Sun, 11 Jul 2021 07:50:34 +0000 (09:50 +0200)]
Refactor video driver name retrieval (#11413)

Co-authored-by: hecktest <>
2 years agoFix typo in lua_api.txt
hecktest [Sat, 10 Jul 2021 13:58:25 +0000 (15:58 +0200)]
Fix typo in lua_api.txt

2 years agoScript API: Fix segfault in remove_detached_inventory
SmallJoker [Sat, 10 Jul 2021 12:18:35 +0000 (14:18 +0200)]
Script API: Fix segfault in remove_detached_inventory

when minetest.remove_detached_inventory is called on script init, the environment is yet not set up,
hence m_env is still nullptr until all scripts are loaded

2 years agoUse `persistence` instead of `persist` in NoiseParams examples
Lean Rada [Sat, 10 Jul 2021 12:19:33 +0000 (20:19 +0800)]
Use `persistence` instead of `persist` in NoiseParams examples

2 years agoAdd API for mods to hook liquid transformation events (#11405)
Warr1024 [Fri, 9 Jul 2021 13:08:40 +0000 (09:08 -0400)]
Add API for mods to hook liquid transformation events (#11405)

Add API for mods to hook liquid transformation events

Without this API, there is no reliable way for mods to be
notified when liquid transform modifies nodes and mods are
forced to poll for changes.  This allows mods to detect
changes to flowing liquid nodes and liquid renewal using
event-driven logic.

2 years agoAdd .editorconfig (#11412)
hecks [Sat, 3 Jul 2021 21:05:15 +0000 (23:05 +0200)]
Add .editorconfig (#11412)

* Add an .editorconfig to the repo root folder, providing code style hints for some text editors and making the code render properly in github.

Co-authored-by: hecktest <>