Commit Graph

1079 Commits

Author SHA1 Message Date
ANAND d86b78a903
Content store: Hide navigation buttons when there's no packages 2022-05-21 16:16:29 +02:00
paramat 54617ebb02
CSM: Don't create the client script environment if CSM is disabled (#7874)
Use the CSM death formspec when CSM is enabled and use the engine death formspec when CSM is disabled.
Move the CSM death formspec code to a dedicated file.
2022-05-21 16:16:28 +02:00
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
stujones11 b42a49f264
Android: Improve UI scaling on smaller high-density displays (#7834)
* Android: Improve UI scaling on smaller high-density displays
2022-05-21 16:16:27 +02:00
Ezhh d45099af04
Rename hasprivs command to haspriv (#7860) 2022-05-21 16:16:26 +02:00
ANAND 400811345e
dlg_contentstore.lua: Various fixes and improvements (#7612)
Add missing 'core.formspec_escape' to 'get_screenshot'.
Add warning label when no packages fetched.
Internal name of the "Update" button was the same as "Install". Rename to 'update_'.
2022-05-21 16:16:26 +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
ChimneySwift 0b17717cdb
Escape special characters when searching the server list (#7842)
Simple fix to stop searching for "[" or other special characters causing a crash.
2022-05-21 16:16:25 +02:00
srfqi 27a428dc8a
Conf.example generation: Remove quotation marks from noise flags (#7844) 2022-05-21 16:16:25 +02:00
paramat 884c00862a
Content store: Add show_nonfree_packages setting to advanced settings (#7846) 2022-05-21 16:16:24 +02:00
random-geek 732605b7c6
Improve content store layout (#7806) 2022-05-21 16:16:24 +02:00
Pierre-Yves Rollo a1bcc6ba94
Fix string.split returning an empty table if string starts with sepearator (#7827)
Calling string.split(":A:B:C:D", ":") returns an empty array.
This is due to first empty string not making repeat loop decreasing max_split which has a 0 value when reaching until.
Changing max_splits default value from -1 to -2 fixes that issue.
2022-05-21 16:16:23 +02:00
paramat b72c46443f
Advanced settings: Fix noise parameter flags (#7819)
Populate the 'checkboxes' table with bools when creating the editing formspec.
2022-05-21 16:16:23 +02:00
SmallJoker 622db08246
Mainmenu: Clean up and improve advanced settings dialogues (#7802)
Improvements:
1. Formspec size and description box are calculated last
2. Width and height are now adjustable per setting type
3. Error message (dialogdata.error_message) shortens the description field and is placed below
4. Add more spacing for larger fonts
5. More comments and extensible by setting different height and width values
2022-05-21 16:16:22 +02:00
paramat 959a4b979b
Settingtypes.txt: Various language improvements, document stable mapgens (#7801) 2022-05-21 16:16:22 +02:00
paramat 8c0937caee
Advanced settings tree menu: Resize, fix clipped values (#7790) 2022-05-21 16:16:22 +02:00
paramat 62f9d15714
Advanced settings menu: Centre setting edit box (#7778) 2022-05-21 16:16:21 +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
SmallJoker ac46613f9c
Add core.remove_detached_inventory (#7684)
Breaks backwards compatibility for good
Bump protocol version
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
SmallJoker 19e83f39db
Remove settings properly (#7676) 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 39398b9ed6
Builtin//misc_helpers: Various fixes (#7737)
Remove unused variable 'seplen'.
Fix 'cparam2'->'param2'.
Do not initialise variable 'p' twice.
2022-05-21 16:16:18 +02:00
SmallJoker faeb4bbc5f
Menu content tab: Fix clipped description and missing depends (#7703) 2022-05-21 16:16:18 +02:00
tenplus1 9d010c2c66
get_node_drops: Make empty drop return empty table (#7592)
This stops get_node_drops from returning an empty string when using drop = "" and instead returns the supposed empty table instead {}
2022-05-21 16:16:17 +02:00
paramat 2d06c7f22c
Content tab: Fix clipped text in texture pack button (#7667)
Wider buttons to not clip 'Disable Texture Pack' text when using a
small game window (1024x600, the default).
2022-05-21 16:16:17 +02:00
HybridDog a269d45a3b
World config: Add modpack descriptions and remove dependencies there (#7397)
* Allow adding descriptions to modpacks using description.txt
* Use a proper multiline formspec element: textarea
2022-05-21 16:16:16 +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
zeuner a4b8ce3f7a
Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)
adds `entity_independent_selectionbox` to minetest.features
2022-05-21 16:16:15 +02:00
Ben Deutsch c5318d9e1a
Replace auth.txt with SQLite auth database (#7279)
* Replace auth.txt with SQLite auth database
2022-05-21 16:16:15 +02:00
texmex a96e24cb15
Make the primary, flow-advancing action the right-most (#7594) 2022-05-21 16:16:14 +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
SmallJoker c08b05bb36
Builtin: Replace deprecated function calls (#7561) 2022-05-21 16:16:09 +02:00
ANAND 7e76781495
Check if player exists on use of /privs (#7554)
* /privs: Check if player exists
2022-05-21 16:16:09 +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 1c0eb83cc3
core.spawn_falling_node: Keep metadata (#7476) 2022-05-21 16:16:08 +02:00
ANAND a66fee83c3
Builtin/../misc.lua: Replace minetest. with core., improve codestyle (#7540) 2022-05-21 16:16:07 +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
ANAND 8409b62388
Log usage of /pulverize (#7503) 2022-05-21 16:16:06 +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
rubenwardy 76fc93c91d
Update to new ContentDB API 2022-05-21 16:16:05 +02:00