oweals/minetest.git
7 years agoMinetest for C++11 (CMakeLists + Travis)
Loic Blot [Fri, 26 May 2017 15:03:46 +0000 (17:03 +0200)]
Minetest for C++11 (CMakeLists + Travis)

* Move GCC to GCC 6 & GCC 7
* Move Clang to Clang 3.6 & Clang 4.0
* LINT moves from Clang 3.9 to Clang 4.0
* Move XCode 7.3 to 8.0
* Use more travis tricks to install compilers instead of adding complexity to our build script
* Clang format fixes on checked files (compat Cpp11 instead of Cpp03)
* Mingw GCC update from 4.8.4 to 5.3 (Ubuntu Xenial)
* Drop mingw cmake generated files and add them to gitignore

7 years agoMapgen v6: Use snow blocks in tundra and remove them from taiga (#5827)
Casimir [Sun, 4 Jun 2017 07:37:30 +0000 (09:37 +0200)]
Mapgen v6: Use snow blocks in tundra and remove them from taiga (#5827)

* Mapgen v6: Use snow blocks in tundra and remove them from taiga

* Use snowblocks in tundra above dirt with snow

7 years agoFix segmentation fault with tool capabilities (#5899)
ShadowNinja [Sat, 3 Jun 2017 21:59:17 +0000 (17:59 -0400)]
Fix segmentation fault with tool capabilities (#5899)

7 years agoSnake case for screen options in minetest.conf (#5792)
Vincent Glize [Sat, 3 Jun 2017 20:02:07 +0000 (22:02 +0200)]
Snake case for screen options in minetest.conf (#5792)

7 years agoContinue with 0.4.16-dev
ShadowNinja [Sat, 3 Jun 2017 18:42:10 +0000 (14:42 -0400)]
Continue with 0.4.16-dev

7 years agoBump version to 0.4.16 0.4.16
ShadowNinja [Sat, 3 Jun 2017 18:42:10 +0000 (14:42 -0400)]
Bump version to 0.4.16

7 years agoUpdate remove_player documentation
ShadowNinja [Sat, 3 Jun 2017 18:39:49 +0000 (14:39 -0400)]
Update remove_player documentation

This function only removes player meta data,
not player authentication data.

7 years agoUpdate credits
rubenwardy [Sun, 28 May 2017 19:37:44 +0000 (20:37 +0100)]
Update credits

The following algorithm was used when selecting contributors:

* Every non-trivial contributor from the current release,
  Non-trivial meaning more than X non-trivial commits, not counting documentation/translation changes
* The top Y contributors from the last 4 years.
* Previous contributor means no contributions since a few months before the last release.

In the future this should be automated

7 years agoTranslated using Weblate (Italian)
pandaro [Sat, 3 Jun 2017 10:10:53 +0000 (10:10 +0000)]
Translated using Weblate (Italian)

Currently translated at 77.6% (795 of 1024 strings)

7 years agoTranslated using Weblate (Serbian (cyrillic))
Лазар Вукановић [Fri, 2 Jun 2017 14:47:17 +0000 (14:47 +0000)]
Translated using Weblate (Serbian (cyrillic))

Currently translated at 38.1% (391 of 1024 strings)

7 years agoTranslated using Weblate (Polish)
Mateusz Mendel [Wed, 31 May 2017 19:57:58 +0000 (19:57 +0000)]
Translated using Weblate (Polish)

Currently translated at 61.3% (628 of 1024 strings)

7 years agoAdded translation using Weblate (Slovenian)
praprot [Fri, 2 Jun 2017 18:30:43 +0000 (18:30 +0000)]
Added translation using Weblate (Slovenian)

7 years agoTranslated using Weblate (Japanese)
BreadW [Mon, 29 May 2017 12:33:31 +0000 (12:33 +0000)]
Translated using Weblate (Japanese)

Currently translated at 48.2% (494 of 1024 strings)

7 years agoTranslated using Weblate (Dutch)
Emiel van Rooijen [Wed, 31 May 2017 09:20:24 +0000 (09:20 +0000)]
Translated using Weblate (Dutch)

Currently translated at 79.7% (817 of 1024 strings)

7 years agoTranslated using Weblate (Swedish)
texmex [Wed, 31 May 2017 07:56:28 +0000 (07:56 +0000)]
Translated using Weblate (Swedish)

Currently translated at 12.1% (124 of 1024 strings)

7 years agoTranslated using Weblate (Swedish)
metarmask [Wed, 31 May 2017 07:32:00 +0000 (07:32 +0000)]
Translated using Weblate (Swedish)

Currently translated at 11.0% (113 of 1024 strings)

7 years agoTranslated using Weblate (Swedish)
texmex [Wed, 31 May 2017 07:31:43 +0000 (07:31 +0000)]
Translated using Weblate (Swedish)

Currently translated at 10.9% (112 of 1024 strings)

7 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Fri, 26 May 2017 02:59:04 +0000 (02:59 +0000)]
Translated using Weblate (Malay)

Currently translated at 90.2% (924 of 1024 strings)

7 years agoTranslated using Weblate (Indonesian)
Muhammad Rifqi Priyo Susanto [Fri, 26 May 2017 14:36:18 +0000 (14:36 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 94.5% (968 of 1024 strings)

7 years agoTranslated using Weblate (Indonesian)
Muhammad Rifqi Priyo Susanto [Fri, 26 May 2017 03:06:23 +0000 (03:06 +0000)]
Translated using Weblate (Indonesian)

Currently translated at 84.2% (863 of 1024 strings)

7 years agoTranslated using Weblate (Belarusian)
Viktar Vauchkevich [Thu, 25 May 2017 17:22:33 +0000 (17:22 +0000)]
Translated using Weblate (Belarusian)

Currently translated at 100.0% (1024 of 1024 strings)

7 years agoTranslated using Weblate (French)
anonymous [Fri, 2 Jun 2017 12:27:13 +0000 (12:27 +0000)]
Translated using Weblate (French)

Currently translated at 88.6% (908 of 1024 strings)

7 years agoTranslated using Weblate (French)
Hugo Locurcio [Fri, 2 Jun 2017 12:26:56 +0000 (12:26 +0000)]
Translated using Weblate (French)

Currently translated at 88.5% (907 of 1024 strings)

7 years agoTranslated using Weblate (French)
Loïc Blot [Mon, 22 May 2017 17:47:43 +0000 (17:47 +0000)]
Translated using Weblate (French)

Currently translated at 88.4% (906 of 1024 strings)

7 years agoTranslated using Weblate (French)
José [Mon, 22 May 2017 09:52:31 +0000 (09:52 +0000)]
Translated using Weblate (French)

Currently translated at 87.4% (895 of 1024 strings)

7 years agoTranslated using Weblate (French)
Loïc Blot [Mon, 22 May 2017 06:15:56 +0000 (06:15 +0000)]
Translated using Weblate (French)

Currently translated at 86.9% (890 of 1024 strings)

7 years agoTranslated using Weblate (Turkish)
monolifed [Sun, 21 May 2017 20:45:47 +0000 (20:45 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (1024 of 1024 strings)

7 years agoTranslated using Weblate (German)
Wuzzy [Sun, 21 May 2017 21:54:17 +0000 (21:54 +0000)]
Translated using Weblate (German)

Currently translated at 100.0% (1024 of 1024 strings)

7 years agoTranslated using Weblate (German)
LNJ [Sun, 21 May 2017 20:04:50 +0000 (20:04 +0000)]
Translated using Weblate (German)

Currently translated at 99.8% (1022 of 1024 strings)

7 years agoTranslated using Weblate (German)
Wuzzy [Sun, 21 May 2017 19:57:22 +0000 (19:57 +0000)]
Translated using Weblate (German)

Currently translated at 99.8% (1022 of 1024 strings)

7 years agoTranslated using Weblate (Ukrainian)
Fixer [Sun, 21 May 2017 20:31:30 +0000 (20:31 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 40.0% (410 of 1024 strings)

7 years agoTranslated using Weblate (Ukrainian)
Olexandr [Sun, 21 May 2017 17:29:04 +0000 (17:29 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 37.6% (386 of 1024 strings)

7 years agoTranslated using Weblate (Ukrainian)
Fixer [Sun, 21 May 2017 17:28:17 +0000 (17:28 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 37.6% (386 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Fri, 2 Jun 2017 19:42:43 +0000 (19:42 +0000)]
Translated using Weblate (Russian)

Currently translated at 96.3% (987 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Andrew Zyabin [Wed, 31 May 2017 10:20:48 +0000 (10:20 +0000)]
Translated using Weblate (Russian)

Currently translated at 96.2% (986 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Sergey [Wed, 31 May 2017 10:20:38 +0000 (10:20 +0000)]
Translated using Weblate (Russian)

Currently translated at 96.2% (986 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Andrew Zyabin [Wed, 31 May 2017 10:16:58 +0000 (10:16 +0000)]
Translated using Weblate (Russian)

Currently translated at 96.1% (985 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
anonymous [Wed, 31 May 2017 10:16:19 +0000 (10:16 +0000)]
Translated using Weblate (Russian)

Currently translated at 96.0% (984 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Wed, 24 May 2017 08:24:26 +0000 (08:24 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.8% (982 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Alex “XShell” Schekoldin [Wed, 24 May 2017 08:17:48 +0000 (08:17 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.8% (981 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Wed, 24 May 2017 07:40:53 +0000 (07:40 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.8% (981 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Pavel Sokolov [Wed, 24 May 2017 07:40:38 +0000 (07:40 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.8% (981 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Wed, 24 May 2017 07:39:06 +0000 (07:39 +0000)]
Translated using Weblate (Russian)

Currently translated at 95.8% (981 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Sergey [Tue, 23 May 2017 19:55:59 +0000 (19:55 +0000)]
Translated using Weblate (Russian)

Currently translated at 75.5% (774 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Tue, 23 May 2017 19:55:44 +0000 (19:55 +0000)]
Translated using Weblate (Russian)

Currently translated at 75.3% (772 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
Sergey [Sun, 21 May 2017 18:55:24 +0000 (18:55 +0000)]
Translated using Weblate (Russian)

Currently translated at 58.2% (596 of 1024 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Sun, 21 May 2017 17:23:32 +0000 (17:23 +0000)]
Translated using Weblate (Russian)

Currently translated at 55.0% (564 of 1024 strings)

7 years agoProperly remove SAO when worldedges are overtaken (#5889)
Loïc Blot [Sat, 3 Jun 2017 17:57:02 +0000 (19:57 +0200)]
Properly remove SAO when worldedges are overtaken (#5889)

* LuaEntitySAO: Remove beyond outermost mapchunk edges

Based on a commit by, and with help from, nerzhul.
Add 2 functions to class Mapgen:
A function to calculate actual mapgen edges, called from the Mapgen constructor.
A function called indirectly from content_sao.cpp per entity step to check SAO
position is within mapgen edges.

* Calculate borders from params not mapgen, which is not available everytime

7 years agoAndroid: update build tools version + versionCode bump for release
Loic Blot [Sat, 3 Jun 2017 17:36:01 +0000 (19:36 +0200)]
Android: update build tools version + versionCode bump for release

7 years agoRemove unimplemented setting `movement_speed_descend` (#5892)
red-001 [Sat, 3 Jun 2017 12:44:04 +0000 (13:44 +0100)]
Remove unimplemented setting `movement_speed_descend` (#5892)

7 years agoTooltips: Unify the tooltip[] and list[] description tooltip display functions (...
SmallJoker [Sat, 3 Jun 2017 06:55:26 +0000 (08:55 +0200)]
Tooltips: Unify the tooltip[] and list[] description tooltip display functions (#5848)

* Tooltips: Unify the tooltip[] and list[] description tooltip display functions

7 years agoMention data type for get/set_attribute in docs (#5884)
Wuzzy [Sat, 3 Jun 2017 06:20:22 +0000 (08:20 +0200)]
Mention data type for get/set_attribute in docs (#5884)

7 years agoLua_api.txt: Various edits and Markdown syntax improvements
Wuzzy [Fri, 2 Jun 2017 12:15:49 +0000 (14:15 +0200)]
Lua_api.txt: Various edits and Markdown syntax improvements

Add minor bits of missing Lua API documentation.
Remove L-system lighting bug warning.
Clarify 2 lines in node timer documentation.
Fix many Markdown syntax errors in lua_api.txt.

7 years agoRemove “inf” argument from shutdown command help (#5880)
Wuzzy [Fri, 2 Jun 2017 15:16:30 +0000 (17:16 +0200)]
Remove “inf” argument from shutdown command help (#5880)

7 years agoDocument hardware coloring and soft node overlays (#5876)
Dániel Juhász [Fri, 2 Jun 2017 13:57:59 +0000 (13:57 +0000)]
Document hardware coloring and soft node overlays (#5876)

7 years agoDo not shade inventory items with textures (#5869)
Dániel Juhász [Thu, 1 Jun 2017 21:18:55 +0000 (23:18 +0200)]
Do not shade inventory items with textures (#5869)

This commit restores the old behavior: if an inventory item has an own
inventory texture, it will not be shaded.

7 years agoShow singlenode mapgen to menu (#5868)
Loïc Blot [Thu, 1 Jun 2017 21:18:24 +0000 (23:18 +0200)]
Show singlenode mapgen to menu (#5868)

Fix #5867

7 years agoFix dropdown menu selection (#5847)
red-001 [Thu, 1 Jun 2017 06:00:26 +0000 (07:00 +0100)]
Fix dropdown menu selection (#5847)

This fixes a bug that occurred when the selection list of a drop down menu was changed but the name was still the same.

7 years agoAdd more files and file types to `.gitignore` (#5859)
red-001 [Wed, 31 May 2017 18:08:13 +0000 (19:08 +0100)]
Add more files and file types to `.gitignore` (#5859)

7 years agoNametag: remove colour codes before calculating alignment. (#5862)
red-001 [Wed, 31 May 2017 18:07:33 +0000 (19:07 +0100)]
Nametag: remove colour codes before calculating alignment. (#5862)

7 years agoDon't add damage flash while punch texture modifier is active (#5767)
stujones11 [Mon, 29 May 2017 21:26:25 +0000 (22:26 +0100)]
Don't add damage flash while punch texture modifier is active (#5767)

7 years agoguiVolumeChange: prevent wrong value position by using 1 label instead of 2 (#5839)
Loïc Blot [Sun, 28 May 2017 13:23:30 +0000 (15:23 +0200)]
guiVolumeChange: prevent wrong value position by using 1 label instead of 2 (#5839)

* Use only one label instead of two for the soundText, this permit to ensure both label & values are aligned
* Add '%' character too, to reflect it's a percentage volume
* Remove rect on regenerateGui (upper part) which shadows outer part and which is not needed outside of the DesiredRect affectation

Fix issue #5837

7 years agoAdded missing levels to logging menu (#5836)
Nathan Salapat [Sun, 28 May 2017 07:23:06 +0000 (02:23 -0500)]
Added missing levels to logging menu (#5836)

* Added missing levels to logging menu

Added none and error options to the debug_log_level in the advance settings.

7 years agoMapgen files: Update and correct copyright credits
paramat [Thu, 25 May 2017 17:53:47 +0000 (18:53 +0100)]
Mapgen files: Update and correct copyright credits

7 years agoTime: Change old `u32` timestamps to 64-bit (#5818)
SmallJoker [Fri, 26 May 2017 12:03:36 +0000 (14:03 +0200)]
Time: Change old `u32` timestamps to 64-bit (#5818)

MacOSX build fix + cleanups

7 years agoEnhance ABM performance a little bit by removing two std::set copy (#5815)
Loïc Blot [Thu, 25 May 2017 14:43:55 +0000 (16:43 +0200)]
Enhance ABM performance a little bit by removing two std::set copy (#5815)

* Enhance ABM performance a little bit by removing two std::set copy

* ActiveBlockModifier::getTriggerContents now returns a const ref
* ActiveBlockModifier::getRequiredNeighbors now returns a const ref
* ActiveBlockModifier::getRequiredNeighbors is now purely virtual

* Little code style fix

7 years agoMgv6 mudflow: Remove decoration if 'dirt with grass' below flows away (#5798)
Paramat [Thu, 25 May 2017 10:46:34 +0000 (11:46 +0100)]
Mgv6 mudflow: Remove decoration if 'dirt with grass' below flows away (#5798)

Mudflow of a neighbouring mapchunk extends into a mapchunk's edge, and could
remove 'dirt with grass' from under a decoration, creating unsupported
decorations.

Remove any decoration above if a 'dirt with grass' node is removed by mudflow.

7 years agoClose formspec on client shutdown. (#5811)
red-001 [Thu, 25 May 2017 10:46:24 +0000 (11:46 +0100)]
Close formspec on client shutdown. (#5811)

This ensures the shutting down progress bar is correctly rendered. This fixes #3050.

7 years agoRevert 1469424 and fix wrong char position when doing mouse selection on intlGUIEditB...
Loïc Blot [Wed, 24 May 2017 06:56:40 +0000 (08:56 +0200)]
Revert 1469424 and fix wrong char position when doing mouse selection on intlGUIEditBox (#5806)

* Revert 1469424075affce7c27bb44e5a5cbd51485e44b2 and fix wrong char position when doing mouse selection on intlGUIEditBox

position should look at current line not the whole text and shift 1 character on the last line (due to \0 string delimiter)

* Finish the fix and prevent values under zero for getCursorPos which crash the program if found

* Forget to remove old comment

* fix zero to NULL

* Fix typo

7 years agoAdd formspec escaping to subgame list in create world dialog (#5808)
rubenwardy [Wed, 24 May 2017 05:45:23 +0000 (06:45 +0100)]
Add formspec escaping to subgame list in create world dialog (#5808)

7 years agoMinimal: Add river water nodes (#5809)
Paramat [Wed, 24 May 2017 05:43:17 +0000 (06:43 +0100)]
Minimal: Add river water nodes (#5809)

Is a base terrain node needed by any core mapgen with sloping rivers.

7 years agoFix wrong return value in get_sky Lua call since ad9fcf859ec2347325830e09504ae96968b51ea8
Loic Blot [Tue, 23 May 2017 17:59:47 +0000 (19:59 +0200)]
Fix wrong return value in get_sky Lua call since ad9fcf859ec2347325830e09504ae96968b51ea8

Fix #5803

7 years agoClient crashfix: load meta after digging (#5801)
Paramat [Tue, 23 May 2017 17:54:37 +0000 (18:54 +0100)]
Client crashfix: load meta after digging (#5801)

Fixes a crash caused in MTGame by breaking and right-clicking a chest.

If loading meta, digging, node can disappear and we looked at meta, which is wrong because meta became NULL.

Pointer is invalidated and we read wrong memory area

7 years agoLINT fix & check all files with clang-format
Loic Blot [Mon, 22 May 2017 05:28:35 +0000 (07:28 +0200)]
LINT fix & check all files with clang-format

Seems the diff mode doesn't work well, PR are detected as working whereas in master it's shown it's problematic (and really problematic). Use same check everywhere

7 years ago[CSM] Add send_chat_message and run_server_chatcommand API functions (#5747)
Pierre-Adrien Langrognet [Sun, 21 May 2017 21:06:51 +0000 (23:06 +0200)]
[CSM] Add send_chat_message and run_server_chatcommand API functions (#5747)

* [CSM] Add send_chat_message and run_server_chatcommand API functions

* Add client-side chat message rate limiting

* Limit out chat queue size

* [CSM] Add minetest.clear_out_chat_queue API function and .clear_chat_queue chatcommand

* Last fixes/cleanups before merge

7 years agoRun updatepo.sh
Loic Blot [Sun, 21 May 2017 15:40:59 +0000 (17:40 +0200)]
Run updatepo.sh

7 years agoTranslated using Weblate (Ukrainian)
Fixer [Sun, 21 May 2017 11:17:44 +0000 (11:17 +0000)]
Translated using Weblate (Ukrainian)

Currently translated at 38.1% (350 of 918 strings)

7 years agoTranslated using Weblate (Russian)
weqqr [Sat, 20 May 2017 19:09:45 +0000 (19:09 +0000)]
Translated using Weblate (Russian)

Currently translated at 61.5% (565 of 918 strings)

7 years agoTranslated using Weblate (Chinese (Simplified))
Gaunthan Huang [Sat, 20 May 2017 04:28:02 +0000 (04:28 +0000)]
Translated using Weblate (Chinese (Simplified))

Currently translated at 74.2% (682 of 918 strings)

7 years agoTranslated using Weblate (Turkish)
monolifed [Tue, 16 May 2017 23:29:09 +0000 (23:29 +0000)]
Translated using Weblate (Turkish)

Currently translated at 100.0% (918 of 918 strings)

7 years agoTranslated using Weblate (Spanish)
Michael Higuera [Tue, 16 May 2017 15:43:00 +0000 (15:43 +0000)]
Translated using Weblate (Spanish)

Currently translated at 59.4% (546 of 918 strings)

7 years agoTranslated using Weblate (Malay)
Muhammad Nur Hidayat Yasuyoshi [Wed, 17 May 2017 04:17:50 +0000 (04:17 +0000)]
Translated using Weblate (Malay)

Currently translated at 65.4% (601 of 918 strings)

Retranslate the correct word

7 years agoTranslated using Weblate (Esperanto)
yellowcrash10 [Wed, 10 May 2017 02:54:03 +0000 (02:54 +0000)]
Translated using Weblate (Esperanto)

Currently translated at 31.8% (292 of 918 strings)

7 years agoAdded translation using Weblate (Dhivehi)
Unknown [Mon, 8 May 2017 13:13:34 +0000 (13:13 +0000)]
Added translation using Weblate (Dhivehi)

7 years agoTranslated using Weblate (Spanish)
Erick Sanhueza [Fri, 5 May 2017 17:03:07 +0000 (17:03 +0000)]
Translated using Weblate (Spanish)

Currently translated at 58.0% (533 of 918 strings)

7 years agoFix LINT broken by dfa0c15ce045705f05487d623dc7beca6c945b4b
Loic Blot [Sun, 21 May 2017 15:30:00 +0000 (17:30 +0200)]
Fix LINT broken by dfa0c15ce045705f05487d623dc7beca6c945b4b

7 years ago[CSM] Add function to get the definition of items (#5732)
bigfoot547 [Sun, 21 May 2017 12:40:55 +0000 (07:40 -0500)]
[CSM] Add function to get the definition of items (#5732)

Add node def and item def documentation.

Please be ready for merge!

7 years agoPrevent fall damage from overflowing when falling from a large height. (#5791)
red-001 [Sun, 21 May 2017 09:18:38 +0000 (10:18 +0100)]
Prevent fall damage from overflowing when falling from a large height. (#5791)

7 years agoMenu: Merge singleplayer and server tabs (#5627)
Elijah Duffy [Sun, 21 May 2017 08:07:05 +0000 (01:07 -0700)]
Menu: Merge singleplayer and server tabs (#5627)

Rename "Singleplayer" tab to "Play" and remove "Server" tab placing server functionality under a "Host Game" checkbox in "Play."

7 years agoAdd clientmods/mods.conf & client/mod_storage to gitignore
Loic Blot [Sun, 21 May 2017 08:05:46 +0000 (10:05 +0200)]
Add clientmods/mods.conf & client/mod_storage to gitignore

7 years ago[CSM] Allow enabling and disabling mods. (#5554)
red-001 [Sun, 21 May 2017 07:54:28 +0000 (08:54 +0100)]
[CSM] Allow enabling and disabling mods. (#5554)

7 years agoReal control fix (#5787)
Loïc Blot [Sat, 20 May 2017 20:29:15 +0000 (22:29 +0200)]
Real control fix (#5787)

* Allow enabling and disabling mods.

* Re-fix 605599b6f150b89ba6539c4d088231b326adcb48

This breaks some chars like € in chat.

Instead verify is char is a non control char -> iswcntrl

7 years agoFix instant digging (#5785)
you [Sat, 20 May 2017 18:43:13 +0000 (20:43 +0200)]
Fix instant digging (#5785)

Use runData.dig_time_complete instead of params.time to find out whether it's instant digging.
runData.dig_time_complete is set to something very big if the node can't be dug, whereas param.time is 0 when digging is impossible or it's instant digging. So not using param.time fixes #5728.

7 years agoFix wchar_t type on 605599b6f150b89ba6539c4d088231b326adcb48
Loic Blot [Sat, 20 May 2017 18:13:29 +0000 (20:13 +0200)]
Fix wchar_t type on 605599b6f150b89ba6539c4d088231b326adcb48

event.KeyInput.Char is a wchar_t, iswprint should be used

7 years agoParticle spawner: Do not spawn particles distant from player (#5766)
Paramat [Sat, 20 May 2017 14:46:35 +0000 (15:46 +0100)]
Particle spawner: Do not spawn particles distant from player (#5766)

Previously, every particle was rendered by (even if not actually visible to)
the client regardless of distance. This significantly reduced client FPS.

Acts clientside, particle spawners are always sent to clients, but each
particle is checked for distance from the player.
As with 'add particle' the distance limit is set to 'max block send distance'
as this determines how far a client can see.

7 years ago[CSM] Correct the log destination of print() (#5784)
SmallJoker [Sat, 20 May 2017 14:46:12 +0000 (16:46 +0200)]
[CSM] Correct the log destination of print() (#5784)

7 years agoFix CSM crash (#5779)
red-001 [Sat, 20 May 2017 14:45:49 +0000 (15:45 +0100)]
Fix CSM crash (#5779)

Caused by dc5bc6c and them made worse by 5ebf8f9

7 years agoTypo fix in README.txt
Loic Blot [Sat, 20 May 2017 14:04:44 +0000 (16:04 +0200)]
Typo fix in README.txt

Fix issue #4293

7 years agoAdd /clearinv chat command (#4994)
Elijah Duffy [Sat, 20 May 2017 10:56:17 +0000 (03:56 -0700)]
Add /clearinv chat command (#4994)

Allow players to clear their own inventory or that of another player with /clearinv command. server privilege is required to clear another player's inventory, no privileges are required to clear your own inventory.'

7 years agochat.cpp fix wchar_t isspace -> iswspace & wrong isspace on an index (#5783)
Loïc Blot [Sat, 20 May 2017 10:56:02 +0000 (12:56 +0200)]
chat.cpp fix wchar_t isspace -> iswspace & wrong isspace on an index (#5783)