]>
git.lizzy.rs Git - minetest.git/log
hecks [Wed, 13 Oct 2021 15:51:37 +0000 (17:51 +0200)]
Add embedded PNG texture modifier (#11498)
sfan5 [Sun, 10 Oct 2021 19:10:52 +0000 (21:10 +0200)]
Remove broken timeout behaviour
Code that relies on `resend_count` was added in
7ea4a03 and
247a1eb , but never worked.
This was fixed in #11607 which caused the problem to surface.
Hence undo the first commit entirely and change the logic of the second.
savilli [Tue, 12 Oct 2021 18:12:49 +0000 (21:12 +0300)]
Fix player HP desync between client and server
SmallJoker [Tue, 12 Oct 2021 18:12:20 +0000 (20:12 +0200)]
Remove a few unused functions reported by callcatcher (#11658)
sfan5 [Sun, 19 Sep 2021 16:16:53 +0000 (18:16 +0200)]
Move instead of copy during content install if possible
sfan5 [Sun, 19 Sep 2021 15:55:01 +0000 (17:55 +0200)]
Move archive extraction in content store to async job
sfan5 [Sun, 19 Sep 2021 14:55:35 +0000 (16:55 +0200)]
Make fs::extractZipFile thread-safe
emixa-d [Wed, 6 Oct 2021 22:19:41 +0000 (22:19 +0000)]
Add "MINETEST_MOD_PATH" environment variable (#11515)
This adds an environment variable MINETEST_MOD_PATH.
When it exists, Minetest will look there for mods in addition to ~/.minetest/mods/.
HybridDog [Tue, 5 Oct 2021 19:54:13 +0000 (21:54 +0200)]
List only jpg and png as screenshot format options (#11675)
The other formats are no longer supported in Minetest Irrlicht.
lhofhansl [Tue, 5 Oct 2021 19:54:01 +0000 (12:54 -0700)]
Reduce shadow jitter (#11668)
Wuzzy [Tue, 5 Oct 2021 19:53:47 +0000 (19:53 +0000)]
Fix crash when calling remove/kick/ban_player on start (#11672)
Jude Melton-Houghton [Tue, 5 Oct 2021 12:38:33 +0000 (08:38 -0400)]
Make MetaDataRef:get return nil instead of nothing (#11666)
Wuzzy [Tue, 5 Oct 2021 12:35:55 +0000 (12:35 +0000)]
Add get_server_max_lag() (#11671)
Pedro Gimeno [Sat, 3 Apr 2021 20:51:09 +0000 (22:51 +0200)]
Add an option `-t` to force text output in /help
This also improves detection of whether formspecs are available.
x2048 [Fri, 1 Oct 2021 14:21:53 +0000 (16:21 +0200)]
Improvements to colored shadows (#11516)
Wuzzy [Fri, 1 Oct 2021 14:21:24 +0000 (14:21 +0000)]
Split liquid_viscosity to liquid_viscosity and move_resistance (#10810)
x2048 [Mon, 27 Sep 2021 15:46:08 +0000 (17:46 +0200)]
Order drawlist by distance to the camera when rendering (#11651)
SmallJoker [Mon, 27 Sep 2021 15:45:44 +0000 (17:45 +0200)]
Various code improvements
* Camera: Fix division by 0 after view bobbing
* Remove ignored constness
* Connection: Improve window size range limits
Wuzzy [Sun, 26 Sep 2021 16:04:39 +0000 (16:04 +0000)]
Update builtin locale files (#11650)
nia [Sun, 26 Sep 2021 16:04:30 +0000 (16:04 +0000)]
Use CMake's GNUInstallDirs for install directories on Unix (#11636)
This makes the installation process honor system-specific
directories (e.g. ${PREFIX}/man instead of ${PREFIX}/share/man on
BSD).
Wuzzy [Sun, 26 Sep 2021 16:04:19 +0000 (16:04 +0000)]
Fix several typos in settingtypes.txt (#11623)
TheBrokenRail [Sun, 26 Sep 2021 16:04:09 +0000 (12:04 -0400)]
Touch UI support for desktop builds (#10729)
sfan5 [Wed, 22 Sep 2021 16:35:40 +0000 (18:35 +0200)]
Fix "Could not create ITexture, texture needs to have a non-empty name" warning
nia [Sun, 19 Sep 2021 18:23:52 +0000 (18:23 +0000)]
Fix src/util/string.cpp on NetBSD
- iconv() prototype changed from traditional Unix defintion
to POSIX definition in 9.99.x.
- wchar_t is not a valid character set for iconv. Share code
with Android for using UTF-32.
DS [Sun, 19 Sep 2021 18:23:35 +0000 (20:23 +0200)]
Fix client-side performance of chat UI (#11612)
Lars Müller [Sun, 19 Sep 2021 18:23:22 +0000 (20:23 +0200)]
Fix HUD multiline text alignment (#10795)
sfan5 [Sun, 19 Sep 2021 11:46:56 +0000 (13:46 +0200)]
Fix trivial typos
sfan5 [Fri, 17 Sep 2021 15:17:40 +0000 (17:17 +0200)]
Add feature table entry for new dynamic media API
sfan5 [Mon, 13 Sep 2021 15:38:19 +0000 (17:38 +0200)]
Add preprocessor check for weird (incorrect) build configurations
sfan5 [Fri, 17 Sep 2021 16:14:25 +0000 (18:14 +0200)]
Shave off buffer copies in networking code (#11607)
sfan5 [Fri, 10 Sep 2021 19:59:29 +0000 (21:59 +0200)]
Fix GLES2 discard behaviour (texture transparency)
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
ROllerozxa [Wed, 15 Sep 2021 10:12:24 +0000 (12:12 +0200)]
Readd TGA to the list of valid texture formats. (#11598)
Lars Müller [Tue, 14 Sep 2021 18:46:02 +0000 (20:46 +0200)]
Chop game background in mainmenu (#10796)
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.
sfan5 [Sun, 12 Sep 2021 12:35:52 +0000 (14:35 +0200)]
Fix broken handling of NodemetaChanged packets
fixes #11610
sfan5 [Sat, 11 Sep 2021 19:06:57 +0000 (21:06 +0200)]
Make sure relevant std::stringstreams are set to binary
sfan5 [Fri, 10 Sep 2021 21:16:46 +0000 (23:16 +0200)]
Clean up/improve some scriptapi error handling code
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)
DS [Fri, 10 Sep 2021 21:16:16 +0000 (23:16 +0200)]
Split vector.new into 3 constructors
sfan5 [Thu, 9 Sep 2021 14:51:35 +0000 (16:51 +0200)]
Dynamic_Add_Media v2 (#11550)
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
NeroBurner [Sun, 5 Sep 2021 17:58:50 +0000 (19:58 +0200)]
Fix movement in random_input mode (#11592)
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
Wuzzy [Wed, 1 Sep 2021 20:20:57 +0000 (20:20 +0000)]
Fix falling mesh nodes being half size (#11389)
sfan5 [Wed, 1 Sep 2021 17:17:17 +0000 (19:17 +0200)]
Update README for zstd changes
sfan5 [Wed, 1 Sep 2021 08:48:54 +0000 (10:48 +0200)]
Don't look for zlib and zstd manually on Windows
sfan5 [Wed, 1 Sep 2021 08:41:36 +0000 (10:41 +0200)]
Drop Ubuntu 16.04 from gitlab-ci, add 20.04 instead
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.
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>
sfan5 [Tue, 31 Aug 2021 21:57:39 +0000 (23:57 +0200)]
CI: Bump IrrlichtMt to 1.9.0mt3
pecksin [Sun, 29 Aug 2021 17:14:06 +0000 (13:14 -0400)]
Remove closing paren as weblink delimiter
sfan5 [Sat, 28 Aug 2021 10:15:12 +0000 (12:15 +0200)]
Async-related script cleanups
fn ⌃ ⌥ [Sat, 28 Aug 2021 10:14:55 +0000 (03:14 -0700)]
CI: Add macOS workflow (#11454)
savilli [Sat, 28 Aug 2021 10:14:16 +0000 (12:14 +0200)]
Remove redundant on_dieplayer calls
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>
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"
Lean Rada [Fri, 27 Aug 2021 18:22:35 +0000 (02:22 +0800)]
Optimize vector length calculations (#11549)
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
Loïc Blot [Tue, 24 Aug 2021 12:52:05 +0000 (14:52 +0200)]
fix: update to alpine 3.14 (#11570)
JosiahWI [Mon, 23 Aug 2021 20:13:47 +0000 (15:13 -0500)]
Set policies through CMake 3.9 to allow enabling IPO (#11560)
Wuzzy [Mon, 23 Aug 2021 20:13:17 +0000 (20:13 +0000)]
Fix 6th line of infotext being cut off in half (#11456)
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>
DS [Mon, 23 Aug 2021 12:09:50 +0000 (14:09 +0200)]
Use utf-8 for the Irrlicht clipboard (#11538)
sfan5 [Mon, 23 Aug 2021 11:33:25 +0000 (13:33 +0200)]
Fix server-only builds on older CMake versions (#11566)
closes #11564
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
sfan5 [Thu, 19 Aug 2021 17:21:33 +0000 (19:21 +0200)]
Allow lib/irrlichtmt to work for server builds (headers-only)
Wuzzy [Sat, 21 Aug 2021 11:53:49 +0000 (11:53 +0000)]
Show status message when changing block bounds (#11556)
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.
Wuzzy [Thu, 19 Aug 2021 18:14:04 +0000 (18:14 +0000)]
Fix scaled world-aligned textures being aligned inconsistently for non-normal drawtypes
rubenwardy [Thu, 19 Aug 2021 18:13:25 +0000 (19:13 +0100)]
Add fwgettext util function
SmallJoker [Tue, 17 Aug 2021 18:00:47 +0000 (20:00 +0200)]
Fix inconsistent integer comparison warnings
Wuzzy [Mon, 16 Aug 2021 15:57:07 +0000 (15:57 +0000)]
Clarify the meaning of "rightclick"/"use" in documentation (#11471)
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.
sfan5 [Sun, 15 Aug 2021 12:46:45 +0000 (14:46 +0200)]
Cap iterations of imageCleanTransparent sanely
fixes #11513 performance regression with 256x textures
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
SmallJoker [Thu, 12 Aug 2021 18:03:25 +0000 (20:03 +0200)]
Fix segfault caused by shadow map on exit
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>
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.
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.
hecks [Mon, 9 Aug 2021 19:03:18 +0000 (21:03 +0200)]
Remove statement semicolons from a lua script
DS [Sun, 8 Aug 2021 16:59:45 +0000 (18:59 +0200)]
Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox (#11519)
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>
SmallJoker [Tue, 3 Aug 2021 18:26:00 +0000 (20:26 +0200)]
OpenAL: Free buffers on quit
rubenwardy [Mon, 2 Aug 2021 19:05:10 +0000 (20:05 +0100)]
ContentDB: Add support for package aliases / renaming (#11484)
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
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.
sfan5 [Sat, 31 Jul 2021 11:23:13 +0000 (13:23 +0200)]
Update IrrlichtMt-related stuff in README
hecks [Thu, 29 Jul 2021 20:36:25 +0000 (22:36 +0200)]
Remove unsupported formats from the media enumerator
hecktest [Thu, 29 Jul 2021 19:47:08 +0000 (21:47 +0200)]
Remove unsupported extensions from list in tile.cpp
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>
sfan5 [Tue, 27 Jul 2021 18:37:51 +0000 (20:37 +0200)]
buildbot: Readd missing IrrlichtMt DLLs
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>
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.
Wuzzy [Tue, 27 Jul 2021 17:09:14 +0000 (17:09 +0000)]
Improve documentation of tools (#11128)
rubenwardy [Tue, 27 Jul 2021 17:08:49 +0000 (18:08 +0100)]
ContentDB: Add reason to downloads (#10876)
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>
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.
random-geek [Sun, 25 Jul 2021 10:34:53 +0000 (03:34 -0700)]
Document glasslikeliquidlevel merge bits (#11479)
hecks [Wed, 21 Jul 2021 22:55:20 +0000 (00:55 +0200)]
Remove unused ITextSceneNode header (#11476)
Co-authored-by: hecktest <>