Commit Graph

268 Commits

Author SHA1 Message Date
rubenwardy 1a831ac384
Add nametag background setting and object property (#10937) 2022-05-21 16:18:22 +02:00
sfan5 32ec2cd403
Preserve immortal group for players when damage is disabled 2022-05-21 16:18:19 +02:00
rubenwardy e78d927ff9
Use JSON for favorites, move server list code to Lua (#10085)
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-21 16:18:17 +02:00
rubenwardy 3954bd96f9
Add dependency resolution to ContentDB (#9997) 2022-05-21 16:18:12 +02:00
Markus 0e7176887a
Fix some more joystick issues (#10624) 2022-05-21 16:18:11 +02:00
lhofhansl 44bd33de88
Allow configuring block disk and net compression. Change default disk level. 2022-05-21 16:18:09 +02:00
sfan5 b36cf63f27
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
This reverts commit 2f6393f49d5ebf21abfaa7bff876b8c0cf4ca191.
2022-05-21 16:18:09 +02:00
HybridDog 29c727f0cd
Fix MSAA stripes (#9247)
This only works when shaders are enabled.
The centroid varying avoids that the textures (which repeat themselves out of bounds) are sampled out of bounds in MSAA.
If MSAA (called FSAA in minetest) is disabled, the centroid keyword does nothing.
2022-05-21 16:18:09 +02:00
lhofhansl eb3dea562b
Increase limit for simultaneous blocks sent per client and the meshgen cache. 2022-05-21 16:18:08 +02:00
lhofhansl 2378f4ee82
Increase default emerge queue limits and limit enqueue requests for active blocks. 2022-05-21 16:18:07 +02:00
lhofhansl dcb1aab2d4
Increase defaults for viewing_range, active_object_range and related settings #10597 2022-05-21 16:18:06 +02:00
rubenwardy 01f09b912b
Fix segfault in deprecation logging due to tail call, log by default (#10174) 2022-05-21 16:18:05 +02:00
numzero 88f2e825b9
Shaders for Android (GLES 2) (#10506)
Shader support for OpenGL ES 2 devices (Android)

Co-authored-by: sfan5 <sfan5@live.de>
2022-05-21 16:18:05 +02:00
lhofhansl c66ec62c77
Remove all bump mapping and parallax occlusion related code. 2022-05-21 16:18:04 +02:00
Hugo Locurcio f49e97c3d9
Improve the `fsaa` setting description (#10279)
See https://github.com/minetest/minetest/issues/8459.
2022-05-21 16:18:03 +02:00
HybridDog 240019bddd
Reduce the FPS when the window is unfocused (#8837) 2022-05-21 16:18:01 +02:00
hecks fb5c84855d
Remove "generate normal maps" feature (#10313)
Erase all traces of normal "generation" from fragment shaders
Remove the "feature" from the engine and default config
Remove any leftover documentation of it
2022-05-21 16:17:59 +02:00
paramat 7c52caee56
Add 'ores' global mapgen flag (#10276) 2022-05-21 16:17:59 +02:00
MoNTE48 5d84294168
Android: drop simple MainMenu (#10227)
The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks.
Makes the interface consistent and eliminates player confusion.
2022-05-21 16:17:57 +02:00
lhofhansl aef1804e43
Allow the ABM time budget to be configurable. 2022-05-21 16:17:56 +02:00
rubenwardy d07f7b7f09
ContentDB: Add Update All and download queuing (#9995) 2022-05-21 16:17:56 +02:00
ANAND 2c1848211c
Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2022-05-21 16:17:55 +02:00
paramat 86807859e8
Mapgen Flat: Add caverns, disabled by default (#9913)
Add the caverns used in V5, V7, Valleys, Carpathian.
Disabled by default to not be force-enabled in existing worlds.
2022-05-21 16:17:55 +02:00
LoneWolfHT 7abd2a9ce5
Add object crosshair, disable entity selectionboxes by default (#9523)
Adds new object crosshair base pack texture
2022-05-21 16:17:53 +02:00
SmallJoker 7a9d57a4b6
Add chat_font_size setting (#9736)
Default font sizes are used when the setting value is 0 or below (clamped by Settings).
2022-05-21 16:17:47 +02:00
sfan5 7e3611c1e9
Fix documentation of emergequeue_limit settings 2022-05-21 16:17:47 +02:00
paramat 976af00e17
Various documentation fixes in settingtypes.txt (#9910)
Fix incorrect value of 'mgv7_floatland_density'.
Use correct spelling of 'persistence'.
Move '3d_paralax_strength' into correct section (3D mode).
Refer to 'active_object_send_range_blocks' instead of non-existent 'active_object_range'.
2022-05-21 16:17:46 +02:00
paramat 76ebe80e55
Add new Mapgen V7 floatland implementation (#9296)
Floatland structure is vertically-compressed 3D noise.
Uses a lacunarity of 1.618 (the golden ratio) for high quality
noise.
Floatlands appear between user-settable Y limits, with smooth
tapering at each limit.
Simple user-settable density adjustment.
Shadow propagation is disabled in and just below floatlands, no
shadows are cast on the world surface.
Can be reconfigured to create a solid upper world layer between
the Y limits, lakes/seas can be optionally added to this.
2022-05-21 16:17:44 +02:00
SmallJoker ac5aaa83df
Add chat_log_level setting (#9223)
Log all higher levels in LogOutputBuffer
Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
2022-05-21 16:17:44 +02:00
sfan5 a40c1942a9
Update num_emerge_threads description 2022-05-21 16:17:40 +02:00
Wuzzy 755989d746
Change default keys for cam/minimap to C/V (#9779) 2022-05-21 16:17:40 +02:00
Loïc Blot e18e457a2b
Add MetricsBackend with prometheus counter support 2022-05-21 16:17:39 +02:00
SmallJoker 3532df05f3
Add default stack size setting (#8873)
New setting "default_stack_max" to alter the default stack sizes of all items when desired.

Co-authored-by: Pascal Abresch <nep@packageloss.eu>
2022-05-21 16:17:36 +02:00
Desour 93f7ab4fa2
Allow to select en as language in settings menu (#9604)
fixes #9599
2022-05-21 16:17:36 +02:00
Hugo Locurcio dfa84c2322
Allow relative directories for `screenshot_path`, tweak default path (#9122)
This will likely be more intuitive for users and should play better
with sandboxed distributions such as Flatpak.

In addition, the screenshot directory will now be created if it doesn't
exist already.
2022-05-21 16:17:35 +02:00
ANAND 8338e55fac
Ignore near_plane setting on non-Android platforms (#8749)
Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
2022-05-21 16:17:33 +02:00
rubenwardy a4076c69c0
Update settingtypes.txt for new languages 2022-05-21 16:17:28 +02:00
paramat c6c2924273
Remove Mapgen V7 floatlands in preparation for new implementation (#9238)
Preserve the floatland flag of existing worlds, to be used again
when the new implementation is added.
2022-05-21 16:17:27 +02:00
lhofhansl 29b09aec3e
Allow wave_heights up to two nodes. #9220 2022-05-21 16:17:26 +02:00
paramat 0fd9c533c6
Randomwalk cave liquids: Remove deprecated 'lava depth' parameter (#9105)
Low-disruption first step towards removing the hardcoded cave liquid
code. Since MT 5.0.0 cave liquids can be defined and located by
biome definitions instead.
In games that do not yet use biome definitions to define and locate
cave liquids (MTGame does), lava will now appear below
y = water_level - 256 instead of below 'lava depth' (usually y = -256).
Therefore no change in most mapgens if using the default 'lava depth'.
2022-05-21 16:17:23 +02:00
paramat 2e72d96513
Tunnels: Completely disable generation when 'cave width' >= 10.0 (#9093)
Previously, the only way to disable the 3D noise tunnels was to set
'cave width' > 1.0, however doing so did not disable the very intensive
noise calculations or the generation loop.
All the other types of cave generation (randomwalk caves, caverns)
can already be independently and completely disabled.
This feature is now needed more because the small randomwalk caves are
now available for use as an alternative to the 3D noise tunnels.
2022-05-21 16:17:22 +02:00
paramat 020412b3a2
Randomwalk caves: Add parameters for number, proportion flooded. Allow small caves (#8928)
Add mapgen parameters to set the range of the random number of
randomwalk caves per mapchunk, and to set the proportion that are
flooded with liquids.
Default values are, for now, unchanged from the previous hardcoded
values.

Add parameters to allow small randomwalk caves
Disabled by default for now as they have never been present in the
non-mgv6 mapgens.
2022-05-21 16:17:22 +02:00
Pierre-Yves Rollo 559893ecbe
Formspec: add hypertext element 2022-05-21 16:17:21 +02:00
Wuzzy e336781e49
Add help texts for settings that lack one (#9007) 2022-05-21 16:17:19 +02:00
paramat de46384c5b
Improve light curve parameter limits and documentation (#9054)
Revert gamma upper limit to 3.0 because that was raised based on
a misunderstanding and had no benefit. A sane upper limit is
needed as players on a competitive server tend to use the maximum.
Set gamma lower limit to 0.33 for consistency with 3.0.
Set sane limits on alpha, beta, boost and enforce these in code
to limit values entered in minetest.conf and to avoid easy cheating
by editing settingtypes.txt.
Improve documentation and 'readable' setting names.
Clarify that gamma does not significantly affect natural night light.
light.cpp: Various codestyle and comment improvements.
2022-05-21 16:17:19 +02:00
paramat ed42ec1ebc
Settingtypes.txt: Various improvements (#9047) 2022-05-21 16:17:18 +02:00
Wuzzy b4241e1dc7
All Settings: Set min limit for crtitical settings (#9000) 2022-05-21 16:17:17 +02:00
srfqi 4ba095f2fb
All settings: Fix missing flags checkbox caused by 'possible flags' order (#8997)
Previously, the 'rivers' checkbox was missing for mgcarpathian, caused by the 'possible flags' order: 'caverns,nocaverns,rivers,norivers'.
Also reorder mgcarpathian 'possible flags', but only for consistency.
2022-05-21 16:17:16 +02:00
Hugo Locurcio 72d4f571d7
Improve undersampling settings
The setting now accepts values between 1 and 8 in the
Advanced Settings menu.
Values 0 and 1 now behave the same way (setting it to 1 won't
disable MSAA anymore), so there's no need to expose 0 as a value.

This closes #8939.
2022-05-21 16:17:14 +02:00
paramat 837b407a9b
Dungeons: Remove non-functional 'projecting dungeons' setting (#8897) 2022-05-21 16:17:13 +02:00