oweals/minetest.git
7 years agoFix MSVC build broken by 34d32ce
SmallJoker [Mon, 17 Apr 2017 11:49:48 +0000 (13:49 +0200)]
Fix MSVC build broken by 34d32ce
`round` -> `myround`
Remove superflous `floor` calls

7 years agoMeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock copying...
Perttu Ahola [Sat, 15 Apr 2017 07:55:52 +0000 (10:55 +0300)]
MeshUpdateQueue: Add a MapBlock cache that minimizes the amount of MapBlock copying done in the main thread

Cache size is configurable by the meshgen_block_cache_size (default 20 MB).

New profiler stats:
- MeshUpdateQueue MapBlock cache hit %
- MeshUpdateQueue MapBlock cache size kB

Removes one type of stutter that was seen on the client when received MapBlocks
were being handled. (the "MeshMakeData::fill" stutter)

Kind of related to at least #5239

Originally preceded by these commits, now includes them:
- Move the mesh generator thread into src/mesh_generator_thread.{cpp,h}
- mesh_generator_thread.cpp: Update code style
- MeshUpdateThread: Modify interface to house a different implementation: Actual functionality will be changed by next commits.
- MeshMakeData: Add fillBlockData() interface (so that caller can fill in stuff from eg. a MapBlock cache)

7 years agoInclude container.h in util/thread.h. util/thread.h doesn't compile without it
Perttu Ahola [Sat, 15 Apr 2017 15:21:23 +0000 (18:21 +0300)]
Include container.h in util/thread.h. util/thread.h doesn't compile without it

7 years agoSneak: Add option for old move code
paramat [Wed, 5 Apr 2017 11:18:22 +0000 (12:18 +0100)]
Sneak: Add option for old move code

Temporary option for the old move code for specific old sneak behaviour.
Enabled by setting the added 'new move' physics override to false.
By default 'new move' is true.

7 years agoRemove an unused variable in Android Build
Loic Blot [Mon, 17 Apr 2017 07:37:12 +0000 (09:37 +0200)]
Remove an unused variable in Android Build

