1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-08 02:40:22 +02:00
Commit Graph

11426 Commits

Author SHA1 Message Date
660e63dbae Fix item duplication if player dies during interact callback (alternative) (#11662) 2021-10-25 20:30:27 +02:00
d4b89eb106 Fix no_texture.png activation w/ simple leaves 2021-10-22 11:01:42 +02:00
a78124831f Fix incorrect error message in core.encode_png 2021-10-22 10:55:18 +02:00
0d345dc1bd Fix view bobbing not resetting when resting
partially fixes #11694, also fixes #11692
2021-10-20 21:51:21 +02:00
86b44ecd82 Add no_texture.png as fallback for unspecified textures 2021-10-20 21:50:16 +02:00
c82ec8b210 Fix compiling on Windows with Visual Studio 2021-10-15 18:16:09 +02:00
6901c5fae5 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
2021-10-15 18:14:48 +02:00
fe7195badb Make /status message easier to read 2021-10-15 18:13:57 +02:00
02292e03e4 Add embedded PNG texture modifier (#11498) 2021-10-13 17:51:37 +02:00
fe5cb2cdfb 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.
2021-10-12 20:13:09 +02:00
6ea558f8ac Fix player HP desync between client and server 2021-10-12 20:12:49 +02:00
ecc6f4ba25 Remove a few unused functions reported by callcatcher (#11658) 2021-10-12 20:12:20 +02:00
6de8d77e17 Move instead of copy during content install if possible 2021-10-07 00:20:01 +02:00
2b5075f0e2 Move archive extraction in content store to async job 2021-10-07 00:20:01 +02:00
2d5b7b5fb4 Make fs::extractZipFile thread-safe 2021-10-07 00:20:01 +02:00
9fab5d594c 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/.
2021-10-07 00:19:41 +02:00
53e126ac49 List only jpg and png as screenshot format options (#11675)
The other formats are no longer supported in Minetest Irrlicht.
2021-10-05 21:54:13 +02:00
b4b9bee5f2 Reduce shadow jitter (#11668) 2021-10-05 21:54:01 +02:00
bc71622d21 Fix crash when calling remove/kick/ban_player on start (#11672) 2021-10-05 21:53:47 +02:00
5aa95fef10 Make MetaDataRef:get return nil instead of nothing (#11666) 2021-10-05 15:38:33 +03:00
4fca601e0c Add get_server_max_lag() (#11671) 2021-10-05 15:35:55 +03:00
d7e7ade0f6 Add an option -t to force text output in /help
This also improves detection of whether formspecs are available.
2021-10-01 16:22:05 +02:00
982e03f60d Improvements to colored shadows (#11516) 2021-10-01 16:21:53 +02:00
21113ad410 Split liquid_viscosity to liquid_viscosity and move_resistance (#10810) 2021-10-01 16:21:24 +02:00
f5040707fe Order drawlist by distance to the camera when rendering (#11651) 2021-09-27 17:46:08 +02:00
d51d0f3a5a Various code improvements
* Camera: Fix division by 0 after view bobbing
* Remove ignored constness
* Connection: Improve window size range limits
2021-09-27 17:45:44 +02:00
918fbe3ec1 Update builtin locale files (#11650) 2021-09-26 18:04:39 +02:00
nia
2dc73d239a 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).
2021-09-26 18:04:30 +02:00
bc7d05581b Fix several typos in settingtypes.txt (#11623) 2021-09-26 18:04:19 +02:00
3dcf9e963e Touch UI support for desktop builds (#10729) 2021-09-26 18:04:09 +02:00
9f85862b7c Fix "Could not create ITexture, texture needs to have a non-empty name" warning 2021-09-22 18:43:40 +02:00
nia
2628316842 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.
2021-09-19 20:23:52 +02:00
DS
e79d6154fc Fix client-side performance of chat UI (#11612) 2021-09-19 20:23:35 +02:00
40ea4ddef1 Fix HUD multiline text alignment (#10795) 2021-09-19 20:23:22 +02:00
e0529da5c8 Fix trivial typos 2021-09-19 13:54:20 +02:00
16a62426d6 Add feature table entry for new dynamic media API 2021-09-19 13:54:06 +02:00
ad076ede85 Add preprocessor check for weird (incorrect) build configurations 2021-09-19 13:53:44 +02:00
fd8a8501bc Shave off buffer copies in networking code (#11607) 2021-09-17 18:14:25 +02:00
ea250ff5c5 Fix GLES2 discard behaviour (texture transparency) 2021-09-17 18:13:50 +02:00
d1e0f73b77 Hide Wself-assign-overloaded and Wself-move unittest compilation warnings
The warnings occured with the clang compiler
2021-09-17 18:13:04 +02:00
6fedee16f0 Readd TGA to the list of valid texture formats. (#11598) 2021-09-15 11:12:24 +01:00
719a12ecac Chop game background in mainmenu (#10796) 2021-09-14 20:46:02 +02:00
4feb799b7e Add Windows-specific CreateTempFile() implementation
Once again MSVC is the only compiler not supporting basic POSIX functionality.
2021-09-14 20:45:41 +02:00
b480a3e9fd Fix broken handling of NodemetaChanged packets
fixes #11610
2021-09-12 14:42:01 +02:00
75bf9b75ca Make sure relevant std::stringstreams are set to binary 2021-09-11 21:06:57 +02:00
766e885a1b Clean up/improve some scriptapi error handling code 2021-09-10 23:16:46 +02:00
7423c4c11e Send to clients node metadata that changed to become empty (#11597) 2021-09-10 23:16:34 +02:00
DS
2cefe51d3b Split vector.new into 3 constructors 2021-09-10 23:16:16 +02:00
bbfae0cc67 Dynamic_Add_Media v2 (#11550) 2021-09-09 16:51:35 +02:00
bcb6565483 Add missing zstd-libs to final Docker image
Also add `minetestserver --version` command to verify docker build in CI
2021-09-07 15:29:57 +02:00