1
0
mirror of https://github.com/minetest/minetest.git synced 2025-06-28 06:11:44 +02:00
Commit Graph

9645 Commits

Author SHA1 Message Date
7a1464d783 Minimap: gamma-correct average texture colour calculation (#9249)
This calculates the average texture colour while heeding the sRGB colourspace.
2021-11-26 19:30:49 +01:00
206e131854 Add backwards-compatible behaviour if too few CAO textures specified
(#11766)
2021-11-22 17:27:49 +00:00
52bfbf6ed0 Allow for Game-Specific Menu Music (#11241) 2021-11-22 17:26:46 +00:00
e35cfa589a Add macOS build docs (#11757) 2021-11-19 22:31:15 +00:00
c9070e54bc Fix local digging animation (#11772) 2021-11-19 22:31:04 +00:00
c510037e9a Fix compiler detection in buildbot
it was just half-broken before...
2021-11-10 19:10:32 +01:00
cbf658f83d Lua API: Add rmdir, cpdir and mvdir (#9638)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-10 19:10:20 +01:00
6db914780e Fix typo in buildbot scripts 2021-11-05 11:12:56 +01:00
693f98373b Localize error messages in mainmenu (#11495)
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-01 12:27:46 +00:00
6910c8d920 Fix number of tool uses being off by 1..32767 (#11110) 2021-10-31 22:33:33 +00:00
38ba813c55 Add variable to use existing IrrlichtMt build (#11656)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2021-10-31 22:33:11 +00:00
0b95da7ad3 Automatically package MinGW runtime in buildbot 2021-10-31 22:32:48 +00:00
ea1396f856 Replace uses of which(1) with command -v 2021-10-31 22:32:48 +00:00
4114e3047b Update Android to new dependency repo (#11690) 2021-10-31 22:32:25 +00:00
cef016d393 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.
2021-10-31 19:18:30 +01:00
532d5b21fd Add joystick layout for DragonRise GameCube controller (#11467) 2021-10-31 19:17:47 +01:00
8dfeba02b9 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.
2021-10-25 21:39:40 +01:00
4ee643f472 Fixes around emerge handling 2021-10-25 20:31:52 +02:00
1e26e45530 Limit stepheight smoothing to the stepheight and stop smoothing during jumps (#11705) 2021-10-25 20:31:14 +02:00
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