7616 Commits

Author SHA1 Message Date
Joe Hansen
32f04626bd Translated using Weblate (Danish)
Currently translated at 73.0% (671 of 918 strings)

This is a merger of 3 commits.
2016-12-14 00:01:30 +01:00
Thomas Wagner Nielsen
ae1ccd47d8 Translated using Weblate (Danish)
Currently translated at 29.5% (271 of 918 strings)
2016-12-13 23:43:43 +01:00
sfan5
36e2e7519c Mgv7: Change default cave width to 0.09 2016-12-13 03:32:51 +00:00
rubenwardy
5ab5b2c397 Fix segfault on startup error on Android 2016-12-12 13:22:26 +00:00
rubenwardy
b487c28601 Fix camera jumping on Android when panning past 0/360 mark 2016-12-12 13:20:18 +00:00
Bernardo Sulzbach
12defe401e 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
2016-12-12 07:22:47 +00:00
Rogier
d0f73c2c99 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.
2016-12-12 07:21:46 +00:00
Rogier
14a9128747 View range: Set maximum to 4000 nodes
The network protocol does not support larger than 255 mapblocks.
2016-12-12 07:20:50 +00:00
paramat
5ff0d76aaa Mapgen: Make mgv7 the default mapgen 2016-12-12 07:19:05 +00:00
Maksim Gamarnik
0c1814eef5 Update light.cpp (thank's @sofar), iOS: small fix 2016-12-12 00:21:27 +02:00
Rogier-5
c95e1f0553 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).
2016-12-11 19:49:49 +01:00
Maksim Gamarnik
0ba8617eff iOS: fix patches (maybe) 2016-12-11 17:02:43 +02:00
Maksim Gamarnik
d1647437d5 iOS: make luajit multiple threads 2016-12-11 14:55:36 +02:00
sfan5
daab4a1134 fix <invalid UTF-8 string>
* Fix UTF-8 conversion issue on iOS

* Fix visual glitches with TTF font
2016-12-11 03:11:01 +02:00
rubenwardy
fef761a5a2 Fix sqlite databases being read-only on 64bit Android by patching sqlite (#4871)
Fixes #4121
2016-12-09 18:27:36 +01:00
sfan5
0b5fcbbad0 Buildbot: Update LuaJIT version 2016-12-08 08:39:37 +00:00
Auke Kok
28c2f61e19 Simple decorations: Fix range check for deco->deco_param2
Allow any int value, and properly range check it before casting.
2016-12-08 08:38:10 +00:00
est31
c640dc09ea Android: fix build and update deps 2016-12-07 21:27:07 +01:00
Zeno-
dedc65249d Update credits (#4827)
Update credits
2016-12-07 23:45:29 +10:00
Auke Kok
2f71a16b08 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.
2016-12-07 04:17:17 +00:00
Lars Hofhansl
ef6e0d1a52 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'.
2016-12-07 04:07:54 +00:00
MillersMan
b4f4850171 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.
2016-12-07 04:06:00 +00:00
MillersMan
406dbf5ddf 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.
2016-12-07 03:54:32 +00:00
MillersMan
49a579467a Map::isValidPosition: Return false instead of throwing exception 2016-12-07 03:51:44 +00:00
Maksim Gamarnik
91f9f37b5e Subgame: Update textures and small bugfix 2016-12-06 07:25:04 +03:00
Lars Hofhansl
7d5bf4c229 Optimize block sent: Fix rendering issue 2016-12-03 02:34:45 +00:00
paramat
c67a2ca54b 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.
2016-12-03 02:34:35 +00:00
red-001
a66a237c19 Don't send a join message in singleplayer mode. 2016-12-03 00:13:02 +01:00
Amaz
75e9209169 Fix incorrect docs about minetest.hud_replace_builtin (#4833)
Fixes https://github.com/minetest/minetest/issues/4832
2016-12-02 11:41:08 +01:00
Bluebird
6aaea80a6f Very small documentation fix. (#4830) 2016-12-02 20:20:55 +10:00
paramat
e94d91747b Lua_api.txt: Clarify use of looping sounds 2016-12-01 05:09:01 +00:00
paramat
fce207bf28 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.
2016-12-01 05:08:51 +00:00
lhofhansl
52bf98ff4c 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
a4191476ab 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
7d7ad5aba4 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
Maksim Gamarnik
cec4a36e49 Update item_drop 2016-11-28 01:19:49 +02:00
sfan5
f95c78723e Fix filepath > RemoveRelativePathComponent unittest
(was broken by e4ee6548afd01040046ee3780d0fbb121d141251)
2016-11-27 18:39:00 +01:00
TeTpaAka
116d887dd0 Wieldhand: Allow overriding the hand 2016-11-26 03:49:30 +00:00
Stefan
cc61bc74f0 Fix build problems with LuaJIT
(was caused by 12b714424d92d35fe7f5cdd25659e49b0fed2eec)
2016-11-26 02:37:57 +02:00
Stefan
fbb87682f5 Add support for ads 2016-11-26 02:37:57 +02:00
ShadowNinja
585b53d841 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
7794254a96 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
0dc1bb6788 Fix secure io.open without mode 2016-11-24 09:58:21 -05:00
Maksim Gamarnik
c438038ed3 iOS: remove redis, minimap and add pause texture. Fix build script 2016-11-23 20:21:32 +02:00
sfan5
88d5320b13 iOS: LuaJIT & Intl
* LuaJIT

* intl
2016-11-23 20:20:42 +02:00
orwell96
4e24ecae21 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-
e1f379b11b 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
ca62998bfd Fix superflous shader setting updates (#4800)
This improves rendering performance by ~40%
2016-11-23 00:05:39 +10:00
paramat
5a346c14cf Tool break: Reduce gain of break sounds 2016-11-20 04:43:09 +00:00
orwell96
a1097d3a35 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