Commit Graph

7369 Commits

Author SHA1 Message Date
RealBadAngel
a64d78a37e Speed up and make more accurate relief mapping
using linear + binary search.
2015-12-10 18:24:11 +01:00
ShadowNinja
696148e298 Fix Event implementation
On non-windows platforms this just used a semaphore,
which meant that multiple calls to signal() would
result in wait() returning multiple times.
2015-12-07 13:53:56 -05:00
ShadowNinja
ea2964f5a1 Add seperate cache path
This is set to the XDG cache path where possible.
It's set to the app's cache path on Android.
2015-12-07 13:51:41 -05:00
est31
51e8c2b277 Fix threshold type
Fix the type of the threshold value for mapgen.
The commit

a78dd7f2b6b0e1fefdbaa1ae21b722dd4459e4f4 "Fix spelling of noise_threshold"

has changed it to be read as int, but it can have non-integral values too.

Thanks to @kwolekr for pointing this out.
2015-12-07 09:57:45 +01:00
est31
9a5a538e8d lua_api.txt: add blank lines before * lists
If rendered as markdown, lists need a blank line before them
so that they are recognized as such.
2015-12-07 07:27:51 +01:00
paramat
49073ba2c3 Mapgen: Add propagate_shadow bool to calcLighting
To terminate unwanted shadows from floatlands or realms above
Also add to LuaVoxelManip calc_lighting for use in mapgen mods
Remove the 2 argument calcLighting, mapgens now use the 5
argument form to specify the volumes for propagateSunlight and
spreadLight
In mgsinglenode replace calcLighting with setLighting and
clean-up use of tabs and spaces
2015-12-07 03:18:24 +00:00
Jun Zhang
a78dd7f2b6 Fix spelling of noise_threshold 2015-12-06 11:38:03 +01:00
Ferdinand Thiessen
70ece71ee4 Improve LuaJIT detection
On openSUSE luajit is not detected correctly.
This is because openSUSE is using a lua version suffix, like other Linux distributions do it also.
So the include directory is:
include/luajit-5_1-2.0
2015-12-05 23:31:09 +01:00
est31
5643b9b9ed Make travis work again
Now we do sudo apt-get update to download package sources.
This fixes travis build with the new GCE based infrastructure.

Closes #3427.
Closes #3426.
2015-12-05 18:01:01 +01:00
Ferdinand Thiessen
d8975eabf9 Fix build if BUILD_SHARED_LIBS defaults to "ON"
openSUSE sets that option to ON.

Fixes #3420.
2015-12-03 21:35:22 +01:00
est31
89168a7ec8 Document limitations of minetest.get_password_hash 2015-12-02 18:32:14 +01:00
paramat
e51ea66bd0 Mgv5/v7/flat/fractal: More large pseudorandom caves
Mgv7/flat/fractal: Reduce tunnel noise spreads to 96
2015-12-02 02:19:52 +00:00
Alex Ford
97908cc656 Add on_secondary_use when right clicking an item in the air 2015-12-02 02:18:44 +00:00
paramat
57b429574e Dungeongen: Fix rarely triggered segfault
A segfault exposed a missing 'vm->m_area.contains()'
check in makeCorridor that allowed the calculation
of vm index for a node outside the vm area. The huge
and invalid index number caused getContent to fail
2015-12-01 00:36:38 +00:00
Jay Arndt
6fead2818a Remove unused OpenALSoundManager::m_can_vorbis and EXT_vorbis check 2015-12-01 00:36:11 +00:00
paramat
5292ba7391 Lua_api.txt: Add documentation for biome definition 2015-11-29 21:55:58 +00:00
paramat
452c88308c Dungeongen: Also preserve river water nodes
For future river mapgens
Dungeons will not generate in river water, to
avoid dungeons filling and blocking river channels
2015-11-29 21:55:43 +00:00
Aaron Suen
900db31063 Re-enable texture pre-filters on wielditems, fixing #3178. 2015-11-24 03:22:31 +01:00
Robert Zenz
0cf15470fc Simplify regex used in check_modname_prefix and other improvements.
Simplified the regex used, added comments and changed the error message
to contain the correct mod name.
2015-11-24 01:49:59 +01:00
paramat
c24f3b0a65 Mgfractal: Move julia set selection into formula parameter
Improve default parameters
Update and improve documentation
Unhide mapgen, but is still unstable
2015-11-23 00:34:09 +00:00
est31
a4e3ed0136 Update HUD flags on server like on client
Fixes bug for which commit

6c37e89f08f962eaba788a31f5d3c798ceaa65e6 "Fix old client showing duplicated health bar on new server"
by @sapier

laid the groundwork, where the server has
updated its copy of the hud flags without
respecting the mask.

Fixes #3395.
2015-11-22 16:49:20 +01:00
paramat
d7bbe81726 Mapgen: Add global 'decorations' flag
Flag is set by default in MapgenParams
The global 'trees' flag remains but is now
undocumented and unset by default in MapgenParams
Add mgv6_spflag 'trees' set by default in
defaultsettings.cpp to affect new worlds only
This is automatically backwards
compatible for existing worlds
2015-11-21 00:10:08 +00:00
Rui
4fd394b657 Log static_spawn error only once 2015-11-21 00:13:28 +01:00
est31
2f58e4d962 Android: hardcode irrlicht revision, update other dependencies
Recent irrlicht revisions break the build, hardcode the revision to a working one
until upstream publishes a working version. See issue #3366 for
a discussion about this.

