]> git.lizzy.rs Git - dragonfireclient.git/log
dragonfireclient.git
2 years agoCompile Lua as C++ (#11683)
Jude Melton-Houghton [Thu, 7 Apr 2022 14:54:17 +0000 (10:54 -0400)]
Compile Lua as C++ (#11683)

Co-authored-by: sfan5 <sfan5@live.de>
2 years agoFix -mwindows flag not being applied anymore
sfan5 [Sun, 3 Apr 2022 19:44:22 +0000 (21:44 +0200)]
Fix -mwindows flag not being applied anymore

closes #12165

2 years agoAdd depth sorting for node faces (#11696)
x2048 [Sat, 2 Apr 2022 08:42:27 +0000 (10:42 +0200)]
Add depth sorting for node faces (#11696)

Use BSP tree to order transparent triangles
https://en.wikipedia.org/wiki/Binary_space_partitioning

2 years agoIncrease the ratio between shadow range and viewing range
Dmitry Kostenko [Sat, 2 Apr 2022 08:39:43 +0000 (10:39 +0200)]
Increase the ratio between shadow range and viewing range

2 years agoAvoid negation of comparison operator (luacheck warning)
Dmitry Kostenko [Thu, 31 Mar 2022 23:01:44 +0000 (01:01 +0200)]
Avoid negation of comparison operator (luacheck warning)

2 years agoLimit shadow map to the viewing range (#12158)
x2048 [Thu, 31 Mar 2022 20:40:59 +0000 (22:40 +0200)]
Limit shadow map to the viewing range (#12158)

2 years agoTune shadow perspective distortion (#12146)
x2048 [Thu, 31 Mar 2022 20:40:06 +0000 (22:40 +0200)]
Tune shadow perspective distortion (#12146)

* 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

2 years agoStore vector metatable in registry
Jude Melton-Houghton [Tue, 29 Mar 2022 16:07:00 +0000 (12:07 -0400)]
Store vector metatable in registry

2 years agoOptimize swapping nodes with equivalent lighting
Jude Melton-Houghton [Tue, 29 Mar 2022 16:06:44 +0000 (12:06 -0400)]
Optimize swapping nodes with equivalent lighting

2 years agoFix the documentation of InvRef:get_lists() and clean up code (#12150)
DS [Tue, 29 Mar 2022 16:06:16 +0000 (18:06 +0200)]
Fix the documentation of InvRef:get_lists() and clean up code (#12150)

2 years agoAdd API to control shadow intensity from the game/mod (#11944)
x2048 [Sat, 26 Mar 2022 15:58:26 +0000 (16:58 +0100)]
Add API to control shadow intensity from the game/mod (#11944)

* Also Disable shadows when sun/moon is hidden. Fixes #11972.

2 years agoImprove lua vector helper class doumentation (#12090)
DS [Sat, 19 Mar 2022 11:06:55 +0000 (12:06 +0100)]
Improve lua vector helper class doumentation (#12090)

2 years agoFix memory leak in EmergeManager
Daroc Alden [Mon, 14 Mar 2022 20:01:36 +0000 (16:01 -0400)]
Fix memory leak in EmergeManager

EmergeManager keeps a copy of the BiomeGen that it creates, but
never deletes it.

2 years agoFix footsteps for players whose collision box min y != 0 (#12110)
Gregor Parzefall [Mon, 14 Mar 2022 20:01:18 +0000 (21:01 +0100)]
Fix footsteps for players whose collision box min y != 0 (#12110)

2 years agoFix undefined behavior in TileLayer (#12125)
Daroc Alden [Fri, 11 Mar 2022 20:22:49 +0000 (15:22 -0500)]
Fix undefined behavior in TileLayer (#12125)

Initialize the values properly

2 years agoRemove direct OpenGL(ES) dependency
sfan5 [Sat, 26 Feb 2022 14:16:38 +0000 (15:16 +0100)]
Remove direct OpenGL(ES) dependency

IrrlichtMt now provides this for us (see last commit)
fixes #12041

2 years agoUse Irrlicht bindings for GL call
sfan5 [Sat, 26 Feb 2022 14:07:00 +0000 (15:07 +0100)]
Use Irrlicht bindings for GL call

2 years agoFix memory leak from SpatialAreaStore (#12120)
Daroc Alden [Wed, 9 Mar 2022 18:28:12 +0000 (13:28 -0500)]
Fix memory leak from SpatialAreaStore (#12120)

2 years agoReuse normal offset calculation for nodes
Dmitry Kostenko [Sat, 19 Feb 2022 23:18:39 +0000 (00:18 +0100)]
Reuse normal offset calculation for nodes

2 years agoCorrect normal bias for entities
Dmitry Kostenko [Sat, 19 Feb 2022 23:04:48 +0000 (00:04 +0100)]
Correct normal bias for entities

Remove use of magic constants.
Apply cameraOffset
Calculate distance projected on SM plane

2 years agoChange normal bias for entities to avoid shadow acne
Dmitry Kostenko [Mon, 14 Feb 2022 08:00:55 +0000 (09:00 +0100)]
Change normal bias for entities to avoid shadow acne

2 years agoRemove debugging code
Dmitry Kostenko [Sun, 13 Feb 2022 18:59:53 +0000 (19:59 +0100)]
Remove debugging code

2 years agoEnsure nightRatio is greater than zero in object shader
Dmitry Kostenko [Sun, 13 Feb 2022 18:45:34 +0000 (19:45 +0100)]
Ensure nightRatio is greater than zero in object shader

2 years agoFix shadows for upright sprite nodes
Dmitry Kostenko [Sat, 12 Feb 2022 01:12:29 +0000 (02:12 +0100)]
Fix shadows for upright sprite nodes

Avoid using read only materials in mesh scene node, as
it confuses shadow renderer.

2 years agoApply texture matrix when rendering shadowmap
Dmitry Kostenko [Fri, 11 Feb 2022 22:00:41 +0000 (23:00 +0100)]
Apply texture matrix when rendering shadowmap

Fixes shadows of animated sprite entities

2 years agoAvoid possible buffer overflow when checking face normals
Dmitry Kostenko [Sat, 1 Jan 2022 01:07:34 +0000 (02:07 +0100)]
Avoid possible buffer overflow when checking face normals

2 years agoUse correct indexes when checking mesh normals
Dmitry Kostenko [Sat, 1 Jan 2022 01:06:48 +0000 (02:06 +0100)]
Use correct indexes when checking mesh normals

2 years agoFix shadow rendering with filtering disabled
Dmitry Kostenko [Tue, 9 Nov 2021 23:31:02 +0000 (00:31 +0100)]
Fix shadow rendering with filtering disabled

2 years agoDetect 'insane' normals in checkMeshNormals.
Dmitry Kostenko [Mon, 8 Nov 2021 22:13:50 +0000 (23:13 +0100)]
Detect 'insane' normals in checkMeshNormals.

Detect non-zero normals which point in the opposite direction from the
face plane normal.

2 years agoImprove lighting of entities.
Dmitry Kostenko [Thu, 4 Nov 2021 02:03:10 +0000 (03:03 +0100)]
Improve lighting of entities.

Pass correct natural & artificial light to the shaders
Use natural/artificial light ratio for correct rendering of shadows

2 years agoImprove self-shadowing based on light/normal angle
Dmitry Kostenko [Wed, 3 Nov 2021 23:18:09 +0000 (00:18 +0100)]
Improve self-shadowing based on light/normal angle

Add compatibility with colored shadows.

2 years agoCopy shadow mapping shader from nodes to objects
Dmitry Kostenko [Wed, 3 Nov 2021 22:39:30 +0000 (23:39 +0100)]
Copy shadow mapping shader from nodes to objects

2 years agoApply shadow texture to wield-based entities
Dmitry Kostenko [Wed, 3 Nov 2021 22:38:27 +0000 (23:38 +0100)]
Apply shadow texture to wield-based entities

For example, dropped nodes and items.

2 years agoRender shadows on entities.
Dmitry Kostenko [Mon, 1 Nov 2021 00:51:17 +0000 (01:51 +0100)]
Render shadows on entities.

Fixes problem with mod 'drawers'.

2 years agoReadd basic_debug as a HUD flag (#12020)
Lars Müller [Sat, 5 Mar 2022 21:16:17 +0000 (22:16 +0100)]
Readd basic_debug as a HUD flag (#12020)

2 years agoAllow get_sky to return a table (#11963)
Zughy [Sat, 5 Mar 2022 21:15:41 +0000 (22:15 +0100)]
Allow get_sky to return a table (#11963)

2 years agoFix segfault with autoscale_mode (again)
sfan5 [Wed, 2 Mar 2022 16:46:27 +0000 (17:46 +0100)]
Fix segfault with autoscale_mode (again)

closes #12100
This time add some asserts so there is no misunderstanding about the NULL-ness of layer->texture.

2 years agoMove the codebase to C++14
sfan5 [Wed, 23 Feb 2022 19:02:58 +0000 (20:02 +0100)]
Move the codebase to C++14

2 years agoFix broken dependency enabling due to missing `enabled` field (#12093)
rubenwardy [Thu, 24 Feb 2022 16:01:22 +0000 (16:01 +0000)]
Fix broken dependency enabling due to missing `enabled` field (#12093)

2 years agoLua API documentation: Various fixes (#12059)
SmallJoker [Wed, 23 Feb 2022 20:21:37 +0000 (21:21 +0100)]
Lua API documentation: Various fixes (#12059)

Change 1: Clarify when on_step collision information is provided
Change 2: Document PostgreSQL and Redis settings
Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions

2 years agoFormspecMenu: make drawing of backgrounds less hacky (#9517)
DS [Tue, 22 Feb 2022 18:17:53 +0000 (19:17 +0100)]
FormspecMenu: make drawing of backgrounds less hacky (#9517)

2 years agoAdd TGA test nodes to devtest (#11978)
Nils Dagsson Moskopp [Tue, 22 Feb 2022 18:17:40 +0000 (19:17 +0100)]
Add TGA test nodes to devtest (#11978)

2 years agoLua API: Consistently use double vs. single quotes (#12075)
Lars Müller [Tue, 22 Feb 2022 18:17:08 +0000 (19:17 +0100)]
Lua API: Consistently use double vs. single quotes (#12075)

2 years agoClean up ClientReady packet handling
sfan5 [Mon, 14 Feb 2022 20:01:42 +0000 (21:01 +0100)]
Clean up ClientReady packet handling

fixes #12073

2 years agoUse absolute value for bouncy in collision (#11969)
pecksin [Wed, 16 Feb 2022 22:06:00 +0000 (17:06 -0500)]
Use absolute value for bouncy in collision (#11969)

* use abs(bouncy) in collision
* test case for negative bouncy
* send abs(bouncy) to old clients

2 years agoApply texture pack main menu textures immediately (#12018)
ROllerozxa [Sat, 12 Feb 2022 19:24:20 +0000 (20:24 +0100)]
Apply texture pack main menu textures immediately (#12018)

2 years agoAdd support for 'seed' in disallow_mapgen_settings (#12023)
Wuzzy [Sat, 12 Feb 2022 19:23:58 +0000 (19:23 +0000)]
Add support for 'seed' in disallow_mapgen_settings (#12023)

2 years agoCorrect world_format.txt specification (#12061)
Dennis Jenkins [Sat, 12 Feb 2022 19:23:46 +0000 (11:23 -0800)]
Correct world_format.txt specification (#12061)

The node timers appear at the end of a mapblock for map format version >= 25, not just map format version 25.

2 years agoAllow to set the displayed item count and its alignment via meta (#8448)
DS [Thu, 10 Feb 2022 11:17:52 +0000 (12:17 +0100)]
Allow to set the displayed item count and its alignment via meta (#8448)

* Allow to set the displayed item count and its offset via meta

* fix rect constr call

* devtest: add dump_item chatcommand

* fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now

* add missing utf8 to wide conversion

* rename to count_meta

2 years agoIncrease max objects per block defaults (#12055)
Lars Müller [Tue, 8 Feb 2022 18:33:10 +0000 (19:33 +0100)]
Increase max objects per block defaults (#12055)

2 years agoRemove awful Mingw32 workarounds
sfan5 [Thu, 3 Feb 2022 20:35:08 +0000 (21:35 +0100)]
Remove awful Mingw32 workarounds

Instead a warning is triggered if an affected compiler is detected.
closes #12022

2 years agoUpdate MinGW used by CI
sfan5 [Thu, 3 Feb 2022 20:34:30 +0000 (21:34 +0100)]
Update MinGW used by CI

This made a rebuild of 32-bit deps necessary.
They were updated in the process and this was done for 64-bit too for consistency.

2 years agoNoise params serialization fixup
Gaël C [Tue, 8 Feb 2022 18:30:49 +0000 (19:30 +0100)]
Noise params serialization fixup

2 years agoSend HUD flags only if changed
Lars Müller [Tue, 8 Feb 2022 18:28:32 +0000 (19:28 +0100)]
Send HUD flags only if changed

2 years agoUpdate copyright year in README (#12029)
Zughy [Fri, 4 Feb 2022 19:29:39 +0000 (20:29 +0100)]
Update copyright year in README (#12029)

2 years agoFix broken server startup if curl is disabled (#12046)
sfan5 [Fri, 4 Feb 2022 19:29:28 +0000 (20:29 +0100)]
Fix broken server startup if curl is disabled (#12046)

2 years agoFix types of get_mapgen_setting_noiseparams (#12025)
Lars Müller [Fri, 4 Feb 2022 19:28:43 +0000 (20:28 +0100)]
Fix types of get_mapgen_setting_noiseparams (#12025)

2 years agoClean up ClientInterface locking
Jude Melton-Houghton [Wed, 2 Feb 2022 01:49:19 +0000 (20:49 -0500)]
Clean up ClientInterface locking

2 years agoAdd more documentation for the list[] fs element (#11979)
DS [Thu, 3 Feb 2022 10:43:28 +0000 (11:43 +0100)]
Add more documentation for the list[] fs element (#11979)

2 years agoFix macOS compile instructions
sfan5 [Mon, 31 Jan 2022 21:42:37 +0000 (22:42 +0100)]
Fix macOS compile instructions

2 years agoRevert "Disable dynamic shadows for the 5.5.0 release" (#12032)
rubenwardy [Mon, 31 Jan 2022 21:48:14 +0000 (21:48 +0000)]
Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)

2 years agoFix builtin statbar backgrounds
Lars Mueller [Fri, 28 Jan 2022 16:50:51 +0000 (17:50 +0100)]
Fix builtin statbar backgrounds

see #12000

2 years agoDocument moon orientation relative to sun
Lars Mueller [Sat, 8 Jan 2022 10:45:05 +0000 (11:45 +0100)]
Document moon orientation relative to sun

2 years agoUse virtual paths to specify exact mod to enable (#11784)
rubenwardy [Sun, 30 Jan 2022 22:40:53 +0000 (22:40 +0000)]
Use virtual paths to specify exact mod to enable (#11784)

2 years agoContinue with 5.6.0-dev
sfan5 [Sun, 30 Jan 2022 21:58:19 +0000 (22:58 +0100)]
Continue with 5.6.0-dev

2 years agoBump version to 5.5.0
sfan5 [Sun, 30 Jan 2022 21:58:18 +0000 (22:58 +0100)]
Bump version to 5.5.0

2 years agoAdd another very awful workaround to prevent a crash on Mingw32
sfan5 [Sun, 30 Jan 2022 21:44:29 +0000 (22:44 +0100)]
Add another very awful workaround to prevent a crash on Mingw32

This appears to be the same issue as 70df3d54f37c280f7afe60f6e964b8406577f39f.
Hopefully the next MinGW update will remove the need for this.

2 years agoUpdate credits for 5.5.0 release (#12001)
sfan5 [Sun, 30 Jan 2022 20:33:08 +0000 (21:33 +0100)]
Update credits for 5.5.0 release (#12001)

2 years agoGet rid of `basic_debug` last minute
sfan5 [Sun, 30 Jan 2022 20:32:49 +0000 (21:32 +0100)]
Get rid of `basic_debug` last minute

This isn't a revert but rather just disables the codepaths. also see #12011

2 years agoAbort raycasts that go out-of-bounds (#12006)
sfan5 [Sun, 30 Jan 2022 20:31:18 +0000 (21:31 +0100)]
Abort raycasts that go out-of-bounds (#12006)

2 years agoTranslated using Weblate (Chinese (Simplified))
poi [Sun, 30 Jan 2022 13:21:33 +0000 (13:21 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 93.4% (1323 of 1416 strings)

2 years agoTranslated using Weblate (Russian)
Nikita Epifanov [Fri, 28 Jan 2022 12:48:43 +0000 (12:48 +0000)]
Translated using Weblate (Russian)

Currently translated at 97.8% (1386 of 1416 strings)

2 years agoTranslated using Weblate (German)
Wuzzy [Sat, 29 Jan 2022 19:28:44 +0000 (19:28 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1416 of 1416 strings)

2 years agoTranslated using Weblate (Ukrainian)
Andrij Mizyk [Sat, 29 Jan 2022 18:05:43 +0000 (18:05 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 48.7% (691 of 1416 strings)

2 years agoTranslated using Weblate (French)
waxtatect [Fri, 28 Jan 2022 19:35:24 +0000 (19:35 +0000)]
Translated using Weblate (French)

Currently translated at 100.0% (1416 of 1416 strings)

2 years agoTranslated using Weblate (Japanese)
BreadW [Thu, 27 Jan 2022 12:32:26 +0000 (12:32 +0000)]
Translated using Weblate (Japanese)

Currently translated at 100.0% (1416 of 1416 strings)

2 years agoTranslated using Weblate (Slovak)
Marian [Wed, 26 Jan 2022 14:10:04 +0000 (14:10 +0000)]
Translated using Weblate (Slovak)

Currently translated at 100.0% (1416 of 1416 strings)

2 years agoTranslated using Weblate (Malay)
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi [Wed, 26 Jan 2022 08:23:46 +0000 (08:23 +0000)]
Translated using Weblate (Malay)

Currently translated at 100.0% (1416 of 1416 strings)

2 years agoTranslated using Weblate (Hungarian)
Balázs Kovács [Wed, 26 Jan 2022 20:39:24 +0000 (20:39 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 86.0% (1219 of 1416 strings)

2 years agoTranslated using Weblate (Danish)
Thomas Wagner Nielsen [Wed, 26 Jan 2022 08:40:11 +0000 (08:40 +0000)]
Translated using Weblate (Danish)

Currently translated at 39.9% (566 of 1416 strings)

2 years agoUpdate German builtin translation
Wuzzy [Sat, 29 Jan 2022 23:40:45 +0000 (00:40 +0100)]
Update German builtin translation

2 years agoUpdate builtin translation templates
Wuzzy [Sat, 29 Jan 2022 23:39:58 +0000 (00:39 +0100)]
Update builtin translation templates

2 years agoFix Minetest logo when installed system-wide
ROllerozxa [Sun, 30 Jan 2022 12:49:52 +0000 (13:49 +0100)]
Fix Minetest logo when installed system-wide

2 years agoGet rid of empty test file
sfan5 [Sun, 9 Jan 2022 17:34:36 +0000 (18:34 +0100)]
Get rid of empty test file

2 years agoRaise max mapgen limit constant to align with mapblock size
sfan5 [Fri, 17 Dec 2021 16:21:14 +0000 (17:21 +0100)]
Raise max mapgen limit constant to align with mapblock size

2 years agoAuto-update minetest.conf.example
SmallJoker [Fri, 28 Jan 2022 18:02:38 +0000 (19:02 +0100)]
Auto-update minetest.conf.example

2 years agoDisable dynamic shadows for the 5.5.0 release
SmallJoker [Sat, 16 Oct 2021 17:21:53 +0000 (19:21 +0200)]
Disable dynamic shadows for the 5.5.0 release

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.

2 years agoGet rid of legacy workaround in SQLite backend
sfan5 [Wed, 19 Jan 2022 21:42:53 +0000 (22:42 +0100)]
Get rid of legacy workaround in SQLite backend

tested on Android 11, fixes #11937

2 years agoAdd game name to server status string
sfan5 [Mon, 24 Jan 2022 21:49:36 +0000 (22:49 +0100)]
Add game name to server status string

2 years agoRequest execution on dedicated GPU on Windows
sfan5 [Sat, 22 Jan 2022 19:38:52 +0000 (20:38 +0100)]
Request execution on dedicated GPU on Windows

2 years agoEnable high-res timers on Windows
sfan5 [Sat, 22 Jan 2022 19:20:43 +0000 (20:20 +0100)]
Enable high-res timers on Windows

This should fix issues like #11891, caused by the fps limiting
code being unable to operate correctly.

2 years agoRework drawtime and related timekeeping code to use microseconds
sfan5 [Sat, 22 Jan 2022 16:56:35 +0000 (17:56 +0100)]
Rework drawtime and related timekeeping code to use microseconds

2 years agoAutomatically migrate client mod storage (#11960)
Jude Melton-Houghton [Thu, 27 Jan 2022 21:24:30 +0000 (16:24 -0500)]
Automatically migrate client mod storage (#11960)

2 years agoBuiltin: Sanity-check /time inputs (#11993)
SmallJoker [Thu, 27 Jan 2022 21:23:14 +0000 (22:23 +0100)]
Builtin: Sanity-check /time inputs (#11993)

This enforces the documented bounds for the /time command.

2 years agoDefine control(bits) as "unset" for entities (#11995)
Lars Müller [Thu, 27 Jan 2022 21:22:58 +0000 (22:22 +0100)]
Define control(bits) as "unset" for entities (#11995)

2 years agoUpdate translations
updatepo.sh [Tue, 25 Jan 2022 22:19:13 +0000 (23:19 +0100)]
Update translations

2 years agoUpdate example config and translation .cpp
updatepo.sh [Tue, 25 Jan 2022 22:18:50 +0000 (23:18 +0100)]
Update example config and translation .cpp

2 years agoTranslated using Weblate (Chinese (Simplified))
poi [Tue, 25 Jan 2022 05:58:59 +0000 (05:58 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 93.8% (1328 of 1415 strings)

2 years agoTranslated using Weblate (Hungarian)
Balázs Kovács [Tue, 25 Jan 2022 11:33:07 +0000 (11:33 +0000)]
Translated using Weblate (Hungarian)

Currently translated at 85.5% (1210 of 1415 strings)

2 years agoTranslated using Weblate (Spanish)
rubenwardy [Sat, 22 Jan 2022 18:06:43 +0000 (18:06 +0000)]
Translated using Weblate (Spanish)

Currently translated at 79.5% (1125 of 1415 strings)