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'.
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).
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.
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
Paramat [Sun, 19 Aug 2018 18:04:17 +0000 (19:04 +0100)]
Lua_api.txt: Update mapgen alias docs, add Singlenode use (#7659)
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.
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
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
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.
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
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
SmallJoker [Wed, 15 Aug 2018 19:35:38 +0000 (21:35 +0200)]
lua_api.txt: Refine 'Item types' for
4e2eeee (#7648)
rubenwardy [Wed, 15 Aug 2018 19:06:09 +0000 (20:06 +0100)]
Formspecs: Fix missing trim() when checking for no_prepend[]
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.
pauloue [Wed, 15 Aug 2018 09:36:40 +0000 (05:36 -0400)]
Save debug.txt to build dir for RUN_IN_PLACE build (#7615)
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.
ClobberXD [Sun, 12 Aug 2018 21:36:16 +0000 (03:06 +0530)]
Lua_api.txt: Move item def section nearby node def (#7636)
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
lhofhansl [Wed, 8 Aug 2018 13:53:06 +0000 (17:53 +0400)]
Some minor Fastface optimizations. (#7628)
rubenwardy [Sun, 5 Aug 2018 22:14:24 +0000 (23:14 +0100)]
Fix debug and info text being the wrong color
Fixes #7623
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.
rubenwardy [Wed, 20 Jun 2018 20:55:39 +0000 (21:55 +0100)]
Formspecs: Add tooltip element for area
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
rubenwardy [Sat, 4 Aug 2018 17:40:34 +0000 (18:40 +0100)]
Fix tooltip colors specified by formspec part
stujones11 [Sat, 4 Aug 2018 17:46:39 +0000 (18:46 +0100)]
Fix sky objects not rendering with ogles (#7598)
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
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.
SmallJoker [Thu, 2 Aug 2018 22:25:37 +0000 (00:25 +0200)]
Smoothed yaw rotation for objects (#6825)
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.
texmex [Tue, 31 Jul 2018 20:00:42 +0000 (22:00 +0200)]
Make the primary, flow-advancing action the right-most (#7594)
ClobberXD [Tue, 31 Jul 2018 12:00:02 +0000 (17:30 +0530)]
Lua_api.txt: Improve Player HUD flags documentation (#7588)
Paramat [Sun, 29 Jul 2018 21:07:55 +0000 (22:07 +0100)]
Lua_api.txt: Clarify entity 'initial_properties' and related deprecation (#7596)
pauloue [Sun, 29 Jul 2018 08:21:09 +0000 (04:21 -0400)]
Document default values for general cmake options (#7595)
And fix a typo
rubenwardy [Sat, 28 Jul 2018 23:26:03 +0000 (00:26 +0100)]
Add protocol_version and supported package types to ContentDB urls
Rob Blanckaert [Sat, 28 Jul 2018 10:58:16 +0000 (03:58 -0700)]
Allow enter to select items from combobox's list (#7351)
ClobberXD [Sat, 28 Jul 2018 10:58:02 +0000 (16:28 +0530)]
Log server shutdown using actionstream (#7589)
zeuner [Thu, 26 Jul 2018 19:49:38 +0000 (21:49 +0200)]
Fix build on gcc 5.0 (#7586)
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.
niansa [Wed, 25 Jul 2018 17:07:22 +0000 (19:07 +0200)]
Replace apt-get with apt (#7583)
SmallJoker [Wed, 25 Jul 2018 16:07:11 +0000 (18:07 +0200)]
Settings: Fix indents, chat_message_*. Update translations (#7580)
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
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
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
lhofhansl [Sun, 22 Jul 2018 09:16:32 +0000 (11:16 +0200)]
Update Android defaults for modern H/W. (#7572)
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.
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
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)
Paramat [Thu, 19 Jul 2018 02:58:48 +0000 (03:58 +0100)]
CSM: Disallow exploitable clientside mod functions by default (#7547)
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.
SmallJoker [Tue, 17 Jul 2018 18:17:54 +0000 (20:17 +0200)]
Builtin: Replace deprecated function calls (#7561)
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
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.
Lars Hofhansl [Sat, 14 Jul 2018 18:38:52 +0000 (11:38 -0700)]
Remove legacy client handling code.
Paramat [Sat, 14 Jul 2018 17:41:26 +0000 (18:41 +0100)]
Make player liquid speed independent of FPS (#7543)
Make player liquid speed independent of FPS.
Fix codestyle issues in code block.
Lars Hofhansl [Fri, 13 Jul 2018 22:10:35 +0000 (15:10 -0700)]
Document config updates in minetest.conf.example.
lhofhansl [Fri, 13 Jul 2018 20:11:49 +0000 (22:11 +0200)]
Adjust some settings to modern environments and networks. (#7549)
Lars Hofhansl [Fri, 13 Jul 2018 12:02:08 +0000 (05:02 -0700)]
Fix bug setting channel window size.
Lars Hofhansl [Fri, 13 Jul 2018 09:50:01 +0000 (02:50 -0700)]
Ensure that legacy mode is correctly disabled.
Lars Hofhansl [Thu, 12 Jul 2018 07:53:50 +0000 (00:53 -0700)]
Reduce block load glitches
See #7542
This reduces glitches in deep water and underground caves.
Muhammad Rifqi Priyo Susanto [Tue, 10 Jul 2018 22:33:40 +0000 (05:33 +0700)]
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.
SmallJoker [Tue, 10 Jul 2018 16:27:03 +0000 (18:27 +0200)]
Formspecs: Remove accidental empty 'quit' field
SmallJoker [Mon, 9 Jul 2018 21:33:21 +0000 (23:33 +0200)]
core.spawn_falling_node: Keep metadata (#7476)
ClobberXD [Mon, 9 Jul 2018 18:11:35 +0000 (23:41 +0530)]
Builtin/../misc.lua: Replace minetest. with core., improve codestyle (#7540)
Loïc Blot [Sun, 8 Jul 2018 21:06:33 +0000 (23:06 +0200)]
Lua templating reading (part 4): s16, v2s16, v2f (#7512)
lhofhansl [Sun, 8 Jul 2018 20:30:55 +0000 (13:30 -0700)]
Revert 6587 - Optimize entity-entity collision (#7539)
pauloue [Sun, 8 Jul 2018 03:18:53 +0000 (23:18 -0400)]
Lua_api.txt: Formatting and grammar fixes (#7534)
Use tree output for directory structure.
Remove 2 blank lines near document top.
Spelling and grammar fixes.
Markdown fixes.
Condense paths section.
Fix skipped heading levels.
Paramat [Fri, 6 Jul 2018 20:02:54 +0000 (21:02 +0100)]
Lua_api.txt: Improve section titles, clarify sections (#7533)
HybridDog [Wed, 27 Jun 2018 16:09:45 +0000 (18:09 +0200)]
Fix memory leak in guiConfirmRegistration
rubenwardy [Thu, 5 Jul 2018 21:04:39 +0000 (22:04 +0100)]
Run code style linter first (#7213)
The code style linter is the most likely to fail, so should be
placed at the top of the list so it's started first. Note that
a failed job doesn't stop others from running
lhofhansl [Mon, 2 Jul 2018 23:16:17 +0000 (16:16 -0700)]
Zoom: Correctly verify client passed zoom at the server (#7526)
Fixes generation of distant world when not zooming in creative mode
(in creative mode zoom FOV is 15 degrees).
Loic Blot [Sun, 1 Jul 2018 11:47:50 +0000 (13:47 +0200)]
Drop ClientEvent CEE_PLAYER_BREATH: triggering function is not called.
Also drop 3 useless IntervalLimiter
SmallJoker [Sun, 1 Jul 2018 10:31:49 +0000 (12:31 +0200)]
Log deprecated Lua function calls (#7491)
SmallJoker [Sun, 1 Jul 2018 10:31:28 +0000 (12:31 +0200)]
Make the server status message customizable (#7357)
Remove now redundant setting show_statusline_on_connect
Improve documentation of `minetest.get_server_status`
Loïc Blot [Sun, 1 Jul 2018 10:23:38 +0000 (12:23 +0200)]
Backport Android cleanup parts from #7123 (#7513)
Also resync properly the dependencies versions.
Don't let the makefile handle the cleanups itself. Let gradle do it.
This is one of the first steps to remove the makefile and replace it with a full gradle support
Muhammad Rifqi Priyo Susanto [Sat, 30 Jun 2018 21:33:14 +0000 (04:33 +0700)]
Android: Resize jump and sneak buttons' touch target (#7498)
Loïc Blot [Sat, 30 Jun 2018 15:11:38 +0000 (17:11 +0200)]
Modernize lua read (part 2 & 3): C++ templating assurance (#7410)
* Modernize lua read (part 2 & 3): C++ templating assurance
Implement the boolean reader
Implement the string reader
Also remove unused & unimplemented script_error_handler
Add a reader with default value
red-001 [Sat, 30 Jun 2018 15:11:04 +0000 (16:11 +0100)]
Fix memory leaks in mod storage (#7500)
Vitaliy [Sat, 30 Jun 2018 13:13:53 +0000 (16:13 +0300)]
Fix world deletion (#7494)
* Fix world deletion
Anand S [Sat, 30 Jun 2018 10:53:43 +0000 (16:23 +0530)]
Log usage of /pulverize (#7503)
RustyRaptor [Sat, 30 Jun 2018 10:01:56 +0000 (04:01 -0600)]
Removed '$' symbols from the start of shell commands. (#7506)
Loic Blot [Sat, 30 Jun 2018 08:32:02 +0000 (10:32 +0200)]
Fix a memleak before assertion in l_get_mod_storage
Loic Blot [Thu, 28 Jun 2018 16:11:21 +0000 (18:11 +0200)]
Bump android version to 20
Loic Blot [Thu, 28 Jun 2018 15:46:01 +0000 (17:46 +0200)]
Update cURL (7.60.0) & SQLite3 (3.24.0)
Paramat [Thu, 28 Jun 2018 01:09:31 +0000 (02:09 +0100)]
Mgvalleys: Fix 'mgvalleys_spflags' setting name (#7495)
red-001 [Wed, 27 Jun 2018 15:45:40 +0000 (16:45 +0100)]
Fix mod channels crash (#7481)
red-001 [Wed, 27 Jun 2018 15:06:37 +0000 (16:06 +0100)]
Fix small memory leaks in client. (#7492)
Paramat [Tue, 26 Jun 2018 18:35:23 +0000 (19:35 +0100)]
Cavegen: Fix errors when getting biome outside mapchunk (#7480)
Some cave segments are outside the mapchunk.
Previously, biome was being calculated by a function that uses the noise
maps. Points outside the mapchunk resulted in incorrect noise map indexes
that were sometimes outside the noise map size, causing a crash.
Use either noise maps or point noise calculations depending on point
location.
SmallJoker [Wed, 20 Jun 2018 20:36:28 +0000 (22:36 +0200)]
Update settings translations
SmallJoker [Wed, 20 Jun 2018 20:36:08 +0000 (22:36 +0200)]
Rename CSM flavours to restrictions
& Satisfy LINT
red-001 [Tue, 26 Jun 2018 08:02:26 +0000 (09:02 +0100)]
Fix buffer overrun in SRP (#7484)
The old code got a pointer to the array instead of the first element, this resulted in a buffer overflow when the function was used more than once.
Leonid Bobrov [Tue, 26 Jun 2018 08:00:33 +0000 (11:00 +0300)]
Fix libgmp detection (#7488)
Paramat [Tue, 26 Jun 2018 01:34:27 +0000 (02:34 +0100)]
Lua_api.txt: Re-order some sections. Alphabeticise class reference (#7487)
sfan5 [Mon, 25 Jun 2018 23:12:09 +0000 (01:12 +0200)]
Fix MurmurHash implementation to really be unaligned (#7482)
Anand S [Sun, 24 Jun 2018 20:18:25 +0000 (01:48 +0530)]
Lua_api.txt: Replace `engine.*` with `core.*` (#7474)
Paramat [Sun, 24 Jun 2018 16:14:18 +0000 (17:14 +0100)]
Decoration API: Add lightweight ability to have complete coverage (#7456)
When the noise value or fill_ratio >= 10.0 complete coverage is enabled.
This disables random placement to avoid redundant multiple placements
at one position. Instead, 1 decoration per surface node is placed by
looping across each division.
'10' was chosen as this is the fill_ratio that previously created
very near complete coverage. The complete coverage feature therefore
integrates smoothly when noise is used for variable decoration density.
'fill_ratio = 10' should be used by modders who want a decoration
placed on every surface node. Compared to before such a decoration
placement will be 10 times faster.
SmallJoker [Sun, 24 Jun 2018 12:35:29 +0000 (14:35 +0200)]
Fix rtt >= 0.0f assertion and free_move crash
stujones11 [Sat, 23 Jun 2018 20:38:19 +0000 (21:38 +0100)]
Android: Use correct temporary path (#7463)
you [Sat, 23 Jun 2018 07:16:01 +0000 (09:16 +0200)]
RTT fixes (#7428)
* Few code updates
* Do not show average RTT before timing out
* Fix unwanted integer division in RTTStatistics
* Fix float format, prettier jitter calculation
* Use +=, 0.1f -> 100.0f for stronger average updates
red-001 [Fri, 22 Jun 2018 19:04:41 +0000 (20:04 +0100)]
Fix crash caused by Lua error during startup (#7473)
sfan5 [Fri, 22 Jun 2018 18:54:23 +0000 (20:54 +0200)]
Fix ipv6_server=true not accepting IPv4 connections on Windows (#7471)