oweals/minetest.git
6 years agoContent store: Add show_nonfree_packages setting to advanced settings (#7846)
Paramat [Thu, 8 Nov 2018 23:33:59 +0000 (23:33 +0000)]
Content store: Add show_nonfree_packages setting to advanced settings (#7846)

6 years agoContent store: Add setting to filter non-free packages (#7766)
rubenwardy [Thu, 8 Nov 2018 21:59:56 +0000 (21:59 +0000)]
Content store: Add setting to filter non-free packages (#7766)

Defaulting to hiding in order to help with Debian/etc distribution.
This could be changed at a later date.

6 years agoImprove content store layout (#7806)
random-geek [Thu, 8 Nov 2018 21:55:38 +0000 (13:55 -0800)]
Improve content store layout (#7806)

6 years agoNew sneak: Smoothen the climb up event (#7727)
SmallJoker [Thu, 8 Nov 2018 21:12:39 +0000 (22:12 +0100)]
New sneak: Smoothen the climb up event (#7727)

6 years agoFormspecs: Fix text clipped by scrollbars (#7816)
random-geek [Tue, 6 Nov 2018 22:28:34 +0000 (14:28 -0800)]
Formspecs: Fix text clipped by scrollbars (#7816)

6 years agoFix string.split returning an empty table if string starts with sepearator (#7827)
Pierre-Yves Rollo [Thu, 1 Nov 2018 20:07:01 +0000 (21:07 +0100)]
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.

6 years agoFramed glasslike: Fix z-fighting, improve codestyle (#7826)
Paramat [Wed, 31 Oct 2018 10:04:33 +0000 (10:04 +0000)]
Framed glasslike: Fix z-fighting, improve codestyle (#7826)

Increase inset distance of glass faces that is meant to avoid
z-fighting.
Note: Enabling basic shaders made the z-fighting more likely to
happen.

6 years agoFramed glasslike: Fix and document top/base textures feature (#7824)
Paramat [Tue, 30 Oct 2018 06:41:15 +0000 (06:41 +0000)]
Framed glasslike: Fix and document top/base textures feature (#7824)

6 years agoRemove un-needed header inclusion
stujones11 [Tue, 7 Aug 2018 19:58:26 +0000 (20:58 +0100)]
Remove un-needed header inclusion

6 years agoMove touchscreen input handling to base GUIModalMenu class
stujones11 [Sun, 24 Jun 2018 19:50:57 +0000 (20:50 +0100)]
Move touchscreen input handling to base GUIModalMenu class

6 years agoAdvanced settings: Fix noise parameter flags (#7819)
Paramat [Sun, 28 Oct 2018 20:53:08 +0000 (20:53 +0000)]
Advanced settings: Fix noise parameter flags (#7819)

Populate the 'checkboxes' table with bools when creating the editing formspec.

6 years agoWindows: Cpack wix installer (#6153)
adrido [Fri, 26 Oct 2018 19:37:51 +0000 (21:37 +0200)]
Windows: Cpack wix installer (#6153)

Create CPack WIX msi Installer for RUN_IN_PLACE=0 builds
Correct paths on Windows for RUN_IN_PLACE=0
Install only required font files
Games have their own components, and "minimal" is optional

6 years agoEase selection of entities behind nodes (#7739)
SmallJoker [Fri, 26 Oct 2018 17:23:33 +0000 (19:23 +0200)]
Ease selection of entities behind nodes (#7739)

6 years agoclear_craft: Return false if recipe not found, don't throw error (#7804)
Paramat [Wed, 24 Oct 2018 14:03:21 +0000 (15:03 +0100)]
clear_craft: Return false if recipe not found, don't throw error (#7804)

6 years agoMainmenu: Clean up and improve advanced settings dialogues (#7802)
SmallJoker [Sat, 20 Oct 2018 17:14:34 +0000 (19:14 +0200)]
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

6 years agoSettingtypes.txt: Various language improvements, document stable mapgens (#7801)
Paramat [Sat, 20 Oct 2018 08:35:39 +0000 (09:35 +0100)]
Settingtypes.txt: Various language improvements, document stable mapgens (#7801)

6 years agoAndroid buttons: Inset 'rare controls', inset and resize 'gear icon' (#7792)
Paramat [Fri, 19 Oct 2018 03:52:47 +0000 (04:52 +0100)]
Android buttons: Inset 'rare controls', inset and resize 'gear icon' (#7792)

Previously these were both inconsistently close to the screen edge.
'gear icon' has been enlarged to match the width of 'zoom' and 'aux'
buttons.

6 years agoAdvanced settings tree menu: Resize, fix clipped values (#7790)
Paramat [Thu, 18 Oct 2018 04:42:15 +0000 (05:42 +0100)]
Advanced settings tree menu: Resize, fix clipped values (#7790)

6 years agoAdd release information to appdata file (#7771)
Carles Pastor Badosa [Tue, 16 Oct 2018 19:04:06 +0000 (21:04 +0200)]
Add release information to appdata file (#7771)

6 years agoAdd disable_repair group to prevent tool repair (#7381)
Wuzzy [Tue, 16 Oct 2018 04:25:34 +0000 (06:25 +0200)]
Add disable_repair group to prevent tool repair (#7381)

6 years agoAdvanced settings menu: Centre setting edit box (#7778)
Paramat [Thu, 11 Oct 2018 04:09:03 +0000 (05:09 +0100)]
Advanced settings menu: Centre setting edit box (#7778)

6 years agoSettingtypes.txt: Limit comments to 90 columns to fix clipped lines (#7777)
Paramat [Thu, 11 Oct 2018 02:23:08 +0000 (03:23 +0100)]
Settingtypes.txt: Limit comments to 90 columns to fix clipped lines (#7777)

6 years agoAdd a warning to the 'chunksize' setting (#7775)
Paramat [Wed, 10 Oct 2018 20:23:37 +0000 (21:23 +0100)]
Add a warning to the 'chunksize' setting (#7775)

Several users have been causing problems by increasing this value.

6 years ago Add core.remove_detached_inventory (#7684)
SmallJoker [Wed, 10 Oct 2018 18:48:58 +0000 (20:48 +0200)]
 Add core.remove_detached_inventory (#7684)

Breaks backwards compatibility for good
Bump protocol version

6 years agoVarious grammar improvements (#7769)
Paramat [Sat, 6 Oct 2018 02:43:26 +0000 (03:43 +0100)]
Various grammar improvements (#7769)

In builtin//pkgmgr.lua, README.md and settingtypes.txt.
Based on 2 pull requests by comradekingu.

6 years agoF5 debug info: Use full words for NSEW directions for readability (#7461)
Paramat [Fri, 5 Oct 2018 23:53:50 +0000 (00:53 +0100)]
F5 debug info: Use full words for NSEW directions for readability (#7461)

6 years agoPlayer hand list: require init by mods
SmallJoker [Wed, 9 May 2018 20:24:36 +0000 (22:24 +0200)]
Player hand list: require init by mods

Mods will now have to initialize the list/slot in order to define the default player hand.
They may use the inventory callbacks to prevent abuse of this list.

6 years agoDig particles: Various improvements (#7714)
Paramat [Thu, 4 Oct 2018 03:13:41 +0000 (04:13 +0100)]
Dig particles: Various improvements (#7714)

Improve codestyle.
Add clarifying comments.
Use 'movement_gravity' setting and physics override instead of hardcoded value.
Halve number of particles in final 'node dug' burst.
Avoid extremely small, near-invisible particles.
Increase velocity to increase number emerging from within a cubic node.

6 years agoFix Mapgen Valleys getSpawnLevelAtPoint() (#7756)
Treer [Tue, 2 Oct 2018 23:50:21 +0000 (09:50 +1000)]
Fix Mapgen Valleys getSpawnLevelAtPoint() (#7756)

6 years agoNight clouds: Boost brightness for a moonlit appearence (#7748)
Paramat [Mon, 1 Oct 2018 18:43:32 +0000 (19:43 +0100)]
Night clouds: Boost brightness for a moonlit appearence (#7748)

Previously, night clouds were almost indistinguishable from night sky,
especially since a recent commit that made night sky brighter.
They were lacking the beautiful luminosity caused by being lit by the
permanently-full moon.

When 'directional_colored_fog = false' allow the dawn/dusk cloud
brightness boost to apply through the night too.
Set an identical minimum cloud brightness for when
'directional_colored_fog = true'.

6 years agoRemove settings properly (#7676)
SmallJoker [Sun, 30 Sep 2018 17:57:31 +0000 (19:57 +0200)]
Remove settings properly (#7676)

6 years agoSoftware inventorycube (#7651)
Vitaliy [Sat, 29 Sep 2018 18:40:17 +0000 (21:40 +0300)]
Software inventorycube (#7651)

Fixes missing/upside-down images on Android.

6 years agoAdd test_config.h to gitignore (#7708)
ClobberXD [Sat, 29 Sep 2018 14:25:10 +0000 (19:55 +0530)]
Add test_config.h to gitignore (#7708)

6 years agoFix temporary path crash in TestAuthDatabase (#7753)
SmallJoker [Fri, 28 Sep 2018 18:12:11 +0000 (20:12 +0200)]
Fix temporary path crash in TestAuthDatabase (#7753)

The constructor of TestAuthDatabase was called immediately, at a time when the settings weren't initialized properly yet.

6 years agoFix stretched stars bug, change render order
Aspen [Wed, 26 Sep 2018 03:36:40 +0000 (20:36 -0700)]
Fix stretched stars bug, change render order

6 years agoBuiltin//misc_helpers: Various fixes (#7737)
Paramat [Sun, 23 Sep 2018 20:06:51 +0000 (21:06 +0100)]
Builtin//misc_helpers: Various fixes (#7737)

Remove unused variable 'seplen'.
Fix 'cparam2'->'param2'.
Do not initialise variable 'p' twice.

6 years agoFix various code issues found by cppcheck (#7741)
Paramat [Sun, 23 Sep 2018 19:12:39 +0000 (20:12 +0100)]
Fix various code issues found by cppcheck (#7741)

Mapgen Singlenode: Remove 'flags' that duplicates a 'class Mapgen' member.
Dungeongen: Initialise 'MMVManip *vm' to 'nullptr'.
Inventorymanager: Remove assignment error 'found = '.

6 years agoFix "Hunk #1 FAILED at 9 (different line endings)."
Lourens-Rich [Tue, 11 Sep 2018 16:09:02 +0000 (19:09 +0300)]
Fix "Hunk #1 FAILED at 9 (different line endings)."

6 years agoMake OpenGL preference configurable, default to LEGACY (#7666)
SmallJoker [Sat, 22 Sep 2018 18:54:43 +0000 (20:54 +0200)]
Make OpenGL preference configurable, default to LEGACY (#7666)

This partially reverts 1ec5028
Add option OPENGL_GL_PREFERENCE

6 years agoLight curve: Simplify and improve code, fix darkened daytime sky (#7693)
Vitaliy [Sun, 16 Sep 2018 16:59:42 +0000 (19:59 +0300)]
Light curve: Simplify and improve code, fix darkened daytime sky (#7693)

6 years agoInv deSerialize(): Prevent infinite loop, error on failure (#7711)
SmallJoker [Fri, 14 Sep 2018 18:29:21 +0000 (20:29 +0200)]
Inv deSerialize(): Prevent infinite loop, error on failure (#7711)

Throws an error about potentially damaged player inventories but proceeds converting the rest of them

6 years agomarkAliasDeprecated: Fix MSVC build
SmallJoker [Tue, 11 Sep 2018 17:32:10 +0000 (19:32 +0200)]
markAliasDeprecated: Fix MSVC build

6 years agoParticles: Make collision with objects optional (#7682)
Paramat [Fri, 7 Sep 2018 23:38:35 +0000 (00:38 +0100)]
Particles: Make collision with objects optional (#7682)

Also set it to false for node dig particles, as they are often created
and high in number.

Improve particle documentation.

6 years agoMenu content tab: Fix clipped description and missing depends (#7703)
SmallJoker [Fri, 7 Sep 2018 01:46:58 +0000 (03:46 +0200)]
Menu content tab: Fix clipped description and missing depends (#7703)

6 years agoget_node_drops: Make empty drop return empty table (#7592)
tenplus1 [Thu, 30 Aug 2018 18:32:33 +0000 (19:32 +0100)]
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 {}

6 years agoShaders: Fix comment line (#7668)
xzcx [Thu, 30 Aug 2018 18:32:17 +0000 (19:32 +0100)]
Shaders: Fix comment line (#7668)

Fixed comment as finalColorBlend() does not exist in the code base.

6 years agoDamage flash/hurt tilt: Make shorter to reduce player blindness (#7399)
Paramat [Wed, 29 Aug 2018 21:00:49 +0000 (22:00 +0100)]
Damage flash/hurt tilt: Make shorter to reduce player blindness (#7399)

Damage flash is shortened from 0.98-1.27s to 0.25s-0.33s to reduce
player in-game blindness, especially useful for combat situations.
It is also visually more comfortable.
Camera hurt tilt is made slightly shorter to match in duration.

Both flash and camera tilt are now of similar length to a typical
damage sound, such as the one used by Minetest Game which is 0.27s.
The 3 effects become more synchronised and unified.

6 years agoPlay damage sound on player death (#7679)
Paramat [Tue, 28 Aug 2018 22:23:04 +0000 (23:23 +0100)]
Play damage sound on player death (#7679)

Also run CSM 'on_damage_taken' callback.
Improve function logic and remove 'return'.

6 years agoContent tab: Fix clipped text in texture pack button (#7667)
Paramat [Wed, 22 Aug 2018 20:36:56 +0000 (21:36 +0100)]
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).

6 years agoChange mapgen order to ores > dungeons > decorations (#7656)
Paramat [Mon, 20 Aug 2018 17:24:53 +0000 (18:24 +0100)]
Change mapgen order to ores > dungeons > decorations (#7656)

Previously dungeons > decorations > ores.
Decorations depend on the node they are placed on, and ore types are
increasingly able to place large continuous volumes of nodes, such as
strata. Decorations are increasingly being used underground.

The new order avoids a node being changed by ore generation after a
decoration has been placed on it.
The new order also avoids ores appearing in the walls of a dungeon if
the wall nodes match the local stone node.

6 years agoFormspecs: Fix invalid background warning
rubenwardy [Mon, 20 Aug 2018 12:56:16 +0000 (13:56 +0100)]
Formspecs: Fix invalid background warning

Clipped backgrounds are still valid with no size[] tag, as they will apply themselves correctly to any size

Fixes #7197

6 years agoLua_api.txt: Update mapgen alias docs, add Singlenode use (#7659)
Paramat [Sun, 19 Aug 2018 18:04:17 +0000 (19:04 +0100)]
Lua_api.txt: Update mapgen alias docs, add Singlenode use (#7659)

6 years agoSet OpenGL preference to GLVND
ShadowNinja [Sat, 18 Aug 2018 15:37:30 +0000 (11:37 -0400)]
Set OpenGL preference to GLVND

This silences a CMake warning introduced in CMAKE 3.11.

6 years agoReally delete things in fs::RecursiveDelete (#7433)
Vitaliy [Sat, 18 Aug 2018 09:00:06 +0000 (12:00 +0300)]
Really delete things in fs::RecursiveDelete (#7433)

* Really delete things in fs::RecursiveDelete

6 years agoWorld config: Add modpack descriptions and remove dependencies there (#7397)
HybridDog [Fri, 17 Aug 2018 18:34:08 +0000 (20:34 +0200)]
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

6 years agoMgv5: Change tunnel parameters to those of other mapgens (#7641)
Paramat [Thu, 16 Aug 2018 18:10:56 +0000 (19:10 +0100)]
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.

6 years agoCheck node updates whether the blocks are known (#7568)
SmallJoker [Thu, 16 Aug 2018 18:10:34 +0000 (20:10 +0200)]
Check node updates whether the blocks are known (#7568)

* Remove unused ignore_id

6 years agoRaycast: export exact pointing location (#6304)
Dániel Juhász [Thu, 16 Aug 2018 18:10:08 +0000 (20:10 +0200)]
Raycast: export exact pointing location (#6304)

* Return intersection point in node coordinates.
* Clarify 'intersection_point' documentation

6 years agolua_api.txt: Refine 'Item types' for 4e2eeee (#7648)
SmallJoker [Wed, 15 Aug 2018 19:35:38 +0000 (21:35 +0200)]
lua_api.txt: Refine 'Item types' for 4e2eeee (#7648)

6 years agoFormspecs: Fix missing trim() when checking for no_prepend[]
rubenwardy [Wed, 15 Aug 2018 19:06:09 +0000 (20:06 +0100)]
Formspecs: Fix missing trim() when checking for no_prepend[]

6 years agolua_api.txt: Various fixes and improvements (#7638)
pauloue [Wed, 15 Aug 2018 15:05:11 +0000 (11:05 -0400)]
lua_api.txt: Various fixes and improvements (#7638)

Improve item types descriptions.
Add replacements field to fuel definition.
Shorten two headers.
Markdown fixes.
Remove extra example.

Add blank lines after headings.

Linkify section references.
Bracketed section names can be linked when compiled to HTML.

6 years agoSave debug.txt to build dir for RUN_IN_PLACE build (#7615)
pauloue [Wed, 15 Aug 2018 09:36:40 +0000 (05:36 -0400)]
Save debug.txt to build dir for RUN_IN_PLACE build (#7615)

6 years agotexture_packs.txt: Add information for leaves texturing (#7637)
Paramat [Mon, 13 Aug 2018 23:30:13 +0000 (00:30 +0100)]
texture_packs.txt: Add information for leaves texturing (#7637)

Explain texture requirements due to the leaves rendering options.

6 years agoLua_api.txt: Move item def section nearby node def (#7636)
ClobberXD [Sun, 12 Aug 2018 21:36:16 +0000 (03:06 +0530)]
Lua_api.txt: Move item def section nearby node def (#7636)

6 years agoFeature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)
zeuner [Sun, 12 Aug 2018 11:37:17 +0000 (13:37 +0200)]
Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)

adds `entity_independent_selectionbox` to minetest.features

6 years agoSome minor Fastface optimizations. (#7628)
lhofhansl [Wed, 8 Aug 2018 13:53:06 +0000 (17:53 +0400)]
Some minor Fastface optimizations. (#7628)

6 years agoFix debug and info text being the wrong color
rubenwardy [Sun, 5 Aug 2018 22:14:24 +0000 (23:14 +0100)]
Fix debug and info text being the wrong color

Fixes #7623

6 years agoPrevent objects from colliding with own child attachments (#7610)
SmallJoker [Sun, 5 Aug 2018 20:28:41 +0000 (22:28 +0200)]
Prevent objects from colliding with own child attachments (#7610)

Also, use a better distance calculation for 'collide with objects'.
Fixes the issue of a vehicle occasionally colliding with its own driver,
causing one of the velocity components to be set to zero.

6 years agoFormspecs: Add tooltip element for area 7469/head
rubenwardy [Wed, 20 Jun 2018 20:55:39 +0000 (21:55 +0100)]
Formspecs: Add tooltip element for area

6 years agoReplace auth.txt with SQLite auth database (#7279)
Ben Deutsch [Sun, 5 Aug 2018 11:13:38 +0000 (13:13 +0200)]
Replace auth.txt with SQLite auth database (#7279)

* Replace auth.txt with SQLite auth database

6 years agoFix tooltip colors specified by formspec part
rubenwardy [Sat, 4 Aug 2018 17:40:34 +0000 (18:40 +0100)]
Fix tooltip colors specified by formspec part

6 years agoFix sky objects not rendering with ogles (#7598)
stujones11 [Sat, 4 Aug 2018 17:46:39 +0000 (18:46 +0100)]
Fix sky objects not rendering with ogles (#7598)

6 years agoguiFormspecMenu: Allow fraction values for container[] (#7497)
SmallJoker [Sat, 4 Aug 2018 16:55:54 +0000 (18:55 +0200)]
guiFormspecMenu: Allow fraction values for container[] (#7497)

Switch spacing and pos_offset to v2f32 for percision, add helper function

6 years agolua_api.txt: Improve code block format (#7599)
pauloue [Fri, 3 Aug 2018 20:36:24 +0000 (16:36 -0400)]
lua_api.txt: Improve code block format (#7599)

Remove ^ and --[[ ]] symbols.
Fix comment indentation level.
Separate fields with blank lines.
Remove period from single-sentence descriptions, add periods to
multi-sentence descriptions.
Separate inline comments from the code with two spaces.

6 years agoSmoothed yaw rotation for objects (#6825)
SmallJoker [Thu, 2 Aug 2018 22:25:37 +0000 (00:25 +0200)]
Smoothed yaw rotation for objects (#6825)

6 years agoLuaVoxelManip: Throw warning or error instead of silently doing nothing (#7567)
HybridDog [Thu, 2 Aug 2018 18:54:44 +0000 (20:54 +0200)]
LuaVoxelManip: Throw warning or error instead of silently doing nothing (#7567)

Error on missing parameter.
Warning when using a method on the incorrect type of LuaVoxelManip.

6 years agoMake the primary, flow-advancing action the right-most (#7594)
texmex [Tue, 31 Jul 2018 20:00:42 +0000 (22:00 +0200)]
Make the primary, flow-advancing action the right-most (#7594)

6 years agoLua_api.txt: Improve Player HUD flags documentation (#7588)
ClobberXD [Tue, 31 Jul 2018 12:00:02 +0000 (17:30 +0530)]
Lua_api.txt: Improve Player HUD flags documentation (#7588)

6 years agoLua_api.txt: Clarify entity 'initial_properties' and related deprecation (#7596)
Paramat [Sun, 29 Jul 2018 21:07:55 +0000 (22:07 +0100)]
Lua_api.txt: Clarify entity 'initial_properties' and related deprecation (#7596)

6 years agoDocument default values for general cmake options (#7595)
pauloue [Sun, 29 Jul 2018 08:21:09 +0000 (04:21 -0400)]
Document default values for general cmake options (#7595)

And fix a typo

6 years agoAdd protocol_version and supported package types to ContentDB urls
rubenwardy [Sat, 28 Jul 2018 23:26:03 +0000 (00:26 +0100)]
Add protocol_version and supported package types to ContentDB urls

6 years agoAllow enter to select items from combobox's list (#7351)
Rob Blanckaert [Sat, 28 Jul 2018 10:58:16 +0000 (03:58 -0700)]
Allow enter to select items from combobox's list (#7351)

6 years agoLog server shutdown using actionstream (#7589)
ClobberXD [Sat, 28 Jul 2018 10:58:02 +0000 (16:28 +0530)]
Log server shutdown using actionstream (#7589)

6 years agoFix build on gcc 5.0 (#7586)
zeuner [Thu, 26 Jul 2018 19:49:38 +0000 (21:49 +0200)]
Fix build on gcc 5.0 (#7586)

6 years agoLua_api.txt: Various improvements (#7582)
pauloue [Thu, 26 Jul 2018 02:56:11 +0000 (22:56 -0400)]
Lua_api.txt: Various improvements (#7582)

Fixes and format improvements.
Shorten definition tables headers and clarify when they are used.
Add subheadings for craft recipes.

6 years agoReplace apt-get with apt (#7583)
niansa [Wed, 25 Jul 2018 17:07:22 +0000 (19:07 +0200)]
Replace apt-get with apt (#7583)

6 years agoSettings: Fix indents, chat_message_*. Update translations (#7580)
SmallJoker [Wed, 25 Jul 2018 16:07:11 +0000 (18:07 +0200)]
Settings: Fix indents, chat_message_*. Update translations (#7580)

6 years agoAllow an optional readonly base database (#7544)
lhofhansl [Wed, 25 Jul 2018 15:54:23 +0000 (17:54 +0200)]
Allow an optional readonly base database (#7544)

* Allow an optional readonly base database

* Added basic documentation

6 years agoAdd a MSVC / Windows compatible snprintf function (#7353)
nOOb3167 [Sun, 22 Jul 2018 19:56:06 +0000 (21:56 +0200)]
Add a MSVC / Windows compatible snprintf function (#7353)

Use sizeof where applicable for mt_snprintf

6 years agoUpdate gradle android tool to 3.1.3
Loic Blot [Sat, 21 Jul 2018 07:25:49 +0000 (09:25 +0200)]
Update gradle android tool to 3.1.3
Thanks to Monte48 for the correct maven URL outside of android studio

6 years agoUpdate Android defaults for modern H/W. (#7572)
lhofhansl [Sun, 22 Jul 2018 09:16:32 +0000 (11:16 +0200)]
Update Android defaults for modern H/W. (#7572)

6 years agoOptimize ABM checks.
Lars Hofhansl [Sat, 21 Jul 2018 10:07:43 +0000 (03:07 -0700)]
Optimize ABM checks.

See #7555

Cache (up to 64) node types for each active block.
Check this cache first to see whether any ABM needs to be triggered for a block.

6 years agoDisable shaders GUI on unsupported drivers (#7563)
Vitaliy [Sat, 21 Jul 2018 07:26:40 +0000 (10:26 +0300)]
Disable shaders GUI on unsupported drivers (#7563)

* Disable shaders GUI on unsupported drivers (#2060)

* Disable shaders if unavailable

6 years agoUpdate mip mapping and textarea documentation (#7315)
HybridDog [Thu, 19 Jul 2018 16:28:26 +0000 (18:28 +0200)]
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)

6 years agoCSM: Disallow exploitable clientside mod functions by default (#7547)
Paramat [Thu, 19 Jul 2018 02:58:48 +0000 (03:58 +0100)]
CSM: Disallow exploitable clientside mod functions by default (#7547)

6 years agoMgvalleys: Make river depth variation and humidity drop optional (#7532)
Paramat [Wed, 18 Jul 2018 02:34:05 +0000 (03:34 +0100)]
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.

6 years agoBuiltin: Replace deprecated function calls (#7561)
SmallJoker [Tue, 17 Jul 2018 18:17:54 +0000 (20:17 +0200)]
Builtin: Replace deprecated function calls (#7561)

6 years agoCheck if player exists on use of /privs (#7554)
ClobberXD [Mon, 16 Jul 2018 12:55:04 +0000 (18:25 +0530)]
Check if player exists on use of /privs (#7554)

* /privs: Check if player exists

6 years agoLua_api.txt: Various minor improvements (#7560)
Paramat [Mon, 16 Jul 2018 03:57:44 +0000 (04:57 +0100)]
Lua_api.txt: Various minor improvements (#7560)

Add missing section title for 'Node paramtypes'.
Clarify documentation for schematic Y-slice table.
Document that schematic Y-slice behaviour does not invert for ceiling
schematic decorations.

6 years agoRemove legacy client handling code.
Lars Hofhansl [Sat, 14 Jul 2018 18:38:52 +0000 (11:38 -0700)]
Remove legacy client handling code.