nOOb3167 [Fri, 22 Dec 2017 10:35:06 +0000 (11:35 +0100)]
Fix error if setting menu_last_game is not a valid game
nOOb3167 [Fri, 22 Dec 2017 10:33:46 +0000 (11:33 +0100)]
Fix undefined behaviour on getting pointer to data in empty vector
`&vector[0]` is undefined if vector.empty(), causing build failure on MSVC
Vitaliy [Thu, 21 Dec 2017 19:58:06 +0000 (22:58 +0300)]
Fix wrong scrolling (#6809)
Paramat [Thu, 21 Dec 2017 19:57:42 +0000 (19:57 +0000)]
Vector functions: Fix vector.direction() function, improve documentation (#6801)
vector.direction() now returns a normalised vector with direction p1 to p2.
Jordan Irwin [Sun, 17 Dec 2017 15:27:37 +0000 (07:27 -0800)]
Allow 'default' parameter in 'settings:get_bool' function
Default value is used when the setting key is not found in the config
file. If default value is not set, 'nil' is returned.
#6188
Ezhh [Sun, 17 Dec 2017 04:38:54 +0000 (04:38 +0000)]
Adjust default console height
#6797
Ezhh [Sat, 16 Dec 2017 16:02:08 +0000 (16:02 +0000)]
Give subgames the ability to disallow specific mapgens (#6792)
Vitaliy [Sat, 16 Dec 2017 16:01:37 +0000 (19:01 +0300)]
Fix items turning black (#6780)
Tre [Sat, 16 Dec 2017 04:05:36 +0000 (22:05 -0600)]
Change Normal Map setting to be less ambigous
paramat [Tue, 12 Dec 2017 09:47:43 +0000 (09:47 +0000)]
Zoom: Add 'disabled by game or mod' message
paramat [Mon, 11 Dec 2017 11:45:02 +0000 (11:45 +0000)]
Minimap messages: Improve 'disabled by server' message
ashtrayoz [Thu, 9 Nov 2017 12:29:04 +0000 (23:29 +1100)]
Add callback to preserve node metadata as item metadata
SmallJoker [Thu, 14 Dec 2017 18:47:29 +0000 (19:47 +0100)]
Chat: Remove prompt history duplicates (#6762)
adrido [Thu, 14 Dec 2017 18:46:42 +0000 (19:46 +0100)]
directiontables: Fix MSVC compiler error (#6785)
Vitaliy [Tue, 12 Dec 2017 18:29:55 +0000 (21:29 +0300)]
Update light decoding table size (#6696)
Fix old undiminish_light bug
SmallJoker [Tue, 12 Dec 2017 18:19:04 +0000 (19:19 +0100)]
Builtin: Fix handle_node_drops crash with nil digger
Loïc Blot [Mon, 11 Dec 2017 16:33:44 +0000 (17:33 +0100)]
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
ashtrayoz [Sun, 10 Dec 2017 12:56:01 +0000 (23:56 +1100)]
Lua_api.txt: Fix a spelling error
ThomasMonroe314 [Tue, 28 Nov 2017 13:25:41 +0000 (07:25 -0600)]
F5 debug info: Add colons, use lowercase except for FPS and RTT
SmallJoker [Sun, 13 Aug 2017 07:49:29 +0000 (09:49 +0200)]
Damage: Remove damage ignore timer
adrido [Sun, 10 Dec 2017 08:07:24 +0000 (09:07 +0100)]
Use std::vector instead of dynamic C-Array (#6744)
Paramat [Sat, 9 Dec 2017 13:30:26 +0000 (13:30 +0000)]
Pointed thing to face pos: Use 'eye height' object property (#6754)
Lars Hofhansl [Wed, 6 Dec 2017 20:21:46 +0000 (12:21 -0800)]
Add an active object step time budget #6721
This can be set via the active_object_interval option.
you [Wed, 6 Dec 2017 17:50:39 +0000 (18:50 +0100)]
Add coloured logs (#4549)
The setting log_colour can be used to en-/disable or autodetect it.
sfan5 [Wed, 6 Dec 2017 16:32:49 +0000 (17:32 +0100)]
Auth handler: Player deletion & Iterator (#6741)
* Add player deletion method to auth handler (fixes #6653)
* Support iterating over the auth database
There was no way to do this previously and a recent commit
broke doing this the "hacky" way by accessing `core.auth_table`.
Luis Cáceres [Wed, 6 Dec 2017 16:32:05 +0000 (16:32 +0000)]
Ensure no item stack is being held before crafting (#4779)
Lars Hofhansl [Tue, 5 Dec 2017 06:25:09 +0000 (22:25 -0800)]
Use Irrlicht's mesh cache for animated meshes.
Fixes #6676.
Allow animated meshes to be cached in Irrlicht's builtin mesh cache.
Use Material.EmmissiveColor instead of manipulating the mesh' vertex colors.
paramat [Mon, 20 Nov 2017 01:45:57 +0000 (01:45 +0000)]
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.
stujones11 [Wed, 15 Nov 2017 19:52:19 +0000 (19:52 +0000)]
Android: Update build system for ndk-r15x
Add workarounds for ndk-r16.
Lars Hofhansl [Mon, 4 Dec 2017 01:56:39 +0000 (17:56 -0800)]
Document extended meaning of active_object_send_range_blocks setting.
Lars Hofhansl [Mon, 4 Dec 2017 01:51:58 +0000 (17:51 -0800)]
Optionally extend the active object in a players camera direction.
See #6667
By setting active_object_send_range_blocks > active_block_range a server admin
can allow clients to retrieve active objects futher out from the player at
relatively low cost to the server
(only objects in the players' view cone are considered).
raymoo [Sun, 3 Dec 2017 09:28:35 +0000 (01:28 -0800)]
Shut down mapgen threads before other shutdown tasks (#6689)
Solves some issues with ModStorage functionality in mapgen threads
that occurred when mapgen threads continued to run after the main
server thread had stopped. Also shuts down mapgen threads before
shutdown callbacks are called.
sfan5 [Mon, 27 Nov 2017 17:00:30 +0000 (18:00 +0100)]
Update documentation regarding authentication handler and related functions
Properly document it instead of referencing the builtin handler as
authoritative "example" code.
Also adds definition of get_auth_handler() which was missing previously.
sfan5 [Mon, 27 Nov 2017 16:37:41 +0000 (17:37 +0100)]
Make core.auth_table private and structure builtin/auth.lua
If you give modders the ability to do something, they will...
ezhh [Thu, 30 Nov 2017 00:52:40 +0000 (00:52 +0000)]
Lua_api.txt: Remove MT version, fix spelling and clean up
Removes references to MT version in intro section.
Update bump_version.sh to no longer manage version information.
SmallJoker [Sun, 26 Nov 2017 14:37:55 +0000 (15:37 +0100)]
CAO/SAO: Nicer velocity-controlled, interpolated rotation property:
'automatic_face_movement_max_rotation_per_sec'.
Rotate towards the smaller angle.
Lars Hofhansl [Thu, 30 Nov 2017 06:55:37 +0000 (22:55 -0800)]
Turn off verbose info message introduced accidentally with
ae9b1aa
Bluebird [Wed, 29 Nov 2017 02:24:40 +0000 (20:24 -0600)]
Fix spelling mistakes in client_lua_api.txt
paramat [Tue, 28 Nov 2017 23:22:49 +0000 (23:22 +0000)]
Client lua api documentation: .md -> .txt
For consistency, and for much improved access on Github.
On Github:
.md disables being able to link to a line, needed daily when
quickly referring people to particular lines.
Search returns results in .md files, but you cannot then click
the line number to go to that line in the document, making searching
difficult.
Line numbers are not displayed for .md documents.
ezhh [Tue, 28 Nov 2017 22:20:12 +0000 (22:20 +0000)]
Fix lua_api.txt indentation issues
Ezhh [Tue, 28 Nov 2017 00:38:35 +0000 (00:38 +0000)]
Fix documentation formatting for on_death callback
paramat [Sat, 25 Nov 2017 02:47:02 +0000 (02:47 +0000)]
F5 Debug info: More compact, return to 2 lines
All data fits on width 960, most useful data still visible on width 800.
sfan5 [Thu, 23 Nov 2017 22:35:52 +0000 (23:35 +0100)]
Hint at problematic code when logging deprecated calls
paramat [Sat, 18 Nov 2017 00:22:15 +0000 (00:22 +0000)]
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.
Ezhh [Sat, 25 Nov 2017 23:18:50 +0000 (23:18 +0000)]
Improve documentation for player:set_attribute()
gituser2194 [Fri, 24 Nov 2017 00:26:40 +0000 (19:26 -0500)]
Fix misspellings
"diffferent" to "different"
"occuring" to "occurring"
"determin" to "determine"
"ommited" to "omitted"
"authetification" to "authentication"
"conponent" to "component"
"ommitted" to "omitted"
"celcius" to "Celsius"
"succesful" to "successful"
Misspellings found using GNU Spell version 1.0
SmallJoker [Wed, 22 Nov 2017 18:25:26 +0000 (19:25 +0100)]
Inventory: Restrict access from too far away
paramat [Tue, 21 Nov 2017 02:55:33 +0000 (02:55 +0000)]
Clearobjects: Send progress messages to terminal using actionstream
Change default mode to 'quick' as 'full' can lock up a server for a
long time.
SmallJoker [Tue, 21 Nov 2017 19:21:52 +0000 (20:21 +0100)]
core.rotate_node: Run callbacks like with any regular placed node (#6648)
paramat [Sat, 18 Nov 2017 20:37:00 +0000 (20:37 +0000)]
Stratum ore: Add option for a constant thickness stratum
Add a 'stratum thickness' integer parameter, as an alternative
to providing a 2nd noise parameter for thickness variation.
ezhh [Fri, 17 Nov 2017 21:45:39 +0000 (21:45 +0000)]
Mainmenu: Improve button alignment
Reedych [Fri, 17 Nov 2017 17:50:08 +0000 (00:50 +0700)]
README.md: Add table of Linux dependencies
shivajiva101 [Sat, 18 Nov 2017 13:58:08 +0000 (13:58 +0000)]
Fix mousewheel behaviour in textarea (#6641)
Allowing scrolling with the mousewheel when the vertical scrollbar is
hidden, unnecessarily exposes oversized containers and newlines at the
end of the text. For example try scrolling over the textareas in the
pause menu. This PR addresses the issue by requiring the scrollbar to be
visible before allowing the scrolling with the mousewheel.
Vitaliy [Sat, 18 Nov 2017 09:57:22 +0000 (12:57 +0300)]
Fix dark liquids (#6621)
* Update light storage format
paramat [Thu, 16 Nov 2017 22:08:22 +0000 (22:08 +0000)]
Ore API documentation: Update and improve
paramat [Wed, 15 Nov 2017 23:52:31 +0000 (23:52 +0000)]
Biome dust node: Only place on 'walkable' cubic non-liquid drawtypes
No longer decide placement on 'buildable_to' parameter.
Dust nodes only look acceptable placed on cubic nodes.
Modders may not want to make their plantlike decorations 'buildable_to'.
number Zero [Wed, 13 Sep 2017 20:03:18 +0000 (23:03 +0300)]
Load files from subfolders in texturepacks
Updated and rebased version of a PR by red-001
Lars Hofhansl [Thu, 16 Nov 2017 05:58:23 +0000 (21:58 -0800)]
Allow zoom to actually show more data.
This allows the client to retrieve blocks at a greater distance
from the server, thus allowing for a real zoom.
Vitaliy [Tue, 14 Nov 2017 18:23:34 +0000 (21:23 +0300)]
Fix item and wield meshes (#6596)
ezhh [Mon, 13 Nov 2017 19:02:26 +0000 (19:02 +0000)]
Mainmenu: Make capitalisation consistent in mainmenu and advanced settings
paramat [Fri, 10 Nov 2017 20:11:14 +0000 (20:11 +0000)]
PlayerSAO damage: Update to cope with variable player heights
Nearby codestyle cleanup.
Auke Kok [Thu, 9 Nov 2017 06:40:59 +0000 (22:40 -0800)]
Sounds: Add falling node sounds
Falling nodes should make a sound. This can only be done here,
so for simplicity we just call the sound_play() here with the node
place sound. We ignore any gain value in the sound spec since a
falling node should be loud, so the 1.0 default gain makes sense
here.
ezhh [Mon, 13 Nov 2017 01:42:57 +0000 (01:42 +0000)]
Improve Settings tab button alignments
paramat [Sun, 12 Nov 2017 19:10:08 +0000 (19:10 +0000)]
Lua_api.txt: Add documentation of required mapgen aliases
Ezhh [Sun, 12 Nov 2017 00:45:22 +0000 (00:45 +0000)]
Remove incorrect entry from settingtypes
Vitaliy [Wed, 8 Nov 2017 22:56:20 +0000 (01:56 +0300)]
Move files to subdirectories (#6599)
* Move files around
sfan5 [Tue, 7 Nov 2017 10:47:28 +0000 (11:47 +0100)]
Make use of safe file writing in auth handler (fixes #6576)
sfan5 [Tue, 7 Nov 2017 10:46:06 +0000 (11:46 +0100)]
Add minetest.safe_write_file() to script API
Muhammad Rifqi Priyo Susanto [Sat, 3 Jun 2017 02:51:48 +0000 (09:51 +0700)]
Fix issue Minetest crash when custom font path is not exist
We try to use default fallback for both mono and main font when custom font path is not exist. This way, if Minetest is not corrupted, we could avoid crash.
paramat [Mon, 6 Nov 2017 13:14:56 +0000 (13:14 +0000)]
Lua_api.txt: Add documentation for 'eye_height' player object property
DTA7 [Mon, 18 Sep 2017 18:18:55 +0000 (20:18 +0200)]
Item entities: Enable item collision detection for sudden movement
paramat [Mon, 6 Nov 2017 09:58:26 +0000 (09:58 +0000)]
LINT: Add files to whitelist, fix detected indent errors
paramat [Fri, 3 Nov 2017 19:10:53 +0000 (19:10 +0000)]
Player eye height: Make this a settable player object property
Ezhh [Sun, 5 Nov 2017 10:15:32 +0000 (10:15 +0000)]
Fix Settings tab formspec alignment (#6585)
Lars Hofhansl [Sun, 5 Nov 2017 01:05:47 +0000 (18:05 -0700)]
Do not scale texture unless necessary.
This avoids scaling textures to 'texture_min_size' unless it is actually
required (because either auto-scaling or bi/trilinear filtering is enabled)
sfan5 [Sat, 4 Nov 2017 21:19:27 +0000 (22:19 +0100)]
httpfetch: Enable gzip support
Vitaliy [Tue, 31 Oct 2017 18:27:10 +0000 (21:27 +0300)]
Rewrite rendering engine (#6253)
* Clean draw_*() arguments
* Split rendering core
* Add anaglyph 3D
* Interlaced 3D
* Drop obsolete methods
Rob Blanckaert [Mon, 30 Oct 2017 07:18:18 +0000 (00:18 -0700)]
Add sha1 to lua utils. (#6563)
miqlas [Mon, 30 Oct 2017 07:17:43 +0000 (08:17 +0100)]
Initial Haiku support (#6568)
* Iitial Haiku support
rubenwardy [Sun, 29 Oct 2017 18:31:50 +0000 (18:31 +0000)]
Fix day_night_ratio_do_override not being initialised server-side
Causes get_day_night_ratio() to return unpredictable results.
lisacvuk [Sat, 28 Oct 2017 06:56:10 +0000 (08:56 +0200)]
CSM: Add a way to get current locale from CSM
paramat [Wed, 11 Oct 2017 00:06:40 +0000 (01:06 +0100)]
Biome API: Add decoration flags for underground decorations
Add "all_floors" and "all_ceilings" flags for simple and schematic
decorations. Decorations are placed on all floor and/or ceiling surfaces.
Decorations are placed before dungeon generation so placement in dungeons
is not possible.
Add 'getSurfaces()' function to mapgen.cpp that returns 2 arrays of y
coordinates for all floor and ceiling surfaces in a specified node column.
Move 'getHeight()' checks into DecoSimple and DecoSchematic. Delete
'getHeight()' functions.
raymoo [Tue, 18 Apr 2017 23:30:27 +0000 (16:30 -0700)]
Allow overriding tool capabilities through itemstack metadata
This makes it possible to modify the tool capabilities of individual
itemstacks by calling a method on itemstack metadata references.
lhofhansl [Sat, 28 Oct 2017 08:33:47 +0000 (01:33 -0700)]
Avoid filtering low-res textures for animated meshes (incl. players) (#6562)
raymoo [Sat, 28 Oct 2017 08:30:50 +0000 (01:30 -0700)]
Fix default item callbacks to work with nil users (#5819)
* Fix default item callbacks to work with nil users
* item.lua: Handle node drops for invalid players
The if-condition for the dropping loop is the same as `inv`, which means that the 2nd possible definition of `give_item` is never used.
Remove redundant `local _, dropped_item`
Esteban I. Ruiz Moreno [Wed, 25 Oct 2017 13:23:24 +0000 (10:23 -0300)]
Add missing? include
Lars Hofhansl [Thu, 26 Oct 2017 06:10:33 +0000 (23:10 -0700)]
Reduce server FOV with forward speed
This causes blocks in front of the player to be rendered sooner and
blocks in the periphal view (that would soon be out of view) a bit later.
Overall this leads to smoother rendering as the player is moving around.
paramat [Mon, 23 Oct 2017 04:07:27 +0000 (05:07 +0100)]
Minetest.conf.example(.extra): Updates due to noise group format
Autogenerate minetest.conf.example to convert noises to the now standard
'group format'.
Delete the now unnecessary minetest.conf.example.extra.
Muhammad Rifqi Priyo Susanto [Mon, 23 Oct 2017 04:04:22 +0000 (11:04 +0700)]
Lua_api.txt: Revert changes to NoiseParams format example
Muhammad Rifqi Priyo Susanto [Sat, 9 Sep 2017 17:49:12 +0000 (00:49 +0700)]
Improvements/fixes for noise parameter input in advanced settings
Formspec input for each individual noise parameter and flag.
Allow noise flags to be set in advanced settings, previously only settable
in minetest.conf.
Standardise 'group format' for noise parameters set in minetest.conf, as
only these support noise flags. However the older 'single line' format is
still accepted to support existing minetest.conf files.
Therefore auto-generate minetest.conf.example with noise parameters in
'group format'.
Setting 'type' in settingtypes.txt is now either 'noise_params_2D' or
'noise_params_3D', the dimension number is displayed in the advanced
settings edit page.
Auke Kok [Fri, 20 Oct 2017 04:39:45 +0000 (21:39 -0700)]
Correct `prot_vers` in lua_api.txt.
We should avoid providing incorrect struct members in documentation
since people will be coding based on them.
Lars Hofhansl [Thu, 19 Oct 2017 16:46:30 +0000 (09:46 -0700)]
Set range of blocks to retrieve per roundtrip to 2.
This is a small, partial revert of #6483, which had set this to 1.
Loic Blot [Tue, 17 Oct 2017 20:29:05 +0000 (22:29 +0200)]
directiontables.cpp: fix a warning reported by VS2017
asl97 [Tue, 17 Oct 2017 19:50:58 +0000 (03:50 +0800)]
Fix inventory drag drop flag (#6416)
Esteban I. RM [Mon, 16 Oct 2017 23:44:48 +0000 (20:44 -0300)]
Add updated settings_translation_file
Esteban I. RM [Mon, 16 Oct 2017 00:22:22 +0000 (21:22 -0300)]
don't pass g_settings around, and use it directly
Esteban I. RM [Sun, 15 Oct 2017 23:29:08 +0000 (20:29 -0300)]
Regenerate minetest.conf.example and translation file
Esteban I. RM [Sun, 15 Oct 2017 23:28:42 +0000 (20:28 -0300)]
Implement #6096
SmallJoker [Mon, 16 Oct 2017 18:12:48 +0000 (20:12 +0200)]
Fix strict_protocol_version_checking functionality after
ee9a442
Esteban I. RM [Sun, 15 Oct 2017 05:52:05 +0000 (02:52 -0300)]
Don't try to craft a non-existent item