Commit Graph

183 Commits

Author SHA1 Message Date
Ben Deutsch f9e5873277
Client-side autojump. Remove Android-only stepheight autojump (#7228)
Works by detecting a collision while moving forward and then
simulating a jump. If the simulated jump is more successful,
an artificial jump key press is injected in the client.

Includes setting and key change GUI element for enabling and
disabling this feature.
2022-05-21 16:16:28 +02:00
sfan5 a86c8d0741
Remove obsolete section in ipv6_server description
This section no longer applies since c66d97726931aa8dde7d8a1ffa5b8e41234f4660.
2022-05-21 16:16:27 +02:00
HybridDog 06cb2c9348
Enable subtle fall bobbing (#7856)
Set the default value of fall_bobbing_amount to 0.03
2022-05-21 16:16:26 +02:00
paramat 884c00862a
Content store: Add show_nonfree_packages setting to advanced settings (#7846) 2022-05-21 16:16:24 +02:00
paramat 959a4b979b
Settingtypes.txt: Various language improvements, document stable mapgens (#7801) 2022-05-21 16:16:22 +02:00
paramat 931b3b4c14
Settingtypes.txt: Limit comments to 90 columns to fix clipped lines (#7777) 2022-05-21 16:16:21 +02:00
paramat 974e0febcf
Add a warning to the 'chunksize' setting (#7775)
Several users have been causing problems by increasing this value.
2022-05-21 16:16:20 +02:00
paramat 1dba8b8933
Various grammar improvements (#7769)
In builtin//pkgmgr.lua, README.md and settingtypes.txt.
Based on 2 pull requests by comradekingu.
2022-05-21 16:16:19 +02:00
numzero f7c4228ac0
Software inventorycube (#7651)
Fixes missing/upside-down images on Android.
2022-05-21 16:16:19 +02:00
paramat 2e92f0f02b
Mgv5: Change tunnel parameters to those of other mapgens (#7641)
Make tunnels wider and use the noise parameters of most other mapgens.
All other underground features are already identical to all other
non-mgv6 mapgens, this final change modernises and improves the tunnels.
2022-05-21 16:16:16 +02:00
SmallJoker 46ef9c91d0
Settings: Fix indents, chat_message_*. Update translations (#7580) 2022-05-21 16:16:14 +02:00
numzero e996c3af5f
Disable shaders GUI on unsupported drivers (#7563)
* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable
2022-05-21 16:16:13 +02:00
HybridDog 279c7eab3d
Update mip mapping and textarea documentation (#7315)
* Fix textarea formspec documentation
The label is shown and the background isn't
* Document the missing gamma correction when generating mip maps
* Remove duplicate text (such as size parameter descriptions)
2022-05-21 16:16:13 +02:00
paramat f8d2210c59
CSM: Disallow exploitable clientside mod functions by default (#7547) 2022-05-21 16:16:12 +02:00
paramat ad60c303bd
Mgvalleys: Make river depth variation and humidity drop optional (#7532)
Add 2 new mapgen flags to make river depth variation and humidity drop
with altitude independently optional, instead of both being enabled by
the 'humid rivers' flag.

Simplify and clarify related code by removing a low priority
optimisation regarding 't_heat'.
Remove unnecessary optimisation bools and use spflags directly instead.
Improve and fix documentation in settingtypes.txt.
A few minor code cleanups.
2022-05-21 16:16:11 +02:00
lhofhansl af894f5421
Adjust some settings to modern environments and networks. (#7549) 2022-05-21 16:16:09 +02:00
srfqi b5d31c5953
Android: Add 'aux' button (#7477)
Add 'aux' button.
Use joystick to trigger 'aux' button when forward and out of main circle, by enabling
'virtual_joystick_triggers_aux' setting.
2022-05-21 16:16:08 +02:00
SmallJoker cb6d408a48
Make the server status message customizable (#7357)
Remove now redundant setting show_statusline_on_connect
Improve documentation of `minetest.get_server_status`
2022-05-21 16:16:07 +02:00
paramat 04a7c23585
Mgvalleys: Fix 'mgvalleys_spflags' setting name (#7495) 2022-05-21 16:16:06 +02:00
SmallJoker 35b6de3595
Rename CSM flavours to restrictions
& Satisfy LINT
2022-05-21 16:16:06 +02:00
sfan5 f1b3fd2295
Remove misleading documentation about IPv6 server announcing 2022-05-21 16:16:05 +02:00
paramat 7ae3ad01b8
Mapgen flags: Add 'biomes' global mapgen flag (#7355)
Previously the only way to disable biomes was to 'clear' the registered
biomes in a mod, but this method causes large amounts of unnecessary
processing:
1. Calculation of 4 2D noises.
2. Looping through all nodes of a mapchunk replacing nodes with identical
nodes.
The new flag disables those operations.
2022-05-21 16:16:03 +02:00
tukkek 734995c515
Stop autoforward on BACKWARD key-press (#7417) 2022-05-21 16:16:02 +02:00
otdav33 f2c786edb3
Add crossview support (#7361) 2022-05-21 16:16:01 +02:00
paramat 00bfa0a433
Mgvalleys: Update settingtypes.txt 2022-05-21 16:15:57 +02:00
paramat 3151bab1e3
FOV: Raise lower limit to avoid zoom-loading of distant world (#7234)
In the client, raise lower limit from 30 to 45 degrees, to avoid server
seeing this as a zoom and loading world beyond the server-set limit.
Add minimum in settingtypes.txt and enforce lower limit when set using
minetest.conf.

In the server, distrust the client-sent FOV if below the heuristic zoom
threshold and use the player object property 'zoom_fov' to check it, to
protect against hacked clients.
2022-05-21 16:15:56 +02:00
srfqi 2b13217021
Android: Replace movement buttons with joystick (#7126)
* Android: Replace movement buttons with joystick

Replace movement control buttons (arrows at bottom left screen) with virtual joystick.
Joystick has 8 directions (same as keyboard). Basically, just map it to keyboard input.
Joystick applies only on left 1/3 of screen.
Joystick's position can be fixed by enabling fixed_virtual_joystick setting.
Three new images:
(1) placeholder joystick,
(2) joystick container (background), and
(3) joystick cursor.
Remove unused images: movement control buttons (*_arrow.png).
New data type: touch_gui_joystick_move_id

Joystick's fixed position is spaced one button size from bottom and from left of screen.
Remove unused variable: m_joystick_downlocation
2022-05-21 16:15:56 +02:00
paramat 08ddff6e0c
Mgcarpathian: Remove insignificant 'base' noise variation (#7209)
Was only +-1 node over a scale of thousands of nodes.
Replace with 'base_level' parameter value.
2022-05-21 16:15:55 +02:00
paramat f8c6f13737
Mgfractal / chunksize: Improve documentation 2022-05-21 16:15:52 +02:00
paramat f883baa51e
Rename 'subgame' to 'game' 2022-05-21 16:15:52 +02:00
HybridDog 4d35dd3c15
Fix missing warningstream (or similar problem) (#7034)
Use the --color command line parameter instead of a setting for coloured logs

This fixes the missing warningstream bug, g_settings->get mustn't be used there.
Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings.
2022-05-21 16:15:51 +02:00
paramat bc35b1fb69
Settingtypes.txt: Fix valleys dungeon ymax error 2022-05-21 16:15:51 +02:00
paramat 168db12309
Dungeons: Add Y limits in all mapgens
Preserve the upper limit used in mgvalleys.
2022-05-21 16:15:50 +02:00
PorygonZRocks 854202903f
Add main_menu_style setting 2022-05-21 16:15:46 +02:00
Wayward One e861c82fa1
Add Android drivers to the video_driver drop-down menu
Adds the Android video drivers ogles1 and ogles2 to the video_drivers drop-down menu
2022-05-21 16:15:44 +02:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com) 270676a290
Add missing languages from menu (#6953)
The following languages exist in Minetest PO folder were missing from the selection menu:
- dv (Dhivehi)
- ms (Malay)
- sl (Slovenian)
- sv (Swedish)
- sw (Swahili)
2022-05-21 16:15:43 +02:00
lhofhansl 49c25ba1f3
Revert "Add an active object step time budget #6721"
This reverts commit 9c669016d1578a5c62f932c6ccb7a2b4b1e21f0a.
See #6907
2022-05-21 16:15:42 +02:00
paramat 9a87d16534
Settingtypes.txt: Correct value of 'max block send distance' 2022-05-21 16:15:41 +02:00
paramat ed873030eb
Mgv7: Add docs for the new floatland exponent parameter 2022-05-21 16:15:41 +02:00
rubenwardy 39bcdc7871
Add check to pause game on lost window focus 2022-05-21 16:15:40 +02:00
Ezhh e0d7a27298
Adjust default console height
#6797
2022-05-21 16:15:39 +02:00
Loïc Blot fe025dee62
CSM fixes: load mods after flavours & add flavour to block mod loading (#6738)
* CSM fixes: load mods after flavours & add flavour to block mod loading

* Don't permit to load mods twice

* Prepare builtin integrity global algorithm

* Add missing doc & use a nicer byteflag for LOAD_CLIENT_MODS flavour

* flag typo fix

* Invert CSM_FL_LOOKUP_NODES & CSM_FL_LOAD_CLIENT_MODS ids
2022-05-21 16:15:37 +02:00
lhofhansl 7727cdb59e
Add an active object step time budget #6721
This can be set via the active_object_interval option.
2022-05-21 16:15:36 +02:00
HybridDog 6d8d8873c8
Add coloured logs (#4549)
The setting log_colour can be used to en-/disable or autodetect it.
2022-05-21 16:15:35 +02:00
paramat 9ef2900a05
Zoom: Set zoom FOV per-player using a player object property
Remove player object property 'can zoom'.
Add player object property 'zoom fov'.
Remove clientside setting for 'zoom fov'.
Object property default is 15 degrees in creative mode, zoom disabled
in survival mode.

Needed due to zoom now loading and/or generating distant world
according to zoom FOV.

Update object properties serialisation version to 3.
2022-05-21 16:15:35 +02:00
lhofhansl d734b83ea9
Document extended meaning of active_object_send_range_blocks setting. 2022-05-21 16:15:34 +02:00
paramat 630ac3d9eb
Light curve: Add and tune mid boost gaussian
Create a closer match to the light curve of 0.4.16 stable.
Results in darker shadows while maintaining the 'brightness' and light
spread.
2022-05-21 16:15:33 +02:00
Ezhh eaad3edd8d
Mainmenu: Make capitalisation consistent in mainmenu and advanced settings 2022-05-21 16:15:32 +02:00
Ezhh 0d9cebb1aa
Remove incorrect entry from settingtypes 2022-05-21 16:15:30 +02:00
numzero 28aaf0a8b9
Rewrite rendering engine (#6253)
* Clean draw_*() arguments

* Split rendering core

* Add anaglyph 3D

* Interlaced 3D

* Drop obsolete methods
2022-05-21 16:15:29 +02:00