]>
git.lizzy.rs Git - minetest.git/log
Lejo [Fri, 26 Nov 2021 18:31:05 +0000 (19:31 +0100)]
Add Lua bitop library (#9847)
HybridDog [Fri, 26 Nov 2021 18:30:49 +0000 (19:30 +0100)]
Minimap: gamma-correct average texture colour calculation (#9249)
This calculates the average texture colour while heeding the sRGB colourspace.
sfan5 [Mon, 22 Nov 2021 17:27:49 +0000 (18:27 +0100)]
Add backwards-compatible behaviour if too few CAO textures specified
(#11766)
ExeVirus [Mon, 22 Nov 2021 17:26:46 +0000 (12:26 -0500)]
Allow for Game-Specific Menu Music (#11241)
Andrew Kerr [Fri, 19 Nov 2021 22:31:15 +0000 (17:31 -0500)]
Add macOS build docs (#11757)
savilli [Fri, 19 Nov 2021 22:31:04 +0000 (01:31 +0300)]
Fix local digging animation (#11772)
sfan5 [Sun, 7 Nov 2021 16:50:57 +0000 (17:50 +0100)]
Fix compiler detection in buildbot
it was just half-broken before...
Elijah Duffy [Wed, 10 Nov 2021 18:10:20 +0000 (10:10 -0800)]
Lua API: Add `rmdir`, `cpdir` and `mvdir` (#9638)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
sfan5 [Fri, 5 Nov 2021 10:12:56 +0000 (11:12 +0100)]
Fix typo in buildbot scripts
Riceball LEE [Mon, 1 Nov 2021 12:27:46 +0000 (20:27 +0800)]
Localize error messages in mainmenu (#11495)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Wuzzy [Sun, 31 Oct 2021 22:33:33 +0000 (22:33 +0000)]
Fix number of tool uses being off by 1..32767 (#11110)
JosiahWI [Sun, 31 Oct 2021 22:33:11 +0000 (17:33 -0500)]
Add variable to use existing IrrlichtMt build (#11656)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
sfan5 [Mon, 25 Oct 2021 20:33:13 +0000 (22:33 +0200)]
Automatically package MinGW runtime in buildbot
sfan5 [Mon, 25 Oct 2021 19:56:25 +0000 (21:56 +0200)]
Replace uses of which(1) with command -v
sfan5 [Sun, 31 Oct 2021 22:32:25 +0000 (23:32 +0100)]
Update Android to new dependency repo (#11690)
x2048 [Sun, 31 Oct 2021 18:18:30 +0000 (19:18 +0100)]
Apply shadow only to the naturally lit part of the fragment color (#11722)
Fragment color for nodes is now calculated from:
* Texture color, highlighted by artificial light if present (light color conveyed via vertex color).
* Texture color highlighted by natural light (conveyed via vertex color) filtered by shadow.
* Reflected day/moonlight filtered by shadow (color and intensity), assuming some portion of the light is directly reflected from the materials.
Isabelle COWAN-BERGMAN [Sun, 31 Oct 2021 18:17:47 +0000 (19:17 +0100)]
Add joystick layout for DragonRise GameCube controller (#11467)
rubenwardy [Mon, 25 Oct 2021 20:36:28 +0000 (21:36 +0100)]
Fix crash on hypertext[] with not enough parts
The length check used < rather than <=, disabling the check when the formspec version
matches the client's FORMSPEC_API_VERSION.
Additionally, it was possible to have fewer parts than required if the formspec version
was greater than the client's FORMSPEC_API_VERSION.
sfan5 [Sat, 23 Oct 2021 15:23:30 +0000 (17:23 +0200)]
Fixes around emerge handling
Jude Melton-Houghton [Mon, 25 Oct 2021 18:31:14 +0000 (14:31 -0400)]
Limit stepheight smoothing to the stepheight and stop smoothing during jumps (#11705)
sfan5 [Mon, 25 Oct 2021 18:30:27 +0000 (20:30 +0200)]
Fix item duplication if player dies during interact callback (alternative) (#11662)
Wuzzy [Thu, 21 Oct 2021 21:01:31 +0000 (23:01 +0200)]
Fix no_texture.png activation w/ simple leaves
sfan5 [Fri, 22 Oct 2021 08:55:18 +0000 (10:55 +0200)]
Fix incorrect error message in core.encode_png
Lars Müller [Wed, 20 Oct 2021 19:51:21 +0000 (21:51 +0200)]
Fix view bobbing not resetting when resting
partially fixes #11694, also fixes #11692
Wuzzy [Wed, 20 Oct 2021 19:50:16 +0000 (19:50 +0000)]
Add no_texture.png as fallback for unspecified textures
LoneWolfHT [Fri, 15 Oct 2021 16:16:09 +0000 (09:16 -0700)]
Fix compiling on Windows with Visual Studio
rubenwardy [Fri, 15 Oct 2021 16:14:48 +0000 (17:14 +0100)]
Use scoped app storage on Android (#11466)
From November 2021, the Play Store will no longer be accepting
apps which use the deprecated getExternalStorageDirectory() API.
Therefore, this commit replaces uses of deprecated API with the new
scoped API (`getExternalFilesDir()` and `getExternalCacheDir()`).
It also provides a temporary migration to move user data from the
shared external directory to new storage.
Fixes #2097, #11417 and #11118
Wuzzy [Wed, 17 Mar 2021 18:03:00 +0000 (19:03 +0100)]
Make /status message easier to read
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