]> git.lizzy.rs Git - minetest.git/log
minetest.git
18 months agoObject selection: Improve distance checks (#12974)
DS [Sun, 20 Nov 2022 20:27:47 +0000 (21:27 +0100)]
Object selection: Improve distance checks (#12974)

18 months agoImprove ABM and LBM registration error handling (#12969)
Jude Melton-Houghton [Sun, 20 Nov 2022 20:26:54 +0000 (15:26 -0500)]
Improve ABM and LBM registration error handling (#12969)

18 months agoAdd configurable saturation (#12865)
lhofhansl [Fri, 18 Nov 2022 19:49:52 +0000 (11:49 -0800)]
Add configurable saturation (#12865)

* Add configurable saturation

Co-authored-by: Pevernow <3450354617@qq.com>
Co-authored-by: x2048 <codeforsmile@gmail.com>
Author:    Lars <larsh@apache.org>

18 months agoFix `menu_lua_api.txt` formatting (#12971)
Abdou-31 [Fri, 18 Nov 2022 16:45:16 +0000 (17:45 +0100)]
Fix  `menu_lua_api.txt` formatting (#12971)

19 months agoWarn about potential infinite loop in on_construct (#12967)
Jude Melton-Houghton [Wed, 16 Nov 2022 18:11:36 +0000 (13:11 -0500)]
Warn about potential infinite loop in on_construct (#12967)

Co-authored-by: sfan5 <sfan5@live.de>
19 months agoAdded copy of LGPL-2.1 (#12950)
StrajnarFilip [Wed, 16 Nov 2022 18:09:53 +0000 (18:09 +0000)]
Added copy of LGPL-2.1 (#12950)

19 months agoset_nametag_attributes: don't reset nametags if text param is not touched
Riceball LEE [Tue, 15 Nov 2022 15:46:26 +0000 (23:46 +0800)]
set_nametag_attributes: don't reset nametags if text param is not touched

fixes #12901

19 months agogame.conf: Add setting to use volatile a map backend (#12956)
SmallJoker [Tue, 15 Nov 2022 15:45:48 +0000 (16:45 +0100)]
game.conf: Add setting to use volatile a map backend (#12956)

19 months agoAdd MetaDataRef:get_keys (#12841)
Jude Melton-Houghton [Tue, 15 Nov 2022 15:45:12 +0000 (10:45 -0500)]
Add MetaDataRef:get_keys (#12841)

19 months agoReduce active mgmt interval for a bit when a player joins. (#12925)
lhofhansl [Thu, 10 Nov 2022 23:25:38 +0000 (15:25 -0800)]
Reduce active mgmt interval for a bit when a player joins. (#12925)

19 months agoAdd PostgreSQL helper pg_to_string
Jude Melton-Houghton [Thu, 20 Oct 2022 20:14:33 +0000 (16:14 -0400)]
Add PostgreSQL helper pg_to_string

19 months agoTest PostgreSQL in CI
Jude Melton-Houghton [Wed, 19 Oct 2022 21:58:36 +0000 (17:58 -0400)]
Test PostgreSQL in CI

19 months agoAdd mod storage PostgreSQL backend
Jude Melton-Houghton [Wed, 19 Oct 2022 18:16:57 +0000 (14:16 -0400)]
Add mod storage PostgreSQL backend

19 months agoImprove testListMods
Jude Melton-Houghton [Thu, 20 Oct 2022 20:25:40 +0000 (16:25 -0400)]
Improve testListMods

19 months agoTest metadata value changing
Jude Melton-Houghton [Wed, 19 Oct 2022 18:15:30 +0000 (14:15 -0400)]
Test metadata value changing

19 months agoFix get_tool_wear_after_use for one use (insta-break) (#12945)
Gregor Parzefall [Wed, 9 Nov 2022 16:58:53 +0000 (17:58 +0100)]
Fix get_tool_wear_after_use for one use (insta-break) (#12945)

19 months agoFlip player_back.png (#12940)
olive [Wed, 9 Nov 2022 16:58:21 +0000 (16:58 +0000)]
Flip player_back.png (#12940)

19 months agoResize hotbar immediately before drawing (#12930)
x2048 [Wed, 9 Nov 2022 16:57:55 +0000 (17:57 +0100)]
Resize hotbar immediately before drawing (#12930)

19 months agoFix typos and en_US/en_GB inconsistency in various files (#12902)
Abdou-31 [Wed, 9 Nov 2022 16:57:19 +0000 (17:57 +0100)]
Fix typos and en_US/en_GB inconsistency in various files (#12902)

19 months agoDockerfile: refactoring and addition of entrypoint (#12939)
Tamara Schmitz [Tue, 8 Nov 2022 15:34:58 +0000 (16:34 +0100)]
Dockerfile: refactoring and addition of entrypoint (#12939)

Previously source files were copied first, then build dependencies were
installed, then libraries cloned and built.
This was reordered to be:
1. install dependencies
2. clone and build libraries
3. Pull in minetest source and minetest_game
4. Build minetest

In addition the peristent volumes are now declared.
Also an entrypoint added making it possible to append command line
parameters.

19 months agoReduce exposure of various internals (#12885)
Loïc Blot [Thu, 3 Nov 2022 16:35:31 +0000 (17:35 +0100)]
Reduce exposure of various internals (#12885)

* refactoring(StaticObjectList): don't expose m_active and m_stored anymore

This prevents our old crap code where anyone can access to StaticObjectList. use proper modifiers. It also permits to do a short cleanup on MapBlock using a helper

* refactoring(MapBlock): reduce a bit exposed m_active_blocks variable

* refactoring: MapBlock::m_node_timers is now private

We already had various helpers to perform this privatization, just use it. Also factorize the MapBlock stepping code for timers using already existing code and importing them from ServerEnvironment to MapBlock.

It's currently done pretty straight forward without any inheritance as MapBlock is just used everywhere, maybe in a future we'll have ServerMapBlock over MapBlock. Currently for a simple function let's just use proper objects and add a comment warning

* refactoring(Server): fix duplicated function for add/remove node

* refactoring(guiFormSpecMenu): add removeAll function to prevent duplicated code

* refactoring(ShadowRenderer) + perf: code quality  + increase performance

* All callers are already using the point and we should never test a function with nullptr node, it's a bug. Removed workaround which was hacky and fix the bug
* Drop clientmap lookup from shadowrendered, just use directly its
  pointer and forbid to push it in the generic list
* Reduce memory pressure on the renderShadowObject by preventing
  deallocating and reallocating multiple vectors on each node

* refactoring(MapBlock): reduce exposure of MapBlock::m_static_objects

It's not complete as some parts of the code are pretty nested, but it's better than before :)

* fix: better working on new functions & drop unwanted 2 lines

Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
19 months agoReturn correct variable when debugging bloom.
x2048 [Thu, 3 Nov 2022 07:43:31 +0000 (08:43 +0100)]
Return correct variable when debugging bloom.

Fixes #12922

19 months agoImprove bloom effect (#12916)
x2048 [Wed, 2 Nov 2022 08:09:48 +0000 (09:09 +0100)]
Improve bloom effect (#12916)

* Remove the built-in exposure factor of 2.5
* Add physics-based bloom (https://learnopengl.com/Guest-Articles/2022/Phys.-Based-Bloom)
* Add luminance scaling for bloom layer to simulate HDR
* Add setting to control bloom strength

19 months agoAndroid: Increase target/compiled SDK version to 32 (#12911)
Muhammad Rifqi Priyo Susanto [Mon, 31 Oct 2022 13:19:30 +0000 (20:19 +0700)]
Android: Increase target/compiled SDK version to 32 (#12911)

Build Tools, NDK, and Gradle are also updated.
Repositories is changed from jcenter() to mavenCentral().

19 months agoSend crosshair setting after the touch screen GUI has been initialized (#12910)
Muhammad Rifqi Priyo Susanto [Mon, 31 Oct 2022 13:17:50 +0000 (20:17 +0700)]
Send crosshair setting after the touch screen GUI has been initialized (#12910)

19 months agoFix node placement regression
Lars Mueller [Mon, 31 Oct 2022 08:31:21 +0000 (09:31 +0100)]
Fix node placement regression

19 months agoEnable negative values for sun/moon orbit tilt (Northern hemisphere) (#12904)
x2048 [Sun, 30 Oct 2022 15:54:06 +0000 (16:54 +0100)]
Enable negative values for sun/moon orbit tilt (Northern hemisphere) (#12904)

19 months agoAdd comments explaining use of entity glow
x2048 [Fri, 28 Oct 2022 19:50:45 +0000 (21:50 +0200)]
Add comments explaining use of entity glow

19 months agoApply entity glow before translating to color space
x2048 [Sun, 4 Sep 2022 20:17:27 +0000 (22:17 +0200)]
Apply entity glow before translating to color space

19 months agoAlways add increment when getting node interior light
x2048 [Sun, 4 Sep 2022 20:17:04 +0000 (22:17 +0200)]
Always add increment when getting node interior light

19 months agoUse the same light level for non-solid draw types as for solid
x2048 [Sun, 4 Sep 2022 20:15:21 +0000 (22:15 +0200)]
Use the same light level for non-solid draw types as for solid

19 months agoAdd a worlds_here.txt file in the worlds folder and update .gitignore (#12720)
DS [Sun, 30 Oct 2022 15:53:31 +0000 (16:53 +0100)]
Add a worlds_here.txt file in the worlds folder and update .gitignore (#12720)

19 months agoAllow rotating entity selectionboxes (#12379)
Lars Müller [Sun, 30 Oct 2022 15:53:14 +0000 (16:53 +0100)]
Allow rotating entity selectionboxes (#12379)

19 months agoFix incorrect culling introduced by ##12710 (#12887)
lhofhansl [Fri, 28 Oct 2022 16:52:54 +0000 (09:52 -0700)]
Fix incorrect culling introduced by ##12710 (#12887)

19 months agoSafety check the map's blocksize (#12895)
lhofhansl [Fri, 28 Oct 2022 02:31:42 +0000 (19:31 -0700)]
Safety check the map's blocksize (#12895)

19 months agoShadow list improvements (#12898)
x2048 [Wed, 26 Oct 2022 20:26:09 +0000 (22:26 +0200)]
Shadow list improvements (#12898)

* Remove redundant checks when attaching SM texture to entities.
  Some of the checks were broken, leading to crashes when shadow intensity is set to 0
* Avoid memory leak in shadow casters list when wield mesh changes item stacks

19 months agoGUIInventoryList: Keep item size while moving (#12896)
Jean-Patrick Guerrero [Mon, 24 Oct 2022 11:58:56 +0000 (13:58 +0200)]
GUIInventoryList: Keep item size while moving (#12896)

19 months agoFix some outdated stuff about falling node docs
Wuzzy [Sun, 23 Oct 2022 19:59:24 +0000 (21:59 +0200)]
Fix some outdated stuff about falling node docs

19 months agoCheck sizeof(int) and sizeof(size_t)
Jude Melton-Houghton [Sun, 23 Oct 2022 19:59:12 +0000 (15:59 -0400)]
Check sizeof(int) and sizeof(size_t)

19 months agoDevTest: Colorize 2 nodebox nodes
Wuzzy [Sun, 9 Oct 2022 14:50:35 +0000 (16:50 +0200)]
DevTest: Colorize 2 nodebox nodes

19 months agoDevTest: Cleanup callback logging
Wuzzy [Sun, 9 Oct 2022 14:41:55 +0000 (16:41 +0200)]
DevTest: Cleanup callback logging

19 months agoDevTest: Fix rendering of 2 texture test nodes
Wuzzy [Sun, 9 Oct 2022 14:26:16 +0000 (16:26 +0200)]
DevTest: Fix rendering of 2 texture test nodes

19 months agoDevTest: More node textures to tell them apart
Wuzzy [Sun, 9 Oct 2022 14:19:42 +0000 (16:19 +0200)]
DevTest: More node textures to tell them apart

19 months agoDevTest: Use 4dir for chests
Wuzzy [Sun, 9 Oct 2022 12:52:36 +0000 (14:52 +0200)]
DevTest: Use 4dir for chests

19 months agoDevTest: Restore callback item descriptions
Wuzzy [Sun, 9 Oct 2022 12:34:10 +0000 (14:34 +0200)]
DevTest: Restore callback item descriptions

19 months agoDevTest: Fix callback item textures
Wuzzy [Sat, 8 Oct 2022 19:32:27 +0000 (21:32 +0200)]
DevTest: Fix callback item textures

19 months agoRemove credits for 2 images no longer in use
Wuzzy [Sat, 8 Oct 2022 19:26:56 +0000 (21:26 +0200)]
Remove credits for 2 images no longer in use

19 months agoDevTest: Refactor testhud features
Wuzzy [Sat, 8 Oct 2022 18:55:10 +0000 (20:55 +0200)]
DevTest: Refactor testhud features

19 months agoDevTest: Move 2 HUD commands to testhud & improve
Wuzzy [Sat, 8 Oct 2022 18:41:11 +0000 (20:41 +0200)]
DevTest: Move 2 HUD commands to testhud & improve

19 months agoDevTest: No use privatizer on chest of everything
Wuzzy [Sat, 8 Oct 2022 18:01:59 +0000 (20:01 +0200)]
DevTest: No use privatizer on chest of everything

19 months agoDevTest: Remove experimental mod
Wuzzy [Sat, 8 Oct 2022 17:50:23 +0000 (19:50 +0200)]
DevTest: Remove experimental mod

19 months agoDevTest: Move detached inv tests to chest mod
Wuzzy [Sat, 8 Oct 2022 17:49:28 +0000 (19:49 +0200)]
DevTest: Move detached inv tests to chest mod

19 months agoDevTest: /test_place_node skips dummy/cb nodes
Wuzzy [Sat, 8 Oct 2022 16:58:02 +0000 (18:58 +0200)]
DevTest: /test_place_node skips dummy/cb nodes

19 months agoDevTest: Clean up callback textures
Wuzzy [Sat, 8 Oct 2022 16:45:51 +0000 (18:45 +0200)]
DevTest: Clean up callback textures

19 months agoDevTest: Move callback entities to callbacks mod
Wuzzy [Sat, 8 Oct 2022 16:29:22 +0000 (18:29 +0200)]
DevTest: Move callback entities to callbacks mod

19 months agoDevTest: Move callback items to callbacks mod
Wuzzy [Sun, 9 Oct 2022 12:22:42 +0000 (14:22 +0200)]
DevTest: Move callback items to callbacks mod

19 months agoDevTest: Move experimental items to other mods
Wuzzy [Sun, 9 Oct 2022 12:20:35 +0000 (14:20 +0200)]
DevTest: Move experimental items to other mods

19 months agoDevTest: Move more logging to log mod
Wuzzy [Sat, 8 Oct 2022 15:46:03 +0000 (17:46 +0200)]
DevTest: Move more logging to log mod

19 months agoDevTest: Move benchmark commands to new mod
Wuzzy [Sat, 8 Oct 2022 15:41:53 +0000 (17:41 +0200)]
DevTest: Move benchmark commands to new mod

19 months agoDevTest: Move /test_place_nodes to testnodes mod
Wuzzy [Sat, 8 Oct 2022 15:38:50 +0000 (17:38 +0200)]
DevTest: Move /test_place_nodes to testnodes mod

19 months agoDevTest: Move chat command logging to separate mod
Wuzzy [Sat, 8 Oct 2022 15:34:55 +0000 (17:34 +0200)]
DevTest: Move chat command logging to separate mod

19 months agoAdd VoxelArea() constructor (#12886)
Jude Melton-Houghton [Sat, 22 Oct 2022 12:05:45 +0000 (08:05 -0400)]
Add VoxelArea() constructor (#12886)

19 months agoFix typos and en_US/en_GB inconsistency in files inside doc directory (#12882)
Abdou-31 [Fri, 21 Oct 2022 15:12:39 +0000 (16:12 +0100)]
Fix typos and en_US/en_GB inconsistency in files inside doc directory (#12882)

19 months agoFix use of unassigned global "check"
Jude Melton-Houghton [Tue, 18 Oct 2022 22:20:00 +0000 (18:20 -0400)]
Fix use of unassigned global "check"

19 months agoguiChatConsole: fix the unicode characters crowded together on prompt (#12867)
Riceball LEE [Fri, 21 Oct 2022 15:12:07 +0000 (23:12 +0800)]
guiChatConsole: fix the unicode characters crowded together on prompt (#12867)

Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
19 months agoFix formspec focus (#12795)
DS [Fri, 21 Oct 2022 15:11:41 +0000 (17:11 +0200)]
Fix formspec focus (#12795)

19 months agoRevise bump_version.sh script to address shortcomings (#12789)
sfan5 [Fri, 21 Oct 2022 15:09:44 +0000 (17:09 +0200)]
Revise bump_version.sh script to address shortcomings (#12789)

20 months agoCheck for falling `float` nodes in liquid transform (#12862)
Jude Melton-Houghton [Tue, 18 Oct 2022 22:03:05 +0000 (18:03 -0400)]
Check for falling `float` nodes in liquid transform (#12862)

20 months agoImplement vector and node conversion in Lua (#12609)
Jude Melton-Houghton [Tue, 18 Oct 2022 22:01:44 +0000 (18:01 -0400)]
Implement vector and node conversion in Lua (#12609)

Co-authored-by: sfan5 <sfan5@live.de>
20 months agoFix list sorting behaviour with missing geoip
sfan5 [Mon, 17 Oct 2022 18:05:14 +0000 (20:05 +0200)]
Fix list sorting behaviour with missing geoip

20 months agoFix en_US/en_GB inconsistency in lua_api.txt
Abdou-31 [Sun, 16 Oct 2022 09:55:54 +0000 (10:55 +0100)]
Fix en_US/en_GB inconsistency in lua_api.txt

20 months agoFix typos in lua_api.txt
Abdou-31 [Sun, 16 Oct 2022 09:38:45 +0000 (10:38 +0100)]
Fix typos in lua_api.txt

20 months agoTake geographic distance into account for server list ordering (#12790)
sfan5 [Mon, 17 Oct 2022 11:56:28 +0000 (13:56 +0200)]
Take geographic distance into account for server list ordering (#12790)

20 months agoLocalPlayer: Fix sneaking on nodes with large collisionboxes (#12626)
SmallJoker [Mon, 17 Oct 2022 11:56:04 +0000 (13:56 +0200)]
LocalPlayer: Fix sneaking on nodes with large collisionboxes (#12626)

20 months agoExclude MSVC from new Lua sanity check
sfan5 [Sat, 15 Oct 2022 10:02:02 +0000 (12:02 +0200)]
Exclude MSVC from new Lua sanity check

20 months agoOther minor CMake improvements
sfan5 [Mon, 26 Sep 2022 15:02:49 +0000 (17:02 +0200)]
Other minor CMake improvements

20 months agoDefer searching for libintl to CMake
sfan5 [Mon, 26 Sep 2022 14:59:47 +0000 (16:59 +0200)]
Defer searching for libintl to CMake

resolves #12800

20 months agoGet rid of LuaJIT linking workarounds
sfan5 [Mon, 26 Sep 2022 14:05:00 +0000 (16:05 +0200)]
Get rid of LuaJIT linking workarounds

...and replace them with a cautionary warning message if someone uses an old version.
The detection is kind of a hack but no choice as upstream is not interested in version numbering.

20 months agoAdd extra check in case someone tries to unbundle Lua
sfan5 [Mon, 26 Sep 2022 13:26:34 +0000 (15:26 +0200)]
Add extra check in case someone tries to unbundle Lua

20 months agoSpeed up find_nodes_in_area (#12845)
Jude Melton-Houghton [Thu, 13 Oct 2022 13:35:19 +0000 (09:35 -0400)]
Speed up find_nodes_in_area (#12845)

20 months agoobject ids are u16, not s16 (#12848)
fluxionary [Thu, 13 Oct 2022 12:46:48 +0000 (05:46 -0700)]
object ids are u16, not s16 (#12848)

20 months agoUse enum to define custom registry indices
Jude Melton-Houghton [Wed, 12 Oct 2022 18:06:41 +0000 (14:06 -0400)]
Use enum to define custom registry indices

20 months agoTest on-lighting node param1 in lighting test
Jude Melton-Houghton [Wed, 12 Oct 2022 17:48:59 +0000 (13:48 -0400)]
Test on-lighting node param1 in lighting test

20 months agoEmbed data directly in mapblocks
Jude Melton-Houghton [Sun, 9 Oct 2022 15:55:07 +0000 (11:55 -0400)]
Embed data directly in mapblocks

20 months agoRemove unused MapBlock functionality
Jude Melton-Houghton [Wed, 5 Oct 2022 11:55:33 +0000 (07:55 -0400)]
Remove unused MapBlock functionality

20 months agoFix tone mapping being always enabled
sfan5 [Sun, 9 Oct 2022 17:11:04 +0000 (19:11 +0200)]
Fix tone mapping being always enabled

broke in 579fc93c24b030e33a6255d96e773706f6e99c93

20 months agoOptimize lighting calculation (#12797)
Jude Melton-Houghton [Sun, 9 Oct 2022 14:50:26 +0000 (10:50 -0400)]
Optimize lighting calculation (#12797)

20 months agoadd an 'equals' method to ItemStack and compatibility w/ lua '==' (#12771)
fluxionary [Sun, 9 Oct 2022 12:06:09 +0000 (05:06 -0700)]
add an 'equals' method to ItemStack and compatibility w/ lua '==' (#12771)

Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
20 months agoImprove documentation for `liquid_alternative_*` (#12810)
Wuzzy [Sun, 9 Oct 2022 12:05:40 +0000 (14:05 +0200)]
Improve documentation for `liquid_alternative_*` (#12810)

20 months agoDevTest: Explain purpose of most items in tooltips (#12833)
Wuzzy [Sun, 9 Oct 2022 12:05:22 +0000 (14:05 +0200)]
DevTest: Explain purpose of most items in tooltips (#12833)

20 months agoDevTest: Change texture for node-aligned node (#12831)
Wuzzy [Thu, 6 Oct 2022 16:25:40 +0000 (18:25 +0200)]
DevTest: Change texture for node-aligned node (#12831)

20 months agoOnly set quicktune keybinds in debug builds (#12779)
ROllerozxa [Thu, 6 Oct 2022 16:07:57 +0000 (18:07 +0200)]
Only set quicktune keybinds in debug builds (#12779)

20 months agoUse legacy call when rendering to a single texture
x2048 [Tue, 4 Oct 2022 19:02:42 +0000 (21:02 +0200)]
Use legacy call when rendering to a single texture

Fixes depth buffer in when undersampling > 1

20 months agoMake bloom shaders compatible with GLES2 (#12834)
x2048 [Tue, 4 Oct 2022 12:52:56 +0000 (14:52 +0200)]
Make bloom shaders compatible with GLES2 (#12834)

Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
20 months agoConsolidate API object code (#12728)
Jude Melton-Houghton [Tue, 4 Oct 2022 12:31:36 +0000 (08:31 -0400)]
Consolidate API object code (#12728)

Co-authored-by: sfan5 <sfan5@live.de>
20 months agoDisable -ffinite-math-only (#12832)
Jude Melton-Houghton [Mon, 3 Oct 2022 16:13:35 +0000 (12:13 -0400)]
Disable -ffinite-math-only (#12832)

20 months agoDevTest: Reject buggy "/hp inf" command (#12830)
Wuzzy [Mon, 3 Oct 2022 16:13:23 +0000 (18:13 +0200)]
DevTest: Reject buggy "/hp inf" command (#12830)

20 months agoAdd an item pick up callback (2) (#7712)
DS [Sat, 1 Oct 2022 19:21:06 +0000 (21:21 +0200)]
Add an item pick up callback (2) (#7712)

Co-authored-by: SmallJoker <mk939@ymail.com>
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
20 months agoImprove crafting recipe documentation (#12806)
Wuzzy [Sat, 1 Oct 2022 19:20:28 +0000 (21:20 +0200)]
Improve crafting recipe documentation (#12806)

20 months agoImplement tool use sounds
sfan5 [Sun, 11 Sep 2022 19:16:17 +0000 (21:16 +0200)]
Implement tool use sounds