oweals/minetest.git
7 years agoTranslated using Weblate (French)
Onyx Steinheim [Mon, 17 Oct 2016 08:41:00 +0000 (08:41 +0000)]
Translated using Weblate (French)

Currently translated at 97.7% (897 of 918 strings)

7 years agoTranslated using Weblate (Polish)
Jakub Mendel [Tue, 8 Nov 2016 16:43:42 +0000 (16:43 +0000)]
Translated using Weblate (Polish)

Currently translated at 59.5% (547 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Polish)
red-001 [Tue, 8 Nov 2016 16:46:07 +0000 (16:46 +0000)]
Translated using Weblate (Polish)

Currently translated at 41.6% (382 of 918 strings)

7 years agoTranslated using Weblate (Polish)
nedzadarek [Sun, 25 Sep 2016 20:41:59 +0000 (20:41 +0000)]
Translated using Weblate (Polish)

Currently translated at 41.2% (379 of 918 strings)

7 years agoTranslated using Weblate (Korean)
Han So Ri [Sun, 30 Oct 2016 13:50:36 +0000 (13:50 +0000)]
Translated using Weblate (Korean)

Currently translated at 53.8% (494 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Korean)
Dongjin Han [Fri, 28 Oct 2016 07:01:21 +0000 (07:01 +0000)]
Translated using Weblate (Korean)

Currently translated at 5.6% (52 of 918 strings)

7 years agoTranslated using Weblate (Korean)
sorichan [Fri, 28 Oct 2016 07:01:16 +0000 (07:01 +0000)]
Translated using Weblate (Korean)

Currently translated at 5.6% (52 of 918 strings)

7 years agoTranslated using Weblate (Korean)
Dongjin Han [Fri, 28 Oct 2016 06:42:29 +0000 (06:42 +0000)]
Translated using Weblate (Korean)

Currently translated at 1.5% (14 of 918 strings)

7 years agoTranslated using Weblate (Korean)
sorichan [Fri, 28 Oct 2016 06:40:30 +0000 (06:40 +0000)]
Translated using Weblate (Korean)