Also update dependencies to current versions.
2015-11-16 17:33:01 +01:00
Amaz
e664abeb88 Add a status text for autorun 2015-11-15 13:42:31 +01:00
TeTpaAka
3f8eb5e0d0 Allow craft replacements to use groups 2015-11-15 13:41:38 +01:00
LelixSuperHD
c19b43d4f7 Translated using Weblate (Italian)
Currently translated at 42.0% (331 of 787 strings)
2015-11-15 13:40:14 +01:00
Joan Ciprià Moreno
fd1b837122 Translated using Weblate (Spanish)
Currently translated at 45.8% (361 of 787 strings)
2015-11-15 13:40:14 +01:00
Joan Ciprià Moreno
a8d2aa9c81 Translated using Weblate (Catalan)
Currently translated at 32.4% (255 of 787 strings)
2015-11-15 13:40:14 +01:00
ShadowNinja
132e06199d Translated using Weblate (Spanish)
Currently translated at 45.7% (360 of 787 strings)
2015-11-15 13:40:14 +01:00
Joan Ciprià Moreno
71fc4040a9 Translated using Weblate (Spanish)
Currently translated at 45.6% (359 of 787 strings)
2015-11-15 13:40:14 +01:00
Wuzzy
013e8e6adc Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)
2015-11-15 13:40:13 +01:00
Joan Ciprià Moreno
84b72b1120 Translated using Weblate (Catalan)
Currently translated at 26.3% (207 of 787 strings)

-
2015-11-15 13:40:13 +01:00
Joan Ciprià Moreno
ea1af74d31 Translated using Weblate (Catalan)
Currently translated at 11.8% (93 of 787 strings)
2015-11-15 13:40:13 +01:00
Joan Ciprià Moreno
b54f5ddfec Translated using Weblate (Spanish)
Currently translated at 31.6% (249 of 787 strings)
2015-11-15 13:40:13 +01:00
Maciej Kasatkin
c0e2bc30e5 Translated using Weblate (Polish)
Currently translated at 31.6% (249 of 787 strings)
2015-11-15 13:40:13 +01:00
nobb
1e8286467f Translated using Weblate (Japanese)
Currently translated at 41.4% (326 of 787 strings)
2015-11-15 13:40:13 +01:00
Wuzzy
fd84a388f8 Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)
2015-11-15 13:40:12 +01:00
Joan Ciprià Moreno
564ebf0499 Translated using Weblate (Catalan)
Currently translated at 9.2% (73 of 787 strings)
2015-11-15 13:40:12 +01:00
Wuzzy
28fd913058 Translated using Weblate (German)
Currently translated at 100.0% (787 of 787 strings)
2015-11-15 13:40:12 +01:00
Joan Ciprià Moreno
c990dbece4 Translated using Weblate (Catalan)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-11-15 13:40:12 +01:00
Kristjan Räts
bba7fed23b Translated using Weblate (Estonian)
Currently translated at 21.4% (169 of 787 strings)
2015-11-15 13:40:12 +01:00
Rogier
ac99a2873d Translated using Weblate (Dutch)
Currently translated at 44.0% (347 of 787 strings)
2015-11-15 13:40:12 +01:00
Jarosław Maciejewski
ca322b487d Translated using Weblate (Polish)
Currently translated at 25.4% (200 of 787 strings)
2015-11-15 13:40:11 +01:00
Rui
59c16b3dab Translated using Weblate (Japanese)
Currently translated at 40.2% (317 of 787 strings)
2015-11-15 13:40:11 +01:00
Jean-Patrick G
5c2efab0e4 Translated using Weblate (French)
Currently translated at 100.0% (787 of 787 strings)
2015-11-15 13:40:11 +01:00
Jean-Patrick G
3bf332d9f5 Translated using Weblate (French)
Currently translated at 96.8% (762 of 787 strings)
2015-11-15 13:40:11 +01:00
paramat
cb7da90138 Mgfractal: Revert unnecessary duplication of parameters 2015-11-15 08:13:36 +00:00
est31
bdfb761dd0 sound_openal.cpp: remove unused header 2015-11-15 08:17:32 +01:00
est31
395ef21c86 Load sound from memory
* Remove trailing lines from src/sound_openal.cpp
* Don't do a horribly ugly copy of the file's path, allocating and deallocating a
	10 kb buffer in the process. This copy was needed for backwards compatibility
	with libvorbis 1.3.1 and earlier, as the removed comment explains.
	However, even Ubuntu precise has 1.3.2 already. Dropping support and sparing
	the ugly copy can therefore be considered safe.
* Actually load sounds from the memory, not caching them at the disk first,
	removing the old hack. This is the main motivation for the commit.
2015-11-14 18:17:32 +01:00