7 years agoPlug two minor Leaks (#5603)
Auke Kok [Mon, 17 Apr 2017 07:04:58 +0000 (00:04 -0700)]
Plug two minor Leaks (#5603)

* Resource leak: CHECK_FILE_ERR returns, without freeing chunk_name.

Found with static analysis.

* Resource leak: leaks `page` on error path.

Found with static analysis.

7 years agoAndroid progressbar fix (#5601)
Loïc Blot [Sun, 16 Apr 2017 12:44:15 +0000 (14:44 +0200)]
Android progressbar fix (#5601)

* Fix progressbar for Android

Fixes #5599
Fixed #5403

* draw_load_screen: use texturesource
  this permits to unify texture loading code
* scale progress bar

* Add gl version check for GL_OES_texture_npot. This fixed the texture on loading screen

* Remove two sanity checks pointed by @celeron55

* sfan5 comments + android ratio fixes

7 years agoDisable android leveldb by default (#5596)
Nathanaël Courant [Sun, 16 Apr 2017 07:48:48 +0000 (00:48 -0700)]
Disable android leveldb by default (#5596)

1) Now leveldb is brick (thanks google)
2) By default, use SQLite3, this work perfectly and NOBODY not use LevelDB on Android :)

7 years agoImplement delayed server shutdown with cancelation (#4664)
Loïc Blot [Sat, 15 Apr 2017 21:19:18 +0000 (23:19 +0200)]
Implement delayed server shutdown with cancelation (#4664)

7 years agoMinimap: Do a double-typecast to fix compiling with MSVC
SmallJoker [Sat, 15 Apr 2017 12:30:27 +0000 (14:30 +0200)]
Minimap: Do a double-typecast to fix compiling with MSVC

7 years agoPartial damage cheat fix: node damages server side (#4981)
Loïc Blot [Sat, 15 Apr 2017 07:25:43 +0000 (09:25 +0200)]
Partial damage cheat fix: node damages server side (#4981)

* Damage cheat fix: server side

* Lava/Node damages overtime server side
* lava hurt interval is only for old protocol

7 years agoNetworkPacket: don't copy push std::string and std::wstring
Loic Blot [Fri, 14 Apr 2017 16:26:24 +0000 (18:26 +0200)]
NetworkPacket: don't copy push std::string and std::wstring

7 years agoFix wrong channel type in Client/Server CommandFactories
Loic Blot [Fri, 14 Apr 2017 13:56:40 +0000 (15:56 +0200)]
Fix wrong channel type in Client/Server CommandFactories
This is a u8 not a u16

7 years agoClientIface::sendToAll: honor packet configuration (#5590)
Loïc Blot [Fri, 14 Apr 2017 13:34:01 +0000 (15:34 +0200)]
ClientIface::sendToAll: honor packet configuration (#5590)

7 years agoFix android build
Loic Blot [Fri, 14 Apr 2017 07:26:11 +0000 (09:26 +0200)]
Fix android build

7 years ago[CSM] Add function to set minimap shape (#5569)
bigfoot547 [Fri, 14 Apr 2017 07:04:41 +0000 (02:04 -0500)]
[CSM] Add function to set minimap shape (#5569)

* [CSM] Add function to set minimap shape

Also deprecates `toggle_shape`.

* Oh fish, I messed that one up!

* Fix Style

* Sorry, I missed something

I still had the `luamethod` call in there!

* Add getters

* Remove extra line

* Remove useless variable

Please review again @nerzhul . Thanks!

* Satisfy nerzhul

7 years agoOnly use palette if param_type2 is correct
Dániel Juhász [Wed, 12 Apr 2017 23:24:00 +0000 (01:24 +0200)]
Only use palette if param_type2 is correct

7 years agoAdd documentation for map block format 27 (#5576)
Dániel Juhász [Thu, 13 Apr 2017 08:19:46 +0000 (10:19 +0200)]
Add documentation for map block format 27 (#5576)

7 years ago[CSM] Fix localplayer documentation (#5557)
Vincent Glize [Wed, 12 Apr 2017 21:05:01 +0000 (23:05 +0200)]
[CSM] Fix localplayer documentation (#5557)

7 years agoFix inability to change metadata using stack:to_table() (#5547)
numberZero [Wed, 12 Apr 2017 14:51:07 +0000 (18:51 +0400)]
Fix inability to change metadata using stack:to_table() (#5547)

7 years agoFix fips_cipher_abort warning and other duplicate macros
Loic Blot [Wed, 12 Apr 2017 07:05:27 +0000 (09:05 +0200)]
Fix fips_cipher_abort warning and other duplicate macros

7 years ago[CSM] Allow escaping chatcommands and add missing calls to gettext. (#5565)
red-001 [Tue, 11 Apr 2017 21:35:25 +0000 (22:35 +0100)]
[CSM] Allow escaping chatcommands and add missing calls to gettext. (#5565)

7 years agoReplace occurrence of luaL_reg in l_localplayer (#5566)
t0ny2 [Tue, 11 Apr 2017 17:29:24 +0000 (18:29 +0100)]
Replace occurrence of luaL_reg in l_localplayer (#5566)

Related to commit 41c5483. Replace a final occurrence of luaL_reg in
src/script/lua_api/l_localplayer.cpp

7 years agoSneak glitch: Detect ledge for 2-node climb-up
paramat [Thu, 6 Apr 2017 14:58:12 +0000 (15:58 +0100)]
Sneak glitch: Detect ledge for 2-node climb-up

Re-creates the old sneak-jump behaviour in new code.
Enabled by the 'sneak glitch' physics override.
When a ledge is detected the jump speed modifier is set to the larger
of 'physics override jump' and 1.3 to allow a 2-node climb-up.

An unexpected side-effect is the simple sneak ladder working smoothly.

7 years ago[CSM] Use more gettext (#5553)
red-001 [Mon, 10 Apr 2017 19:14:00 +0000 (20:14 +0100)]
[CSM] Use more gettext (#5553)

7 years ago[CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)
red-001 [Mon, 10 Apr 2017 19:13:20 +0000 (20:13 +0100)]
[CSM] Move `.list_players` and `.disconnect` to builtin. (#5550)

7 years agoClang-format fix for Android
Loïc Blot [Mon, 10 Apr 2017 07:40:06 +0000 (09:40 +0200)]
Clang-format fix for Android

7 years agoClang-format styles fixes since previous commit
Loïc Blot [Mon, 10 Apr 2017 07:17:53 +0000 (09:17 +0200)]
Clang-format styles fixes since previous commit

7 years agoClang format: fix LINT on old PR which doesn't have LINT enabled
Loic Blot [Mon, 10 Apr 2017 06:05:03 +0000 (08:05 +0200)]
Clang format: fix LINT on old PR which doesn't have LINT enabled

7 years agoHard-coded undersampling.
number Zero [Thu, 12 Jan 2017 09:19:36 +0000 (12:19 +0300)]
Hard-coded undersampling.

Adds uniform undersampling for the 3D rendered scene. GUI elements
are not undersampled, resulting in better playability for users
with low-performance platforms with readable fonts and formspecs.

The undersampling setting can be set to 0 (disabled), 2, 3, 4 pixels
which translates into a resolution reduction of x4, x9 or x16, and
is significant.

7 years agoLocalPlayer api lua
Vincent Glize [Sat, 8 Apr 2017 10:26:45 +0000 (12:26 +0200)]
LocalPlayer api lua

7 years agoHardware coloring for itemstacks
Dániel Juhász [Fri, 10 Mar 2017 17:25:58 +0000 (18:25 +0100)]
Hardware coloring for itemstacks

Adds the possibility to colorize item stacks based on their metadata.

In the item/node definition you can specify palette (an image file)
and color (fallback color if the item has no palette or metadata).
Then you can add palette_index to the metadata.

Dropped itemstacks with different colors do not merge.

7 years agoMove chat command handling code from C++ to Lua (#5528)
red-001 [Sat, 8 Apr 2017 18:03:57 +0000 (19:03 +0100)]
Move chat command handling code from C++ to Lua (#5528)

7 years agoDocument that write_json will error on unserializable types. (#5539)
raymoo [Sat, 8 Apr 2017 08:42:59 +0000 (01:42 -0700)]
Document that write_json will error on unserializable types. (#5539)

Previously it was erroneously documented that it would save them as null.

7 years agoPrepare for Linux daily build packages (using Gitlab.com CI) (#5542)
Loïc Blot [Sat, 8 Apr 2017 08:19:07 +0000 (10:19 +0200)]
Prepare for Linux daily build packages (using Gitlab.com CI) (#5542)

* Prepare for Linux daily build packages (using Gitlab.com CI)

7 years agoReplace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat (#5541)
Loïc Blot [Sat, 8 Apr 2017 07:28:37 +0000 (09:28 +0200)]
Replace luaL_reg with luaL_Reg as recent LuaJIT dropped the Lua 5.0 compat (#5541)

We are bundling Lua5.1 which has same macro

7 years agocode style fix on src/script/cpp_api/s_client.h
Loic Blot [Sat, 8 Apr 2017 06:45:58 +0000 (08:45 +0200)]
code style fix on src/script/cpp_api/s_client.h

7 years ago[CSM] Add event on_connect player API lua (#5540)
Vincent Glize [Sat, 8 Apr 2017 06:20:30 +0000 (08:20 +0200)]
[CSM] Add event on_connect player API lua (#5540)

* Add event on_connect player API lua

7 years agoFix cmake library default build problem since moving to lib/
Loic Blot [Fri, 7 Apr 2017 21:56:02 +0000 (23:56 +0200)]
Fix cmake library default build problem since moving to lib/

Also make Lua library check a cmake module

7 years agoPass clang-format on 14 trivial header files fixes
Loic Blot [Fri, 7 Apr 2017 21:22:00 +0000 (23:22 +0200)]
Pass clang-format on 14 trivial header files fixes

Also remove them from whitelist

7 years agoFix signed/unsigned conversion warning
rubenwardy [Fri, 7 Apr 2017 18:06:50 +0000 (19:06 +0100)]
Fix signed/unsigned conversion warning

There was no bug here (as I checked for negativeness),
however it's good to get rid of warnings.

7 years agoCavegen: Fix non-constant array initializer error for MSVC
SmallJoker [Fri, 7 Apr 2017 15:59:27 +0000 (17:59 +0200)]
Cavegen: Fix non-constant array initializer error for MSVC

7 years agoSettings: Update documentation (#5534)
SmallJoker [Fri, 7 Apr 2017 15:10:26 +0000 (17:10 +0200)]
Settings: Update documentation (#5534)

Now documented (sorted a-z):
enable_console
enable_particles
creative_mode
hud_scaling
inventory_image_hack
keymap_console
keymap_zoom
shader_path
view_bobbing

7 years agoClang-format: fix some header files and remove them from whitelist
Loic Blot [Fri, 7 Apr 2017 06:50:17 +0000 (08:50 +0200)]
Clang-format: fix some header files and remove them from whitelist

7 years agoAdd the REQUIRE_LUAJIT option (#5526)
YuGiOhJCJ [Fri, 7 Apr 2017 05:29:43 +0000 (07:29 +0200)]
Add the REQUIRE_LUAJIT option (#5526)

7 years agoWindows: Skip cmd for release builds (#5416)
adrido [Fri, 7 Apr 2017 05:14:39 +0000 (07:14 +0200)]
Windows: Skip cmd for release builds (#5416)

7 years agoFix "error: ‘playerSAO’ was not declared"
Auke Kok [Fri, 7 Apr 2017 05:04:40 +0000 (22:04 -0700)]
Fix "error: ‘playerSAO’ was not declared"

Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19

A rebase issue missed a rename from playerSAO to playersao.

Tested.

7 years agoFix spacing
Ekdohibs [Fri, 24 Mar 2017 14:56:10 +0000 (15:56 +0100)]
Fix spacing

7 years agoFix problems when overriding the hand:
Ekdohibs [Wed, 22 Mar 2017 02:25:16 +0000 (03:25 +0100)]
Fix problems when overriding the hand:
- If the hand can dig a node the item wielded can't, allow to dig it anyway.
- Fix the API callbacks from setting the hand instead of the wielded item.

7 years agoAdd Joystick type detection and Xbox controller support
rubenwardy [Sun, 2 Apr 2017 22:00:34 +0000 (23:00 +0100)]
Add Joystick type detection and Xbox controller support

* Add joystick type detection (with joystick_type setting to override it)
* Fix multiple joysticks from interfering with each other by only reading from one (add joystick_id setting)
* Add support for Xbox controllers

7 years agoFix multiple death messages (#5305)
presstabstart [Fri, 7 Apr 2017 03:32:50 +0000 (04:32 +0100)]
Fix multiple death messages (#5305)

Fix multiple death messages (#3565) and damage server logs after death.

7 years agoShow media download progress in percent on progress screen (#5498)
orwell96 [Thu, 6 Apr 2017 22:03:29 +0000 (00:03 +0200)]
Show media download progress in percent on progress screen (#5498)

7 years agoLINT: Switch whitelist check from egrep to awk
Loïc Blot [Thu, 6 Apr 2017 14:03:29 +0000 (16:03 +0200)]
LINT: Switch whitelist check from egrep to awk

Bonus: make CI happy with the last rules fix

7 years ago[CSM] Add function to get the server protocol version. (#5529)
red-001 [Thu, 6 Apr 2017 20:50:45 +0000 (21:50 +0100)]
[CSM] Add function to get the server protocol version. (#5529)

7 years agoClang-format continuation indent fixes + .gitignore additions 5302/head
Loïc Blot [Thu, 6 Apr 2017 13:37:02 +0000 (15:37 +0200)]
Clang-format continuation indent fixes + .gitignore additions

* Proper support for continuation indents in clang format
* make src/wieldmesh.h proper and remove it from whitelist
* Add CLion default build directories in .gitignore

7 years agoClang format brace style fix
Loïc Blot [Thu, 6 Apr 2017 13:27:47 +0000 (15:27 +0200)]
Clang format brace style fix

7 years agoFix clang-format binary selection
Loïc Blot [Thu, 6 Apr 2017 08:01:09 +0000 (10:01 +0200)]
Fix clang-format binary selection

Also fix spaces to tabs

7 years agoMove LINT process in dedicated shell & fix
Loic Blot [Thu, 6 Apr 2017 07:10:59 +0000 (09:10 +0200)]
Move LINT process in dedicated shell & fix
Move lint to dedicated shell permit to use it from your shell easily to check what is wrong
Also fix recent regressions in code style

7 years agoClang format: only show errors on non whitelisted files
Loic Blot [Thu, 6 Apr 2017 06:42:52 +0000 (08:42 +0200)]
Clang format: only show errors on non whitelisted files

7 years agoTranslated using Weblate (Indonesian)
fdedraco [Sat, 1 Apr 2017 08:46:53 +0000 (08:46 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 69.4% (638 of 918 strings)

7 years agoTranslated using Weblate (Russian)
Andrey K [Fri, 31 Mar 2017 20:38:51 +0000 (20:38 +0000)]
Translated using Weblate (Russian)

Currently translated at 59.2% (544 of 918 strings)

7 years agoTranslated using Weblate (Italian)
i486DX2 [Thu, 30 Mar 2017 19:16:35 +0000 (19:16 +0000)]
Translated using Weblate (Italian)

Currently translated at 96.0% (882 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Gabriel Carvalho [Thu, 23 Mar 2017 18:24:31 +0000 (18:24 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.4% (913 of 918 strings)

Se isso se referir a Instrument builtin aa tradução é embutido

7 years agoTranslated using Weblate (Turkish)
monolifed [Mon, 13 Mar 2017 19:17:17 +0000 (19:17 +0000)]
Translated using Weblate (Turkish)

Currently translated at 87.0% (799 of 918 strings)

7 years agoTranslated using Weblate (Korean)
Han So Ri [Sun, 5 Mar 2017 03:12:50 +0000 (03:12 +0000)]
Translated using Weblate (Korean)

Currently translated at 67.8% (623 of 918 strings)

7 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Fri, 3 Mar 2017 12:19:44 +0000 (12:19 +0000)]
Translated using Weblate (Malay)

Currently translated at 37.0% (340 of 918 strings)

7 years agoTranslated using Weblate (Korean)
Han So Ri [Mon, 27 Feb 2017 06:30:28 +0000 (06:30 +0000)]
Translated using Weblate (Korean)

Currently translated at 66.4% (610 of 918 strings)

7 years agoTranslated using Weblate (Chinese (China))
黄冠恒 [Sun, 26 Feb 2017 14:56:16 +0000 (14:56 +0000)]
Translated using Weblate (Chinese (China))

Currently translated at 73.6% (676 of 918 strings)

7 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Sun, 26 Feb 2017 11:13:32 +0000 (11:13 +0000)]
Translated using Weblate (Malay)

Currently translated at 24.8% (228 of 918 strings)

7 years agoTranslated using Weblate (Serbian (cyrillic))
lisacvuk [Mon, 6 Feb 2017 16:24:06 +0000 (16:24 +0000)]
Translated using Weblate (Serbian (cyrillic))

Currently translated at 34.9% (321 of 918 strings)

7 years agoTranslated using Weblate (Chinese (China))
susan [Sun, 5 Feb 2017 14:54:43 +0000 (14:54 +0000)]
Translated using Weblate (Chinese (China))

Currently translated at 73.0% (671 of 918 strings)

7 years agoTranslated using Weblate (Polish)
Jakub Mendel [Sat, 4 Feb 2017 14:50:31 +0000 (14:50 +0000)]
Translated using Weblate (Polish)

Currently translated at 70.2% (645 of 918 strings)

7 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Fri, 3 Feb 2017 22:17:07 +0000 (22:17 +0000)]
Translated using Weblate (Malay)

Currently translated at 17.4% (160 of 918 strings)

7 years agoTranslated using Weblate (Chinese (China))
zaoqi [Sun, 5 Feb 2017 14:54:26 +0000 (14:54 +0000)]
Translated using Weblate (Chinese (China))

Currently translated at 73.0% (671 of 918 strings)

7 years agoAdded translation using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Fri, 3 Feb 2017 17:56:46 +0000 (17:56 +0000)]
Added translation using Weblate (Malay)

7 years agoTranslated using Weblate (Chinese (China))
Guo Yunhe [Sun, 22 Jan 2017 20:37:04 +0000 (20:37 +0000)]
Translated using Weblate (Chinese (China))

Currently translated at 72.9% (670 of 918 strings)

7 years agoTranslated using Weblate (Belarusian)
Viktar Vauchkevich [Mon, 16 Jan 2017 15:39:13 +0000 (15:39 +0000)]
Translated using Weblate (Belarusian)

Currently translated at 100.0% (918 of 918 strings)

7 years agoTranslated using Weblate (Norwegian Bokmål)
Petter Reinholdtsen [Sun, 15 Jan 2017 14:54:29 +0000 (14:54 +0000)]
Translated using Weblate (Norwegian Bokmål)

Currently translated at 3.9% (36 of 918 strings)

7 years agoTranslated using Weblate (Belarusian)
Viktar Vauchkevich [Sun, 15 Jan 2017 16:42:07 +0000 (16:42 +0000)]
Translated using Weblate (Belarusian)

Currently translated at 100.0% (918 of 918 strings)

7 years agoTranslated using Weblate (Belarusian)
Viktar Vauchkevich [Sat, 31 Dec 2016 12:19:40 +0000 (12:19 +0000)]
Translated using Weblate (Belarusian)

Currently translated at 13.5% (124 of 918 strings)

7 years agoTranslated using Weblate (Polish)
Andrzej Redlarski [Fri, 30 Dec 2016 15:48:52 +0000 (15:48 +0000)]
Translated using Weblate (Polish)

Currently translated at 61.2% (562 of 918 strings)

7 years agoTranslated using Weblate (Indonesian)
Muhammad Rifqi Priyo Susanto [Fri, 30 Dec 2016 02:37:23 +0000 (02:37 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 69.4% (638 of 918 strings)

7 years agoTranslated using Weblate (Lithuanian)
ignaloidas [Wed, 28 Dec 2016 12:00:17 +0000 (12:00 +0000)]
Translated using Weblate (Lithuanian)

Currently translated at 27.1% (249 of 918 strings)

7 years agoTranslated using Weblate (Portuguese (Brazil))
Cold Meson 06 [Mon, 26 Dec 2016 18:35:24 +0000 (18:35 +0000)]
Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.3% (912 of 918 strings)

7 years ago[CSM] Add support for positional audio. (#5516)
red-001 [Thu, 6 Apr 2017 06:14:31 +0000 (07:14 +0100)]
[CSM] Add support for positional audio. (#5516)

Fixes parts of #5389.

7 years agoExpose vector helpers to CSM
Loic Blot [Thu, 6 Apr 2017 05:57:49 +0000 (07:57 +0200)]
Expose vector helpers to CSM

7 years agoMemleak fix: LocalPlayer object was not deleted
Loïc Blot [Wed, 5 Apr 2017 10:30:52 +0000 (12:30 +0200)]
Memleak fix: LocalPlayer object was not deleted

Delete LocalPlayer when ClientEnvironment (object owner) is destroyed

7 years agoMapgen documentation: Add descriptions to noise parameters
paramat [Tue, 4 Apr 2017 10:59:52 +0000 (11:59 +0100)]
Mapgen documentation: Add descriptions to noise parameters

Shorten 'readable names'.
Add a new advanced settings menu section for Biome API noises.
Various minor edits and improvements.

7 years agoMapgen: Remove '#include treegen.h' from non-mgv6 mapgens
paramat [Tue, 4 Apr 2017 05:37:21 +0000 (06:37 +0100)]
Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens

Only mgv6 uses the tree functions from treegen.cpp.

7 years agoMapgenBasic: Add lava source as commonly used content (#5512)
Paramat [Tue, 4 Apr 2017 05:51:58 +0000 (06:51 +0100)]
MapgenBasic: Add lava source as commonly used content (#5512)

Future mapgens are likely to use this for magma and volcanos.
Remove the getting of lava source content id in mgvalleys.

7 years agoClient handlers: Remove useless stringstream usage in two handlers (#5510)
Loïc Blot [Tue, 4 Apr 2017 05:47:04 +0000 (07:47 +0200)]
Client handlers: Remove useless stringstream usage in two handlers (#5510)

7 years ago[CSM] Add local node meta reference. (#5508)
red-001 [Tue, 4 Apr 2017 05:41:37 +0000 (06:41 +0100)]
[CSM] Add local node meta reference. (#5508)

7 years agoCavegen/Mgv5/Mgv7: Add optional giant caverns
paramat [Sun, 12 Mar 2017 13:26:09 +0000 (13:26 +0000)]
Cavegen/Mgv5/Mgv7: Add optional giant caverns

Add to MapgenBasic for use by multiple mapgens.
Add to mgv5 and mgv7, enabled by default.

Similar to mgvalleys caverns but half the scale.
Parameters for upper y limit, distance caverns taper to full size, and
noise threshold (full cavern size).
As with mgvalleys caverns are generated first and classic caves are
disabled in any mapchunk containing a cavern, to avoid excessive
spreading volumes of liquids.
This also avoids floating blobs of liquid where a large classic cave
has overgenerated out into a neighbouring previously-generated mapchunk.

7 years agoUpdate embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ instead of...
Loïc Blot [Sun, 2 Apr 2017 08:51:50 +0000 (10:51 +0200)]
Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ instead of src/ (#5473)

* Update embedded jsoncpp from unk version to 0.10.6

0.10.6 is last release without c++11

* Make jsoncpp more compliant with its amalgamate

Jsoncpp cpp file should be upper, make the library like it does in amalgamate

* Reorganization: move minetest embedded libs outside of source tree to /lib

* Fix a dead grep in LINT

7 years agominetest.after(): simplify further, pause in singleplayer (#5500)
Auke Kok [Sun, 2 Apr 2017 08:51:16 +0000 (08:51 +0000)]
minetest.after(): simplify further, pause in singleplayer (#5500)

Using the `dtime` value entirely, this will stop the clock
if the game is paused in singleplayer. Since most of the
clocks were fixed a long time ago, this should again be
safe to use.

7 years agoFirst commit for fine pointed (#5485)
MarkuBu [Sat, 1 Apr 2017 14:50:53 +0000 (16:50 +0200)]
First commit for fine pointed (#5485)

7 years agoAdd missing source to android build (#5496)
Uwe Koloska [Sat, 1 Apr 2017 14:47:58 +0000 (16:47 +0200)]
Add missing source to android build (#5496)

7 years agoClang-format: trivial fix on some headers (#5495)
Loïc Blot [Sat, 1 Apr 2017 12:48:16 +0000 (14:48 +0200)]
Clang-format: trivial fix on some headers (#5495)

Fix some headers style and remove them from whitelist

7 years ago[CSM] Add function and chat command to disconnect from server. (#5487)
red-001 [Sat, 1 Apr 2017 11:40:56 +0000 (12:40 +0100)]
[CSM] Add function and chat command to disconnect from server. (#5487)

7 years agoSignlike, glasslike drawtypes: Fix inverted textures
number Zero [Sat, 25 Mar 2017 18:01:27 +0000 (21:01 +0300)]
Signlike, glasslike drawtypes: Fix inverted textures