Currently translated at 1.5% (14 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:41:21 +0000 (21:41 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 3.3% (31 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Christian Haug [Tue, 25 Oct 2016 21:40:10 +0000 (21:40 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 2.8% (26 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:39:49 +0000 (21:39 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 2.7% (25 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Christian Haug [Tue, 25 Oct 2016 21:36:59 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.7% (16 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:36:50 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.6% (15 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Christian Haug [Tue, 25 Oct 2016 21:36:29 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.5% (14 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Tue, 25 Oct 2016 21:36:17 +0000 (21:36 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.4% (13 of 918 strings)

7 years agoTranslated using Weblate (Czech)
Jakub Vaněk [Tue, 25 Oct 2016 11:59:38 +0000 (11:59 +0000)]
Translated using Weblate (Czech)

Currently translated at 51.0% (469 of 918 strings)

7 years agoTranslated using Weblate (Czech)
Tomáš Bělohlávek [Tue, 25 Oct 2016 11:37:03 +0000 (11:37 +0000)]
Translated using Weblate (Czech)

Currently translated at 58.0% (533 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Chinese (Taiwan))
Jeff Huang [Sat, 15 Oct 2016 08:01:02 +0000 (08:01 +0000)]
Translated using Weblate (Chinese (Taiwan))

Currently translated at 100.0% (918 of 918 strings)

7 years agoTranslated using Weblate (Chinese (Taiwan))
Mingye Wang [Fri, 14 Oct 2016 16:29:41 +0000 (16:29 +0000)]
Translated using Weblate (Chinese (Taiwan))

Currently translated at 97.0% (891 of 918 strings)

7 years agoTranslated using Weblate (Catalan)
tonibm19 [Wed, 26 Oct 2016 09:14:30 +0000 (09:14 +0000)]
Translated using Weblate (Catalan)

Currently translated at 46.0% (423 of 918 strings)

7 years agoTranslated using Weblate (Catalan)
Roc Humet [Thu, 6 Oct 2016 17:55:09 +0000 (17:55 +0000)]
Translated using Weblate (Catalan)

Currently translated at 43.6% (401 of 918 strings)

7 years agoTranslated using Weblate (Spanish)
Alfonso R. Zepeda R [Tue, 4 Oct 2016 03:39:44 +0000 (03:39 +0000)]
Translated using Weblate (Spanish)

Currently translated at 57.8% (531 of 918 strings)

7 years agoTranslated using Weblate (Japanese)
Rui [Sat, 1 Oct 2016 05:59:25 +0000 (05:59 +0000)]
Translated using Weblate (Japanese)

Currently translated at 49.4% (454 of 918 strings)

This is a merger of 2 commits.

7 years agoTranslated using Weblate (Swahili)
Eidy [Mon, 3 Oct 2016 04:27:05 +0000 (04:27 +0000)]
Translated using Weblate (Swahili)

Currently translated at 99.8% (917 of 918 strings)

This is a merger of 3 commits.

7 years agoAdded translation using Weblate (Swahili)
Eidy [Mon, 3 Oct 2016 03:39:22 +0000 (03:39 +0000)]
Added translation using Weblate (Swahili)

7 years agoTranslated using Weblate (Portuguese)
João Rodrigues [Tue, 8 Nov 2016 00:48:08 +0000 (00:48 +0000)]
Translated using Weblate (Portuguese)

Currently translated at 66.7% (613 of 918 strings)

There is no need to specify that a mod is an extra.

7 years agoTranslated using Weblate (Portuguese (Brazil))
José Henrique Luckmann [Tue, 27 Sep 2016 17:51:17 +0000 (17:51 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 84.2% (773 of 918 strings)

7 years agoTranslated using Weblate (Danish)
Thomas Wagner Nielsen [Thu, 24 Nov 2016 15:52:26 +0000 (15:52 +0000)]
Translated using Weblate (Danish)

Currently translated at 73.0% (671 of 918 strings)

7 years agoTranslated using Weblate (Danish)
Joe Hansen [Thu, 6 Oct 2016 14:48:01 +0000 (14:48 +0000)]
Translated using Weblate (Danish)

Currently translated at 73.0% (671 of 918 strings)

This is a merger of 3 commits.

7 years agoTranslated using Weblate (Danish)
Thomas Wagner Nielsen [Tue, 30 Aug 2016 07:05:41 +0000 (07:05 +0000)]
Translated using Weblate (Danish)

Currently translated at 29.5% (271 of 918 strings)

7 years agoMgv7: Change default cave width to 0.09
sfan5 [Mon, 12 Dec 2016 16:10:16 +0000 (17:10 +0100)]
Mgv7: Change default cave width to 0.09

7 years agoFix segfault on startup error on Android
rubenwardy [Sun, 11 Dec 2016 22:17:32 +0000 (22:17 +0000)]
Fix segfault on startup error on Android

7 years agoFix camera jumping on Android when panning past 0/360 mark 4893/head
rubenwardy [Sun, 11 Dec 2016 21:57:43 +0000 (21:57 +0000)]
Fix camera jumping on Android when panning past 0/360 mark

7 years agoMod dependency lists: Should have platform-independent line breaking
Bernardo Sulzbach [Mon, 12 Dec 2016 02:39:09 +0000 (00:39 -0200)]
Mod dependency lists: Should have platform-independent line breaking

This fixes a bug existing in modmgr.lua as reported by @Wuzzy2 which
caused the mod dependency list to glitch if input was using a line
terminator different than the OS default.

The C++ code does not need any changes as it already trims CR
occurrences on platforms on which the line termination sequence is LF.

Taken into account the size of the depends.txt files used, this should
not introduce a noticeable performance regression.

Fixes #4720

7 years agoSetting limits: Fix message text in advanced settings tab
Rogier [Sun, 11 Dec 2016 19:13:49 +0000 (20:13 +0100)]
Setting limits: Fix message text in advanced settings tab

It would complain that the value should be higher than the lower
bound, when it should be higher than or equal to the lower bound.

Similar issue for the upper bound.

7 years agoView range: Set maximum to 4000 nodes
Rogier [Sat, 10 Dec 2016 23:23:32 +0000 (00:23 +0100)]
View range: Set maximum to 4000 nodes

The network protocol does not support larger than 255 mapblocks.

7 years agoMapgen: Make mgv7 the default mapgen
paramat [Thu, 1 Dec 2016 21:53:43 +0000 (21:53 +0000)]
Mapgen: Make mgv7 the default mapgen

7 years agoFix computation of viewing range (in blocks) sent to server (#4882)
Rogier-5 [Sun, 11 Dec 2016 18:49:49 +0000 (19:49 +0100)]
Fix computation of viewing range (in blocks) sent to server (#4882)

Fixes #4878

Also remove an artificial viewing range reduction that
(presumably) was added to compensate for miscomputed
viewing ranges, and that doesn't seem to be needed any
more (thanks to lhofhansl).

7 years agoFix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)
rubenwardy [Fri, 9 Dec 2016 17:27:36 +0000 (17:27 +0000)]
Fix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)

Fixes #4121

7 years agoBuildbot: Update LuaJIT version
sfan5 [Wed, 7 Dec 2016 09:18:18 +0000 (10:18 +0100)]
Buildbot: Update LuaJIT version

7 years agoSimple decorations: Fix range check for deco->deco_param2
Auke Kok [Wed, 7 Dec 2016 06:08:16 +0000 (22:08 -0800)]
Simple decorations: Fix range check for deco->deco_param2

Allow any int value, and properly range check it before casting.

7 years agoAndroid: fix build and update deps
est31 [Wed, 7 Dec 2016 20:27:07 +0000 (21:27 +0100)]
Android: fix build and update deps

7 years agoUpdate credits (#4827)
Zeno- [Wed, 7 Dec 2016 13:45:29 +0000 (23:45 +1000)]
Update credits (#4827)

Update credits

7 years agoSimple deco: Allow setting param2 value on placement
Auke Kok [Wed, 7 Dec 2016 00:39:33 +0000 (16:39 -0800)]
Simple deco: Allow setting param2 value on placement

Schematics can already be placed with a param2 value, but not
simple 1-node plant decorations of the simple type.

This adds a `param2` field to the simple deco type that is
checked to be between 0 and 255, and put to the placed node
at mapgen.

This can be used to put a degrotate value in, or e.g. a fill
value for leveltype nodes, or a place_param2 value at mapgen
placement, or vary the shape of meshoptions plantlike drawtype.

7 years agoFog: Make fraction of visible distance at which fog starts configurable
Lars Hofhansl [Sun, 4 Dec 2016 05:43:25 +0000 (21:43 -0800)]
Fog: Make fraction of visible distance at which fog starts configurable

Optimise the fetching of global settings 'camera_smoothing',
'cinematic' and 'cinematic_camera_smoothing'.
Cache 'cam_smoothing'.

7 years agoLiquids: Update flow on block load
MillersMan [Sun, 27 Nov 2016 20:51:40 +0000 (21:51 +0100)]
Liquids: Update flow on block load

When loading a block add liquid-nodes that might flow away or spread to
neighbours to the transforming_liquid queue.

7 years agoLiquids: Preserve flow state if 'ignore' is a neighbour
MillersMan [Sun, 27 Nov 2016 20:46:14 +0000 (21:46 +0100)]
Liquids: Preserve flow state if 'ignore' is a neighbour

Prevent waterfalls from falling down or streams from flowing away when the
source node is in an unloaded block - Nodes near a CONTENT_IGNORE node will
be interpreted as if the ignored node is a liquid node that just supports
the current state of the nodes in question.

7 years agoMap::isValidPosition: Return false instead of throwing exception
MillersMan [Sun, 27 Nov 2016 20:34:16 +0000 (21:34 +0100)]
Map::isValidPosition: Return false instead of throwing exception

7 years agoOptimize block sent: Fix rendering issue
Lars Hofhansl [Thu, 1 Dec 2016 05:42:22 +0000 (21:42 -0800)]
Optimize block sent: Fix rendering issue

7 years agoBiomes: Increase heat and humidity noise spread to 1000
paramat [Fri, 2 Dec 2016 00:57:33 +0000 (00:57 +0000)]
Biomes: Increase heat and humidity noise spread to 1000

To avoid smaller biomes when extra biomes are added to MTGame.
The addition of bushes in MTGame grasslands makes wood resources easier
to find and less distant, so slightly larger biomes are now acceptable,
but also desirable to encourage travel and create more sense of adventure.

7 years agoDon't send a join message in singleplayer mode.
red-001 [Sat, 27 Aug 2016 23:13:41 +0000 (00:13 +0100)]
Don't send a join message in singleplayer mode.

7 years agoFix incorrect docs about minetest.hud_replace_builtin (#4833)
Amaz [Fri, 2 Dec 2016 10:41:08 +0000 (10:41 +0000)]
Fix incorrect docs about minetest.hud_replace_builtin (#4833)

Fixes https://github.com/minetest/minetest/issues/4832

7 years agoVery small documentation fix. (#4830)
Bluebird [Fri, 2 Dec 2016 10:20:55 +0000 (04:20 -0600)]
Very small documentation fix. (#4830)

8 years agoLua_api.txt: Clarify use of looping sounds
paramat [Thu, 1 Dec 2016 04:49:17 +0000 (04:49 +0000)]
Lua_api.txt: Clarify use of looping sounds

8 years agoMgv7 floatlands: Various improvements
paramat [Tue, 29 Nov 2016 04:08:55 +0000 (04:08 +0000)]
Mgv7 floatlands: Various improvements

Floatland base terrain underside was too thin, causing excessive water
leakage through tunnels under lakes, now make it thicker.
Floatland mountain terrain had a rim 1 node thick which made it bare
stone, now make it 2 nodes thick to merge with the floatland base
terrain rim and to have a layer of biome material.
Make mountain terrain more exponentially shaped by altering the
exponent.
Remove unnecessary and potentially ugly MYMAX() applied to
n_base_height.

8 years agoOptimize/adjust blocks/ActiveObjects sent at the server based on client settings...
lhofhansl [Wed, 30 Nov 2016 08:13:14 +0000 (00:13 -0800)]
Optimize/adjust blocks/ActiveObjects sent at the server based on client settings. (#4811)

Optimize/adjust blocks and active blocks sent at the server based on client settings.

8 years agoAllow restricting detached inventories to one player
sfan5 [Sat, 26 Nov 2016 16:35:25 +0000 (17:35 +0100)]
Allow restricting detached inventories to one player

This combats the problem of sending the hundreds of
"creative" / "armor" or whatever detached invs that
exist on popular servers to each and every player
on join or on change of said invs.

8 years agoLimit light_source in the engine (#4814)
juhdanad [Mon, 28 Nov 2016 08:43:33 +0000 (09:43 +0100)]
Limit light_source in the engine (#4814)

Since light_source>15 causes crash, it must be limited.

8 years agoFix filepath > RemoveRelativePathComponent unittest
sfan5 [Sun, 27 Nov 2016 17:38:28 +0000 (18:38 +0100)]
Fix filepath > RemoveRelativePathComponent unittest

(was broken by e4ee6548afd01040046ee3780d0fbb121d141251)

8 years agoWieldhand: Allow overriding the hand
TeTpaAka [Thu, 25 Jun 2015 11:06:49 +0000 (13:06 +0200)]
Wieldhand: Allow overriding the hand

8 years agoFix fs::RemoveRelativePathComponents for paths with a leading dot component
ShadowNinja [Thu, 24 Nov 2016 15:35:48 +0000 (10:35 -0500)]
Fix fs::RemoveRelativePathComponents for paths with a leading dot component

Previously, paths like ./worlds would be resolved to /worlds since the
leading dot was considered just as irrelevant as a dot in the middle of
the path.

8 years agoFix secure io.lines
ShadowNinja [Thu, 24 Nov 2016 15:10:20 +0000 (10:10 -0500)]
Fix secure io.lines

It used to drop all of the return values from the
insecure version of the function.

8 years agoFix secure io.open without mode
ShadowNinja [Thu, 24 Nov 2016 14:58:21 +0000 (09:58 -0500)]
Fix secure io.open without mode

8 years agoMake supplying empty formspec strings close the formspec (#4737)
orwell96 [Tue, 22 Nov 2016 16:15:22 +0000 (17:15 +0100)]
Make supplying empty formspec strings close the formspec (#4737)

This will only happen if the formname matches or if formname is "".

8 years agoNo functional changes. Credit gcu
Zeno- [Tue, 22 Nov 2016 15:23:34 +0000 (01:23 +1000)]
No functional changes. Credit gcu

This merge doesn't make any functional changes. It's a trivial style fix so that @gregorycu can be dual credited along with shadowninja for PR #4800

8 years agoFix superflous shader setting updates (#4800)
ShadowNinja [Tue, 22 Nov 2016 14:05:39 +0000 (09:05 -0500)]
Fix superflous shader setting updates (#4800)

This improves rendering performance by ~40%

8 years agoTool break: Reduce gain of break sounds
paramat [Sat, 19 Nov 2016 22:58:11 +0000 (22:58 +0000)]
Tool break: Reduce gain of break sounds

8 years agoParticles: Make attached particle spawners respect the parent's yaw
orwell96 [Mon, 24 Oct 2016 17:56:27 +0000 (19:56 +0200)]
Particles: Make attached particle spawners respect the parent's yaw

Position, velocity and acceleration vectors of particles are rotated
by the yaw of the parent object so that they are truly relative to it.
Clarify new attached particle spawner behavior in lua_api.txt.

8 years agoBuiltin/../item: Enable tool breaking sounds
Auke Kok [Sat, 23 Jan 2016 05:52:50 +0000 (21:52 -0800)]
Builtin/../item: Enable tool breaking sounds

If a tool wears out and is destroyed, it's itemstack count
goes to 0, and we can optionally play a breaking sound.

This patch implements playing a breaking sound when this
occurs. Sounds need to be added to the tool itemdef
registration as the sound name string in the .sound.breaks
member.

8 years agoIntroduce builtin_shared and use it to fix #4778
est31 [Wed, 16 Nov 2016 09:17:46 +0000 (10:17 +0100)]
Introduce builtin_shared and use it to fix #4778

Fixes #4778 which was about the error:

ServerError: Lua: Runtime error from mod '' in callback item_OnPlace():
/usr/local/share/minetest/builtin/game/item.lua:278: attempt to call global 'check_attached_node' (a nil value)

The issue was a regression of commit 649448a2a91fbf3e944b2f2e739f4e2292af1df0

"Rename nodeupdate and nodeupdate_single and make them part of the official API"

8 years agoFix unexplained shader issue (glsl compiler bug??) (#4757)
Rogier-5 [Wed, 16 Nov 2016 16:56:05 +0000 (17:56 +0100)]
Fix unexplained shader issue (glsl compiler bug??) (#4757)

8 years agoLua_api.txt: Naming convention for custom item/entity fields
Wuzzy [Sat, 12 Nov 2016 16:49:41 +0000 (17:49 +0100)]
Lua_api.txt: Naming convention for custom item/entity fields

Custom (non-engine) field names of items and entities are allowed.
This is now documented in lua_api.txt. Field names beginning with
an underscore are now reserved for mod use, the engine must not
introduce any fields beginning with an underscore.

8 years agoMgv7: Add optional floatlands, disabled by default
paramat [Fri, 16 Sep 2016 03:59:25 +0000 (04:59 +0100)]
Mgv7: Add optional floatlands, disabled by default

8 years agoRevert "Adding particle blend, glow and animation (#4705)"
sfan5 [Mon, 14 Nov 2016 14:28:06 +0000 (15:28 +0100)]
Revert "Adding particle blend, glow and animation (#4705)"

This reverts commit 93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.

8 years agoAdding particle blend, glow and animation (#4705)
Foghrye4 [Mon, 14 Nov 2016 14:09:59 +0000 (18:09 +0400)]
Adding particle blend, glow and animation (#4705)

8 years agoRename nodeupdate and nodeupdate_single and make them part of the official API
est31 [Sat, 12 Nov 2016 09:55:26 +0000 (10:55 +0100)]
Rename nodeupdate and nodeupdate_single and make them part of the official API

Now, the renamed forms of nodeupdate and nodeupdate_single are part of the official API.

As nodeupdate has been used by Minetest Game and in mods despite of not
being part of the official API, we ease the transition by still supporting
it for the 0.4.15 release. After the release, the two functions can be removed.

The removal will not violate the stability promise, as that promise only
includes the official and documented API.

Also, make some formerly global functions local. They most likely haven't
been used by mods, therefore they won't get stubs with deprecation warnings,
hard erroring directly.

8 years agoInstall texture_packs.txt to DOCDIR
Yutao Yuan [Sun, 9 Oct 2016 12:46:18 +0000 (20:46 +0800)]
Install texture_packs.txt to DOCDIR

8 years agoFix crash when attached object no longer exists
Rogier [Sun, 6 Nov 2016 15:18:29 +0000 (16:18 +0100)]
Fix crash when attached object no longer exists

Active objects that are attached to other objects are not safe
from deletion. As a result, the parent object may have a reference
to an id of a child's that no longer exists.

If at some point an attempt is made to manipulate the child,
enviromment->getActiveObject(child-id) returns NULL. Using the
NULL pointer causes the crash...

8 years agoAdd control information to player interacts (#4685)
raymoo [Sat, 12 Nov 2016 07:22:39 +0000 (23:22 -0800)]
Add control information to player interacts (#4685)

8 years agoNodeupdate: Remove documentation in lua_api.txt
paramat [Tue, 8 Nov 2016 18:12:24 +0000 (18:12 +0000)]
Nodeupdate: Remove documentation in lua_api.txt

In preparation for nodeupdate being renamed and made official API
in future.

8 years agoHalo: Highlight selected face
RealBadAngel [Sun, 21 Feb 2016 05:50:41 +0000 (06:50 +0100)]
Halo: Highlight selected face

This is a slightly modified and cleaned up version of #3774 by RealBadAngel.
By sofar: Remove color change (just make it lighter) and some minor cleanups.

8 years agoFixed tooltips not resizing with \n (#4766)
lisacvuk [Fri, 11 Nov 2016 11:16:34 +0000 (12:16 +0100)]
Fixed tooltips not resizing with \n (#4766)

* Fixed tooltips not resizing with \n

* Fixed it for 1.8.4 too.

* Fixed not working with Freetype disabled.

* Modified it to use Zeno-'s solution.

8 years agoFix incorrect distance computation for visible blocks (#4765)
Rogier-5 [Fri, 11 Nov 2016 08:30:37 +0000 (09:30 +0100)]
Fix incorrect distance computation for visible blocks (#4765)

The client would not compute the distance from the camera to
to a mapblock correctly. The result was that blocks that were in
view (i.e. not beyond the fog limit) would not be rendered.

With the improved distance computation, a range adjustment that
existed in clientiface.cpp is no longer required.

8 years agoFix mob deserialization errors in the client (#4743)
Rogier-5 [Thu, 10 Nov 2016 12:42:49 +0000 (13:42 +0100)]
Fix mob deserialization errors in the client (#4743)

The problem was seen while using the mobf mod package.

The problem happens when the server serializes entity attachments.
Sometimes, such attachments no longer exist. The serialization code
skips those. However, the total number of attachments was serialized
earlier.  Therefore the client expects more than it gets, and logs a
serialization error.

8 years agoOcclusion culling: Add comments, minor code improvements
paramat [Tue, 8 Nov 2016 16:07:56 +0000 (16:07 +0000)]
Occlusion culling: Add comments, minor code improvements

Remove unnecessary code.
Use '/ 2.0f' because endoff is a float.

8 years agoConf.example: Document block_send_optimize_distance
Lars Hofhansl [Tue, 8 Nov 2016 04:44:40 +0000 (20:44 -0800)]
Conf.example: Document block_send_optimize_distance

Add missing documentation.

8 years agoSky: Draw bottom of the sky box in 'cloudy fog color'
Lars Hofhansl [Mon, 7 Nov 2016 06:01:21 +0000 (22:01 -0800)]
Sky: Draw bottom of the sky box in 'cloudy fog color'

To be identical to the lower half of the skybox sides.
Now needed as the skybox base is often seen due to increasingly vertical
mapgens.

8 years agoRetrieve mapblocks from the server in a sphere, not a cube
Lars Hofhansl [Fri, 4 Nov 2016 07:14:07 +0000 (00:14 -0700)]
Retrieve mapblocks from the server in a sphere, not a cube

Use unused range argument in 'isBlockInSight()' to limit mapblock sends
to a sphere of radius 'max block send distance'.

8 years agoOcclusion culling: Fix 'end offset' distance, half this for centre point
Lars Hofhansl [Fri, 4 Nov 2016 07:13:17 +0000 (00:13 -0700)]
Occlusion culling: Fix 'end offset' distance, half this for centre point

'endoff', the maximum diagonal of a mapblock, was incorrectly calculated.
Half this value for the centre point of the mapblock.

8 years agoDon't use reduced vertical limits for mapblock send and generation
Lars Hofhansl [Mon, 7 Nov 2016 05:30:49 +0000 (21:30 -0800)]
Don't use reduced vertical limits for mapblock send and generation

8 years agoBuiltin/../falling: Fix bugs caused by 'ignore' nodes
paramat [Sun, 6 Nov 2016 09:10:05 +0000 (09:10 +0000)]
Builtin/../falling: Fix bugs caused by 'ignore' nodes

Original commit by t4im, rebased and developed by paramat.
Fix CONTENT_IGNORE being replaced by falling nodes or causing large
areas of sand to collapse into itself.
Format some conditional code for clarity.
Add and clarify some comments.

8 years agoPrivileges: Only give singleplayer 4 basic privs
Wuzzy [Sat, 5 Nov 2016 23:37:20 +0000 (00:37 +0100)]
Privileges: Only give singleplayer 4 basic privs

- interact
- shout
- privs
- basic_privs

8 years agoWindows: Add manifest file and set "High DPI Aware" true
adrido [Sat, 29 Oct 2016 16:01:37 +0000 (18:01 +0200)]
Windows: Add manifest file and set "High DPI Aware" true

This resolves washy font and incorrect mouse handling on Windows if
a screen with high DPI is used.

8 years agoMSVC: Generate debug information for release builds (#4674)
SmallJoker [Sun, 6 Nov 2016 16:14:36 +0000 (17:14 +0100)]
MSVC: Generate debug information for release builds (#4674)

Replace parameters with the equivalent /Ox

8 years agoSeparate optional from required mod dependencies in main menu (#4721)
Wuzzy [Sat, 5 Nov 2016 17:42:14 +0000 (18:42 +0100)]
Separate optional from required mod dependencies in main menu (#4721)

* Separate optional from require dep's in main menu

* Simplify modmgr mod dependency listing code

8 years agoPlayerSAO saving fix (#4734)
Ner'zhul [Sat, 5 Nov 2016 09:25:30 +0000 (10:25 +0100)]
PlayerSAO saving fix (#4734)

PlayerSAO::disconnected() function was historical and remove the link between SAO and RemotePlayer session. With previous attributes linked to RemotePlayer saving was working. But now attributes are read from SAO not RemotePlayer and the current serialize function verify SAO exists to save the player attributes.

Because PlayerSAO::disconnected marks playersao for removal, only mark playerSAO for removal and let PlayerSAO::removingFromEnvironment do the correct saving behaviour and all the disconnection process instead of doing a partial removal and let the server loop doing the RemotePlayer cleanup and remove some saved attributes...

8 years agoFix memory leak in ::safeLoadFile (#4730)
Zeno- [Sat, 5 Nov 2016 05:10:49 +0000 (15:10 +1000)]
Fix memory leak in ::safeLoadFile (#4730)

8 years agoRemove unused shader matrices. (#4723)
lhofhansl [Fri, 4 Nov 2016 17:12:45 +0000 (10:12 -0700)]
Remove unused shader matrices. (#4723)

8 years agoCycle directly to nothing shown instead of showing the profiler graph again
lhofhansl [Fri, 4 Nov 2016 04:06:32 +0000 (05:06 +0100)]
Cycle directly to nothing shown instead of showing the profiler graph again

Fix for previous commit.