]>
git.lizzy.rs Git - dragonfireclient.git/log
Giuseppe Bilotta [Sun, 24 Apr 2022 10:26:06 +0000 (12:26 +0200)]
Fix worldaligned textures
As reported in #12197,
b0b9732359d43325c8bd820abeb8417353365a0c
introduces a regression in worldalign textures.
The specific change that seems to be responsible for this issue is the
change in order between the computation of the cuboid texture
coordinates and the box edge correction.
Fix #12197 by moving the box edge correction back to before the cuboid
texture coordinates, as it used to be.
Giuseppe Bilotta [Sat, 23 Apr 2022 16:04:38 +0000 (18:04 +0200)]
Fix some textures not being sent correctly to older clients
Since
b2eb44afc50976dc0954c868977b5829f3ff8a19 , a texture defined as
`[combine:16x512:0,0=some_file.png;etc`
will not be sent correctly from a 5.5 server to a 5.4 client due to the
overeager detection of unsupported base modifier `[` introducing a
spurious `blank.png^` before the modifier.
Fix this by whitelisting which base modifiers can be passed through
unchanged to the client, and prefix `blank.png` for the others
(which at the moment is just [png:, but the list may grow larger
as new base modifiers are added.)
Lars Müller [Sun, 24 Apr 2022 19:10:03 +0000 (21:10 +0200)]
Fix typo: vector.check() ought to be vector.check(v)
olive [Sun, 24 Apr 2022 19:09:11 +0000 (20:09 +0100)]
Use mod names/titles instead of technical names (#12192)
SmallJoker [Sun, 24 Apr 2022 19:08:33 +0000 (21:08 +0200)]
Builtin: Allow to revoke unknown privileges
Lars Müller [Thu, 21 Apr 2022 19:45:47 +0000 (21:45 +0200)]
Fix some debug info showing despite being disabled in the UI (#12205)
Lars Müller [Thu, 21 Apr 2022 10:39:39 +0000 (12:39 +0200)]
Update docs to reference CSS Color Module Level 3
as the named color "rebeccapurple" is unavailable, Level 4 clearly isn't supported; the link should not point to a dev version of the spec either
paradust7 [Sat, 16 Apr 2022 16:50:59 +0000 (09:50 -0700)]
Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. (#12187)
Stop scaling images to POT immediately when loaded. The 'combine'
modifier hardcodes X and Y coordinates, and so behaves incorrectly
if applied to a scaled image. Images emitted by generateImage()
are already scaled to POT before being used as a texture, so
nothing should break.
olive [Sat, 16 Apr 2022 16:50:36 +0000 (17:50 +0100)]
Send chat error when attemping to /set a secure setting (#12193)
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.
SmallJoker [Fri, 15 Apr 2022 16:55:08 +0000 (18:55 +0200)]
upright_sprite: Fix walk animation in first person (#12194)
x2048 [Thu, 14 Apr 2022 20:49:30 +0000 (22:49 +0200)]
Implement shadow offsets for the new SM distortion function (#12191)
* Move shadow position calculation to vertex shaders
* Animate entire scene before rendering shadows to prevent lagging of shadows
* Remove unnecessary use of PolygonOffsetFactor
* Apply normal offset to both nodes and objects
* Rename getPerspectiveFactor -> applyPerspectiveDistortion
* Remove perspective distortion from fragment shaders
Lars Mueller [Mon, 4 Apr 2022 13:19:04 +0000 (15:19 +0200)]
Fix item entity Z-fighting
Lars Müller [Sun, 10 Apr 2022 21:20:51 +0000 (23:20 +0200)]
Remove unneeded ObjectRef setter return values (#12179)
ShadowNinja [Fri, 8 Apr 2022 01:54:33 +0000 (21:54 -0400)]
Don't test overflow behavior for VoxelArea extents
ShadowNinja [Sun, 3 Apr 2022 16:52:23 +0000 (12:52 -0400)]
Remove generate-texture-normals.sh
Minetest does not use normal maps any more.
ShadowNinja [Tue, 1 Feb 2022 01:01:20 +0000 (20:01 -0500)]
Fix typo and update settings files
ShadowNinja [Tue, 1 Feb 2022 01:00:14 +0000 (20:00 -0500)]
Fix spaces generated by settings file generator
ShadowNinja [Tue, 1 Feb 2022 00:42:24 +0000 (19:42 -0500)]
Use CMake's -B, --build, and --install options
ShadowNinja [Sun, 30 Jan 2022 03:50:43 +0000 (22:50 -0500)]
Fix OOB read in trim("")
ShadowNinja [Sun, 30 Jan 2022 03:49:11 +0000 (22:49 -0500)]
Remove duplicate test for trim
ShadowNinja [Tue, 1 Feb 2022 02:11:51 +0000 (21:11 -0500)]
Update directory name sanitization
Only ASCII spaces have to be handles specially, and leading spaces are
also disallowed.
ShadowNinja [Sun, 30 Jan 2022 03:48:41 +0000 (22:48 -0500)]
Add tests for sanitizeDirName
ShadowNinja [Sun, 30 Jan 2022 03:47:17 +0000 (22:47 -0500)]
Add additional reserved directory names
ShadowNinja [Thu, 23 Dec 2021 03:18:27 +0000 (22:18 -0500)]
Auto-detect level of parallelism
ShadowNinja [Thu, 23 Dec 2021 03:16:46 +0000 (22:16 -0500)]
Remove duplication in config.h
ShadowNinja [Wed, 1 Dec 2021 23:54:12 +0000 (18:54 -0500)]
Spacing fixes
ShadowNinja [Wed, 1 Dec 2021 23:33:55 +0000 (18:33 -0500)]
Treat empty XDG_CACHE_HOME same as unset
This matches the XDG base directory spec.
ShadowNinja [Wed, 1 Dec 2021 23:32:41 +0000 (18:32 -0500)]
Use build directory for builds
ShadowNinja [Wed, 1 Dec 2021 23:30:40 +0000 (18:30 -0500)]
Fix compiler warnings
Dmitry Kostenko [Thu, 7 Apr 2022 21:13:09 +0000 (23:13 +0200)]
Remove reference to a removed file in devtest (followup to #12157)
Dmitry Kostenko [Thu, 7 Apr 2022 20:38:01 +0000 (22:38 +0200)]
Remove obsolete commented code (follow up to #12166)
x2048 [Thu, 7 Apr 2022 20:13:50 +0000 (22:13 +0200)]
Adjust shadowmap distortion to use entire SM texture (#12166)
Jude Melton-Houghton [Thu, 7 Apr 2022 19:58:04 +0000 (15:58 -0400)]
Disentangle map implementations (#12148)
Fixes violation of Liskov substitution principle
Fixes #12144
x2048 [Thu, 7 Apr 2022 19:55:19 +0000 (21:55 +0200)]
Enable shadows by default in devtest (#12157)
* Move all shadow control to util_commands
* Shadows are now controlled with /set_shadow
Co-authored-by: sfan5 <sfan5@live.de>
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>
sfan5 [Sun, 3 Apr 2022 19:44:22 +0000 (21:44 +0200)]
Fix -mwindows flag not being applied anymore
closes #12165
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
Dmitry Kostenko [Sat, 2 Apr 2022 08:39:43 +0000 (10:39 +0200)]
Increase the ratio between shadow range and viewing range
Dmitry Kostenko [Thu, 31 Mar 2022 23:01:44 +0000 (01:01 +0200)]
Avoid negation of comparison operator (luacheck warning)
x2048 [Thu, 31 Mar 2022 20:40:59 +0000 (22:40 +0200)]
Limit shadow map to the viewing range (#12158)
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
Jude Melton-Houghton [Tue, 29 Mar 2022 16:07:00 +0000 (12:07 -0400)]
Store vector metatable in registry
Jude Melton-Houghton [Tue, 29 Mar 2022 16:06:44 +0000 (12:06 -0400)]
Optimize swapping nodes with equivalent lighting
DS [Tue, 29 Mar 2022 16:06:16 +0000 (18:06 +0200)]
Fix the documentation of InvRef:get_lists() and clean up code (#12150)
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.
DS [Sat, 19 Mar 2022 11:06:55 +0000 (12:06 +0100)]
Improve lua vector helper class doumentation (#12090)
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.
Gregor Parzefall [Mon, 14 Mar 2022 20:01:18 +0000 (21:01 +0100)]
Fix footsteps for players whose collision box min y != 0 (#12110)
Daroc Alden [Fri, 11 Mar 2022 20:22:49 +0000 (15:22 -0500)]
Fix undefined behavior in TileLayer (#12125)
Initialize the values properly
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
sfan5 [Sat, 26 Feb 2022 14:07:00 +0000 (15:07 +0100)]
Use Irrlicht bindings for GL call
Daroc Alden [Wed, 9 Mar 2022 18:28:12 +0000 (13:28 -0500)]
Fix memory leak from SpatialAreaStore (#12120)
Dmitry Kostenko [Sat, 19 Feb 2022 23:18:39 +0000 (00:18 +0100)]
Reuse normal offset calculation for nodes
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
Dmitry Kostenko [Mon, 14 Feb 2022 08:00:55 +0000 (09:00 +0100)]
Change normal bias for entities to avoid shadow acne
Dmitry Kostenko [Sun, 13 Feb 2022 18:59:53 +0000 (19:59 +0100)]
Remove debugging code
Dmitry Kostenko [Sun, 13 Feb 2022 18:45:34 +0000 (19:45 +0100)]
Ensure nightRatio is greater than zero in object shader
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.
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
Dmitry Kostenko [Sat, 1 Jan 2022 01:07:34 +0000 (02:07 +0100)]
Avoid possible buffer overflow when checking face normals
Dmitry Kostenko [Sat, 1 Jan 2022 01:06:48 +0000 (02:06 +0100)]
Use correct indexes when checking mesh normals
Dmitry Kostenko [Tue, 9 Nov 2021 23:31:02 +0000 (00:31 +0100)]
Fix shadow rendering with filtering disabled
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.
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
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.
Dmitry Kostenko [Wed, 3 Nov 2021 22:39:30 +0000 (23:39 +0100)]
Copy shadow mapping shader from nodes to objects
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.
Dmitry Kostenko [Mon, 1 Nov 2021 00:51:17 +0000 (01:51 +0100)]
Render shadows on entities.
Fixes problem with mod 'drawers'.
Lars Müller [Sat, 5 Mar 2022 21:16:17 +0000 (22:16 +0100)]
Readd basic_debug as a HUD flag (#12020)
Zughy [Sat, 5 Mar 2022 21:15:41 +0000 (22:15 +0100)]
Allow get_sky to return a table (#11963)
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.
sfan5 [Wed, 23 Feb 2022 19:02:58 +0000 (20:02 +0100)]
Move the codebase to C++14
rubenwardy [Thu, 24 Feb 2022 16:01:22 +0000 (16:01 +0000)]
Fix broken dependency enabling due to missing `enabled` field (#12093)
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
DS [Tue, 22 Feb 2022 18:17:53 +0000 (19:17 +0100)]
FormspecMenu: make drawing of backgrounds less hacky (#9517)
Nils Dagsson Moskopp [Tue, 22 Feb 2022 18:17:40 +0000 (19:17 +0100)]
Add TGA test nodes to devtest (#11978)
Lars Müller [Tue, 22 Feb 2022 18:17:08 +0000 (19:17 +0100)]
Lua API: Consistently use double vs. single quotes (#12075)
sfan5 [Mon, 14 Feb 2022 20:01:42 +0000 (21:01 +0100)]
Clean up ClientReady packet handling
fixes #12073
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
ROllerozxa [Sat, 12 Feb 2022 19:24:20 +0000 (20:24 +0100)]
Apply texture pack main menu textures immediately (#12018)
Wuzzy [Sat, 12 Feb 2022 19:23:58 +0000 (19:23 +0000)]
Add support for 'seed' in disallow_mapgen_settings (#12023)
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.
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
Lars Müller [Tue, 8 Feb 2022 18:33:10 +0000 (19:33 +0100)]
Increase max objects per block defaults (#12055)
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
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.
Gaël C [Tue, 8 Feb 2022 18:30:49 +0000 (19:30 +0100)]
Noise params serialization fixup
Lars Müller [Tue, 8 Feb 2022 18:28:32 +0000 (19:28 +0100)]
Send HUD flags only if changed
Zughy [Fri, 4 Feb 2022 19:29:39 +0000 (20:29 +0100)]
Update copyright year in README (#12029)
sfan5 [Fri, 4 Feb 2022 19:29:28 +0000 (20:29 +0100)]
Fix broken server startup if curl is disabled (#12046)
Lars Müller [Fri, 4 Feb 2022 19:28:43 +0000 (20:28 +0100)]
Fix types of get_mapgen_setting_noiseparams (#12025)
Jude Melton-Houghton [Wed, 2 Feb 2022 01:49:19 +0000 (20:49 -0500)]
Clean up ClientInterface locking
DS [Thu, 3 Feb 2022 10:43:28 +0000 (11:43 +0100)]
Add more documentation for the list[] fs element (#11979)
sfan5 [Mon, 31 Jan 2022 21:42:37 +0000 (22:42 +0100)]
Fix macOS compile instructions
rubenwardy [Mon, 31 Jan 2022 21:48:14 +0000 (21:48 +0000)]
Revert "Disable dynamic shadows for the 5.5.0 release" (#12032)
Lars Mueller [Fri, 28 Jan 2022 16:50:51 +0000 (17:50 +0100)]
Fix builtin statbar backgrounds
see #12000
Lars Mueller [Sat, 8 Jan 2022 10:45:05 +0000 (11:45 +0100)]
Document moon orientation relative to sun
rubenwardy [Sun, 30 Jan 2022 22:40:53 +0000 (22:40 +0000)]
Use virtual paths to specify exact mod to enable (#11784)
sfan5 [Sun, 30 Jan 2022 21:58:19 +0000 (22:58 +0100)]
Continue with 5.6.0-dev
sfan5 [Sun, 30 Jan 2022 21:58:18 +0000 (22:58 +0100)]
Bump version to 5.5.0