10883 Commits

Author SHA1 Message Date
proller
d8d4230677 Merge commit '4bf4154' 2016-11-30 17:43:31 +03:00
lhofhansl
5dc6198878 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.
2016-11-30 18:13:14 +10:00
sfan5
c38985825f 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.
2016-11-28 13:41:19 +01:00
juhdanad
2fe3bf5a18 Limit light_source in the engine (#4814)
Since light_source>15 causes crash, it must be limited.
2016-11-28 18:43:33 +10:00
sfan5
bb06d377a1 Fix filepath > RemoveRelativePathComponent unittest
(was broken by e4ee6548afd01040046ee3780d0fbb121d141251)
2016-11-27 18:39:00 +01:00
TeTpaAka
785a9a6c1a Wieldhand: Allow overriding the hand 2016-11-26 03:49:30 +00:00
ShadowNinja
e4ee6548af 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.
2016-11-24 10:38:23 -05:00
ShadowNinja
3af5eef964 Fix secure io.lines
It used to drop all of the return values from the
insecure version of the function.
2016-11-24 10:10:20 -05:00
ShadowNinja
9e10f9f49a Fix secure io.open without mode 2016-11-24 09:58:21 -05:00
orwell96
0d1c9598a0 Make supplying empty formspec strings close the formspec (#4737)
This will only happen if the formname matches or if formname is "".
2016-11-23 02:15:22 +10:00
Zeno-
dbeb322f62 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
2016-11-23 01:23:34 +10:00
ShadowNinja
4bf4154cad Fix superflous shader setting updates (#4800)
This improves rendering performance by ~40%
2016-11-23 00:05:39 +10:00
proller
b43120ba38 update submodules 2016-11-22 14:28:55 +03:00
proller
b95b5f086f update submodules 2016-11-21 12:00:05 +03:00
proller
e122e5b52b update submodules 2016-11-21 02:33:31 +03:00
proller
b220f3a0c5 update submodules 2016-11-20 16:51:22 +03:00
proller
a7024e8e2d Merge remote-tracking branch 'minetest/master' 2016-11-20 16:39:59 +03:00
paramat
c6ca7a81cc Tool break: Reduce gain of break sounds 2016-11-20 04:43:09 +00:00
proller
42326c4d33 update submodules 2016-11-20 00:12:42 +03:00
proller
31c8233f09 mapgen v7: huge caves 2016-11-19 23:58:15 +03:00
proller
b08bb902d6 update submodules 2016-11-18 19:55:33 +03:00
proller
f9ab0977b1 Merge remote-tracking branch 'minetest/master' 2016-11-18 19:13:50 +03:00
orwell96
681d127ff1 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.
2016-11-18 06:18:54 +00:00
Auke Kok
4a0a6723af 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.
2016-11-18 06:15:08 +00:00
proller
b945952352 update submodules 2016-11-17 16:05:00 +03:00
proller
21d2b150f6 disable pld freeminer floatislands in v7 mapgen 2016-11-17 16:03:56 +03:00
proller
348b7b0cf8 Merge remote-tracking branch 'minetest/master' 2016-11-17 15:44:46 +03:00
est31
afc48c802a 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"
2016-11-16 18:51:36 +01:00
Rogier-5
5f0dc8e78a Fix unexplained shader issue (glsl compiler bug??) (#4757) 2016-11-17 02:56:05 +10:00
Wuzzy
8e61c1dfd9 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.
2016-11-15 23:08:34 +00:00
paramat
bc3980e1d6 Mgv7: Add optional floatlands, disabled by default 2016-11-15 23:07:06 +00:00
sfan5
5fd1ef9b58 Revert "Adding particle blend, glow and animation (#4705)"
This reverts commit 93e3555eae2deaeca69ee252cfa9cc9c3e0e49ef.
2016-11-14 15:28:06 +01:00
Foghrye4
93e3555eae Adding particle blend, glow and animation (#4705) 2016-11-15 00:09:59 +10:00
est31
649448a2a9 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.
2016-11-14 13:08:22 +01:00
proller
f5bcce80b3 update submodules 2016-11-14 13:21:50 +03:00
proller
42061a6678 update submodules 2016-11-14 01:18:59 +03:00
proller
ca56e4c63c Merge commit '6707d62' 2016-11-14 01:17:54 +03:00
proller
73eebe3baf Merge commit '1980d9e' 2016-11-14 01:17:43 +03:00
proller
cf4a16f8f1 Merge commit 'e403115' 2016-11-14 01:16:34 +03:00
proller
d60020992e Merge commit '67ec2fa' 2016-11-14 00:43:22 +03:00
proller
051fefd0bb Merge commit '68f5b87' 2016-11-14 00:43:12 +03:00
proller
ae1038bdda better abm fix 2016-11-13 19:44:41 +03:00
proller
053ba64036 update submodules 2016-11-13 19:41:14 +03:00
proller
4b957ad4e4 fix abms 2016-11-13 16:47:50 +03:00
proller
9af3f910c9 fix saving mapgen params in enable_local_map_saving=1 2016-11-13 16:02:24 +03:00
proller
179d67ee02 oops 2016-11-13 15:01:01 +03:00
proller
c843504f17 fix enable_ipv6=0 2016-11-13 14:37:25 +03:00
Yutao Yuan
6707d622bb Install texture_packs.txt to DOCDIR 2016-11-13 10:21:34 +01:00
Rogier
1980d9ea31 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...
2016-11-13 10:10:28 +01:00
proller
b3c0e08197 fix merge (save player) \ 2016-11-13 02:53:53 +03:00