]> git.lizzy.rs Git - dragonfireclient.git/log
dragonfireclient.git
3 years agoRemotePlayer: Remove Settings writer to Files database
SmallJoker [Wed, 25 Nov 2020 19:16:08 +0000 (20:16 +0100)]
RemotePlayer: Remove Settings writer to Files database

3 years agoSanitize ItemStack meta text
rubenwardy [Thu, 28 Jan 2021 16:32:37 +0000 (16:32 +0000)]
Sanitize ItemStack meta text

3 years agoInclude irrlichttypes.h first to work around Irrlicht#433 (#10872)
Vitaliy [Thu, 28 Jan 2021 20:25:13 +0000 (23:25 +0300)]
Include irrlichttypes.h first to work around Irrlicht#433 (#10872)

Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.

3 years agoContentDB: Order installed content first (#10864)
rubenwardy [Thu, 28 Jan 2021 11:24:36 +0000 (11:24 +0000)]
ContentDB: Order installed content first (#10864)

3 years agoConsistently use "health points" (#10868)
Zughy [Wed, 27 Jan 2021 18:42:02 +0000 (19:42 +0100)]
Consistently use "health points" (#10868)

3 years agoImprove irr_ptr (#10808)
Vitaliy [Sun, 24 Jan 2021 14:40:34 +0000 (17:40 +0300)]
Improve irr_ptr (#10808)

3 years agoFix formspec list spacing (#10861)
Vincent Robinson [Sat, 23 Jan 2021 22:49:13 +0000 (14:49 -0800)]
Fix formspec list spacing (#10861)

3 years agoMake hypertext and textarea have proper scroll event propagation. (#10860)
Vincent Robinson [Sat, 23 Jan 2021 22:48:57 +0000 (14:48 -0800)]
Make hypertext and textarea have proper scroll event propagation. (#10860)

3 years agoFix ESC in error dialog from closing Minetest (#10838)
Yaman Qalieh [Sat, 23 Jan 2021 21:40:48 +0000 (16:40 -0500)]
Fix ESC in error dialog from closing Minetest (#10838)

3 years agoFormSpec: Add list spacing, slot size, and noclip (#10083)
Vincent Robinson [Sat, 23 Jan 2021 20:46:19 +0000 (12:46 -0800)]
FormSpec: Add list spacing, slot size, and noclip (#10083)

* Add list spacing, slot size, and noclip

* Simplify StyleSpec

* Add test cases

Co-authored-by: rubenwardy <rw@rubenwardy.com>
3 years agoRemove dead code (#10845)
rubenwardy [Fri, 22 Jan 2021 15:09:26 +0000 (15:09 +0000)]
Remove dead code (#10845)

3 years agoUse JSON for favorites, move server list code to Lua (#10085)
rubenwardy [Fri, 22 Jan 2021 15:08:57 +0000 (15:08 +0000)]
Use JSON for favorites, move server list code to Lua (#10085)

Co-authored-by: sfan5 <sfan5@live.de>
3 years agoMgOre: Fix invalid field polymorphism (#10846)
rubenwardy [Thu, 21 Jan 2021 19:08:06 +0000 (19:08 +0000)]
MgOre: Fix invalid field polymorphism (#10846)

3 years agoLoad system-wide texture packs too (#10791)
Zughy [Thu, 21 Jan 2021 19:01:37 +0000 (19:01 +0000)]
Load system-wide texture packs too (#10791)

Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
3 years agoRemoved some obsolete code (#10562)
Zughy [Thu, 21 Jan 2021 18:17:09 +0000 (18:17 +0000)]
Removed some obsolete code (#10562)

Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
3 years agoObjectRef: fix some v3f checks (#10602)
Zughy [Thu, 21 Jan 2021 17:37:38 +0000 (17:37 +0000)]
ObjectRef: fix some v3f checks (#10602)

3 years agoImprove --version output to include Lua(JIT) version
sfan5 [Wed, 20 Jan 2021 14:01:48 +0000 (15:01 +0100)]
Improve --version output to include Lua(JIT) version

3 years agoAllow "liquid" and "flowingliquid" drawtypes even if liquidtype=none (#10737)
Wuzzy [Wed, 20 Jan 2021 23:51:24 +0000 (00:51 +0100)]
Allow "liquid" and "flowingliquid" drawtypes even if liquidtype=none (#10737)

3 years agoLocal tab: rename 'Configure' to 'Select Mods' (#10779)
Zughy [Wed, 20 Jan 2021 22:32:18 +0000 (22:32 +0000)]
Local tab: rename 'Configure' to 'Select Mods' (#10779)

Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
3 years agoAndroid: Update Gradle, NDK, Build Tools, and SQLite version (#10833)
Muhammad Rifqi Priyo Susanto [Wed, 20 Jan 2021 22:31:59 +0000 (05:31 +0700)]
Android: Update Gradle, NDK, Build Tools, and SQLite version (#10833)

3 years agoFix Android support in bump_version.sh (#10836)
rubenwardy [Wed, 20 Jan 2021 20:37:24 +0000 (20:37 +0000)]
Fix Android support in bump_version.sh (#10836)

3 years agoFix double word "true" in minetest.is_nan explanation (#10820)
M.K [Mon, 18 Jan 2021 00:45:32 +0000 (01:45 +0100)]
Fix double word "true" in minetest.is_nan explanation (#10820)

3 years agoContentDB: Ignore content not installed from ContentDB
rubenwardy [Sat, 16 Jan 2021 17:51:40 +0000 (17:51 +0000)]
ContentDB: Ignore content not installed from ContentDB

3 years agoFactorize more guiEditBoxes code (#10789)
Loïc Blot [Wed, 13 Jan 2021 08:05:09 +0000 (09:05 +0100)]
Factorize more guiEditBoxes code (#10789)

* Factorize more guiEditBoxes code

3 years agoDocument how to make nametags background disappear on players' head (#10783)
Zughy [Mon, 11 Jan 2021 17:03:46 +0000 (17:03 +0000)]
Document how to make nametags background disappear on players' head (#10783)

Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
3 years agoImplement on_rightclickplayer callback (#10775)
JDiaz [Mon, 11 Jan 2021 17:03:31 +0000 (18:03 +0100)]
Implement on_rightclickplayer callback (#10775)

Co-authored-by: rubenwardy <rw@rubenwardy.com>
3 years agoSanitize server IP field in mainmenu (#10793)
Zughy [Sun, 10 Jan 2021 19:10:12 +0000 (19:10 +0000)]
Sanitize server IP field in mainmenu (#10793)

3 years agoRefactor/gui editbox (#10787)
Loïc Blot [Thu, 7 Jan 2021 12:21:12 +0000 (13:21 +0100)]
Refactor/gui editbox (#10787)

3 years agorefacto: factorize multiple code parts from guiEditbox childs (#10782)
Loïc Blot [Mon, 4 Jan 2021 19:19:20 +0000 (20:19 +0100)]
refacto: factorize multiple code parts from guiEditbox childs (#10782)

3 years agoUpdate Gitlab-CI pipeline
sfan5 [Sat, 2 Jan 2021 14:43:35 +0000 (15:43 +0100)]
Update Gitlab-CI pipeline

3 years agoContentDB: Add overwrite dialog when content is already installed (#10768)
rubenwardy [Mon, 4 Jan 2021 15:18:31 +0000 (15:18 +0000)]
ContentDB: Add overwrite dialog when content is already installed (#10768)

3 years agoAdd on_deactivate callback for luaentities (#10723)
hecks [Sat, 2 Jan 2021 14:14:29 +0000 (15:14 +0100)]
Add on_deactivate callback for luaentities (#10723)

3 years agoClarify documentation of minetest.get_modpath and minetest.get_modnames (#10771)
OgelGames [Sat, 2 Jan 2021 14:13:53 +0000 (01:13 +1100)]
Clarify documentation of minetest.get_modpath and minetest.get_modnames (#10771)

3 years ago"Browse online content" formspec improvement (#10756)
Zughy [Sat, 2 Jan 2021 14:13:02 +0000 (15:13 +0100)]
"Browse online content" formspec improvement (#10756)

3 years agoFormspecs: Fix broken texture escaping with model[]
Jean-Patrick Guerrero [Fri, 1 Jan 2021 16:03:34 +0000 (17:03 +0100)]
Formspecs: Fix broken texture escaping with model[]

3 years agoAdd minetest.get_objects_in_area (#10668)
Elias Fleckenstein [Tue, 29 Dec 2020 15:50:09 +0000 (16:50 +0100)]
Add minetest.get_objects_in_area (#10668)

3 years agoFix item tooltip background color not working
Lars Mueller [Thu, 24 Dec 2020 13:26:42 +0000 (14:26 +0100)]
Fix item tooltip background color not working

3 years agoDisplay Minetest header when menu_last_game value isn't available anymore (#10751)
Zughy [Mon, 28 Dec 2020 12:56:58 +0000 (12:56 +0000)]
Display Minetest header when menu_last_game value isn't available anymore (#10751)

3 years agoFix minetest.is_nan
Lars Mueller [Thu, 24 Dec 2020 13:48:05 +0000 (14:48 +0100)]
Fix minetest.is_nan

3 years agoFix some minor code issues all over the place
sfan5 [Wed, 23 Dec 2020 21:03:49 +0000 (22:03 +0100)]
Fix some minor code issues all over the place

3 years agoMinor profiler fixes.
Lars [Mon, 21 Dec 2020 03:22:04 +0000 (19:22 -0800)]
Minor profiler fixes.

3 years agoFix unsafe cast in l_object
rubenwardy [Wed, 23 Dec 2020 16:39:29 +0000 (16:39 +0000)]
Fix unsafe cast in l_object

3 years agoCI: fix build
sfan5 [Wed, 23 Dec 2020 20:24:27 +0000 (21:24 +0100)]
CI: fix build

3 years agoAdd dependency resolution to ContentDB (#9997)
rubenwardy [Wed, 23 Dec 2020 14:42:18 +0000 (14:42 +0000)]
Add dependency resolution to ContentDB (#9997)

3 years agoFix fallnode rotation of wallmounted nodebox/mesh (#10643)
Wuzzy [Tue, 22 Dec 2020 13:54:27 +0000 (14:54 +0100)]
Fix fallnode rotation of wallmounted nodebox/mesh (#10643)

3 years agoFix GLES shader support after #9247 (#10727)
Vitaliy [Tue, 22 Dec 2020 13:53:52 +0000 (16:53 +0300)]
Fix GLES shader support after #9247 (#10727)

3 years agoFix some more joystick issues (#10624)
Markus [Sat, 19 Dec 2020 21:01:05 +0000 (22:01 +0100)]
Fix some more joystick issues (#10624)

3 years agoMainMenu: Add clear button and icon for search input (#10363)
Andrey [Sat, 19 Dec 2020 21:00:20 +0000 (00:00 +0300)]
MainMenu: Add clear button and icon for search input (#10363)

3 years agoCleanup shader generation code (#10663)
Vitaliy [Sat, 19 Dec 2020 19:57:10 +0000 (22:57 +0300)]
Cleanup shader generation code (#10663)

Shader generation is a mess. This commit cleans some parts up, including dropping remains of HLSL support which was never actually implemented.

3 years agoAdd open user data button to main menu (#10579)
rubenwardy [Sat, 19 Dec 2020 13:27:15 +0000 (13:27 +0000)]
Add open user data button to main menu (#10579)

3 years agoDevTest: Add food item to test food replacement (#10642)
Wuzzy [Fri, 18 Dec 2020 18:38:39 +0000 (19:38 +0100)]
DevTest: Add food item to test food replacement (#10642)

3 years agoMake installer create its own Minetest folder (#10445)
LoneWolfHT [Fri, 18 Dec 2020 18:38:27 +0000 (10:38 -0800)]
Make installer create its own Minetest folder (#10445)

This changes the installer to create its own Minetest folder instead of having the user create it themselves. This prevents spewing the contents of Minetest everywhere when users change the install directory and expect the installer to create a folder to put it in

3 years agoDocumentation for highest formspec_version[] and changelog (#10592)
DS [Fri, 18 Dec 2020 18:38:07 +0000 (19:38 +0100)]
Documentation for highest formspec_version[] and changelog (#10592)

3 years agoAllow configuring block disk and net compression. Change default disk level.
Lars [Wed, 9 Dec 2020 22:30:37 +0000 (14:30 -0800)]
Allow configuring block disk and net compression. Change default disk level.

3 years agoFormspec: Allow to specify frame loop for model[] (#10679)
Thomas--S [Tue, 15 Dec 2020 18:06:36 +0000 (19:06 +0100)]
Formspec: Allow to specify frame loop for model[] (#10679)

Add the ability to specify an animation frame loop range for the model[] formspec element.

3 years agolua_api.txt: Add mod_orgin to node def (#10697)
wsor4035 [Tue, 15 Dec 2020 18:05:55 +0000 (13:05 -0500)]
lua_api.txt: Add mod_orgin to node def (#10697)

3 years agoSemi-transparent background for nametags (#10152)
Zughy [Mon, 14 Dec 2020 22:49:30 +0000 (23:49 +0100)]
Semi-transparent background for nametags (#10152)

3 years agoRevert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"
SmallJoker [Sun, 13 Dec 2020 17:25:13 +0000 (18:25 +0100)]
Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"

The commit caused Shift-Clicking issues on Linux due to another Irrlicht bug where
KeyInput.Shift released keys do not trigger OnEvent()

MacOS users should build using a recent Irrlicht 1.8 development version.
See also: https://sourceforge.net/p/irrlicht/patches/321/

3 years agoGUIFormSpecMenu: Shift+Click listring workaround for MacOS
SmallJoker [Wed, 22 Jan 2020 19:23:40 +0000 (20:23 +0100)]
GUIFormSpecMenu: Shift+Click listring workaround for MacOS

event.MouseInput.Shift is not implemented for MacOS

3 years agoVarious documentation fixes (#10692)
SmallJoker [Thu, 10 Dec 2020 19:59:24 +0000 (20:59 +0100)]
Various documentation fixes (#10692)

set_sky: New feature, keep note about the old syntax
get_us_time: Document overflow
localplayer: Document "nil" behaviour before initialization
collision_box: Safe limit of "1.45"

3 years agoImplement mapblock camera offset correctly (#10702)
hecks [Sat, 5 Dec 2020 23:03:40 +0000 (00:03 +0100)]
Implement mapblock camera offset correctly (#10702)

Implement mapblock camera offset correctly - reduce client jitter

Co-authored-by: hecktest <>
3 years agoRevert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
sfan5 [Fri, 4 Dec 2020 23:09:12 +0000 (00:09 +0100)]
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."

This reverts commit 2f6393f49d5ebf21abfaa7bff876b8c0cf4ca191.

3 years agoCross-reference the node level manipulation functions (#10633)
Oblomov [Fri, 4 Dec 2020 19:16:53 +0000 (20:16 +0100)]
Cross-reference the node level manipulation functions (#10633)

This can help developers find the correct functions to access and manipulate the fluid level.

3 years agoFix MSAA stripes (#9247)
HybridDog [Fri, 4 Dec 2020 19:16:12 +0000 (20:16 +0100)]
Fix MSAA stripes (#9247)

This only works when shaders are enabled.
The centroid varying avoids that the textures (which repeat themselves out of bounds) are sampled out of bounds in MSAA.
If MSAA (called FSAA in minetest) is disabled, the centroid keyword does nothing.

3 years agoFix certain connected nodeboxes crashing when falling
sfan5 [Fri, 4 Dec 2020 10:27:15 +0000 (11:27 +0100)]
Fix certain connected nodeboxes crashing when falling

fixes #10695

3 years agoInput: Fix on_rightclick called when placing into air
SmallJoker [Sun, 29 Nov 2020 18:20:45 +0000 (19:20 +0100)]
Input: Fix on_rightclick called when placing into air

3 years agoAvoid generating the same chunk more than once with multiple emerge threads.
Lars [Mon, 16 Nov 2020 06:58:57 +0000 (22:58 -0800)]
Avoid generating the same chunk more than once with multiple emerge threads.

3 years agoChange typedef to normal definitions in GUI code
sfan5 [Thu, 26 Nov 2020 21:19:46 +0000 (22:19 +0100)]
Change typedef to normal definitions in GUI code

3 years agoReturn star color calculation to what it previously was
sfan5 [Thu, 26 Nov 2020 21:17:11 +0000 (22:17 +0100)]
Return star color calculation to what it previously was

3 years agoFix style
numzero [Sun, 22 Nov 2020 22:04:31 +0000 (01:04 +0300)]
Fix style

3 years agoProvide fallback star color for GLES 2 with MT shaders disabled
numzero [Sun, 22 Nov 2020 16:49:38 +0000 (19:49 +0300)]
Provide fallback star color for GLES 2 with MT shaders disabled

3 years agoSky: support GLES2
numzero [Sun, 22 Nov 2020 15:25:41 +0000 (18:25 +0300)]
Sky: support GLES2

IrrLicht built-in shader is broken, have to write my own

3 years agoAllow missing shaders
numzero [Sun, 22 Nov 2020 14:36:59 +0000 (17:36 +0300)]
Allow missing shaders

3 years agoReplace TriangleFan as poorly supported
numzero [Sun, 22 Nov 2020 13:44:00 +0000 (16:44 +0300)]
Replace TriangleFan as poorly supported

3 years agoReuse seed when updating stars
numzero [Sun, 22 Nov 2020 13:41:36 +0000 (16:41 +0300)]
Reuse seed when updating stars

The only currently relevant parameter is scale which can now be changed
without resetting stars position

3 years agoStore stars in a single static mesh buffer
numzero [Sun, 22 Nov 2020 13:29:31 +0000 (16:29 +0300)]
Store stars in a single static mesh buffer

3 years agoDon't evaluate things many times
numzero [Sun, 22 Nov 2020 13:43:38 +0000 (16:43 +0300)]
Don't evaluate things many times

3 years agoBatch cloud drawing
numzero [Sun, 22 Nov 2020 06:13:16 +0000 (09:13 +0300)]
Batch cloud drawing

3 years agoAvoid marking map blocks dirty upon deserialization.
Lars [Thu, 26 Nov 2020 01:16:41 +0000 (17:16 -0800)]
Avoid marking map blocks dirty upon deserialization.

3 years agoFix camera panning glitches (partially revert 10489.)
Lars [Tue, 24 Nov 2020 17:23:18 +0000 (09:23 -0800)]
Fix camera panning glitches (partially revert 10489.)

3 years agoAdd sound to press event of some formspecs elements (#10402)
Pierre-Yves Rollo [Wed, 16 Sep 2020 15:10:17 +0000 (17:10 +0200)]
Add sound to press event of some formspecs elements (#10402)

3 years agoFix Visual Studio build in Actions
MoNTE48 [Sun, 22 Nov 2020 13:21:08 +0000 (14:21 +0100)]
Fix Visual Studio build in Actions

3 years agoMove Mapgen V7 river generation into the main generation loop (#10639)
Paramat [Fri, 20 Nov 2020 16:11:19 +0000 (16:11 +0000)]
Move Mapgen V7 river generation into the main generation loop (#10639)

All terrain generation now occurs in one loop, instead of rivers being
carved afterwards in a separate loop.
Fixes the removal of nodes added by mods in 'register on generated'.
Avoids other problems and reduces the chance of future bugs.
Mapchunk generation time is reduced.

Also fixes a code mistake which resulted in river channel generation
being disabled at floatland altitudes even when floatlands were disabled.

3 years agoIncrease limit for simultaneous blocks sent per client and the meshgen cache.
Lars [Thu, 12 Nov 2020 18:37:34 +0000 (10:37 -0800)]
Increase limit for simultaneous blocks sent per client and the meshgen cache.

3 years agoAuto build client appimage (#10561)
Lejo [Sun, 15 Nov 2020 16:38:04 +0000 (17:38 +0100)]
Auto build client appimage (#10561)

* Replace ubuntu:14.04 with ubuntu 18:04
* Auto build client appimage

Co-authored-by: sfan5 <sfan5@live.de>
3 years agoFix falling image of torchlike if paramtype2="none" (#10612)
Wuzzy [Sun, 15 Nov 2020 16:37:09 +0000 (17:37 +0100)]
Fix falling image of torchlike if paramtype2="none" (#10612)

3 years agoserverpackethandler: Minor log message fixes
sfan5 [Tue, 10 Nov 2020 20:46:30 +0000 (21:46 +0100)]
serverpackethandler: Minor log message fixes

closes #10434

3 years agoCopy position for can_dig
sfan5 [Tue, 10 Nov 2020 20:43:06 +0000 (21:43 +0100)]
Copy position for can_dig

fixes #10514

3 years agoFix player sprite visibility in first person
sfan5 [Tue, 10 Nov 2020 20:36:58 +0000 (21:36 +0100)]
Fix player sprite visibility in first person

closes #10525

3 years agoFix overloaded virtual warnings with get/setAttachment()
sfan5 [Tue, 10 Nov 2020 20:22:02 +0000 (21:22 +0100)]
Fix overloaded virtual warnings with get/setAttachment()

3 years agoFix warnings about an unused variables and implicit conversion (#10586)
red-001 [Thu, 12 Nov 2020 20:05:47 +0000 (20:05 +0000)]
Fix warnings about an unused variables and implicit conversion (#10586)

3 years agoRevert "Replace MyEventReceiver KeyList with std::unordered_set" (#10622)
SmallJoker [Thu, 12 Nov 2020 18:16:02 +0000 (19:16 +0100)]
Revert "Replace MyEventReceiver KeyList with std::unordered_set" (#10622)

This reverts commit 787561b29afdbc78769f68c2f5c4f2cff1b32340.

3 years agoPlayerSAO: Run on_player_hpchange raw change values (#10478)
SmallJoker [Thu, 12 Nov 2020 18:15:41 +0000 (19:15 +0100)]
PlayerSAO: Run on_player_hpchange raw change values (#10478)

The callback is only run when a change in HP is to be expected.
Following cases will not trigger the callback:
 * Dead player damaged further
 * Healing full-health player
 * Change of 0 HP

3 years agoIncrease default emerge queue limits and limit enqueue requests for active blocks.
Lars [Sun, 8 Nov 2020 20:30:38 +0000 (12:30 -0800)]
Increase default emerge queue limits and limit enqueue requests for active blocks.

3 years agoDo not set a default for description in itemdef table (#10559)
DS [Tue, 10 Nov 2020 20:03:10 +0000 (21:03 +0100)]
Do not set a default for description in itemdef table (#10559)

* Do not set a default for description in itemdef table

* improve documentation

3 years agoObjectRef: Re-add legacy code for set_physics_override (#10585)
SmallJoker [Tue, 10 Nov 2020 20:02:53 +0000 (21:02 +0100)]
ObjectRef: Re-add legacy code for set_physics_override (#10585)

These arguments are used at least by MTG beds and homedecor_common. A deprecation warning is shown to safely remove it in a future release.

3 years agoMark additional locales as broken
sfan5 [Mon, 9 Nov 2020 14:22:06 +0000 (15:22 +0100)]
Mark additional locales as broken

3 years agoUpdate fallback font to newer version
sfan5 [Mon, 9 Nov 2020 14:12:25 +0000 (15:12 +0100)]
Update fallback font to newer version

3 years agoJoystick: Remap joystick-specific KeyTypes to generic ones
Markus Koch [Sat, 7 Nov 2020 16:45:32 +0000 (17:45 +0100)]
Joystick: Remap joystick-specific KeyTypes to generic ones

According to the following table:
* MOUSE_L     -> DIG
* MOUSE_R     -> PLACE
* SCROLL_UP   -> HOTBAR_NEXT
* SCROLL_DOWN -> HOTBAR_PREV

This commit entirely removes the special KeyTypes used for joysticks.

Support for the MOUSE KeyTypes had already been removed in the main
game code without adapting the joystick code, breaking joystick
input. This commit restores joystick functionality.

3 years agoFix object interaction distance not being checked (#10547)
rubenwardy [Mon, 9 Nov 2020 10:55:15 +0000 (10:55 +0000)]
Fix object interaction distance not being checked (#10547)