7642 Commits

Author SHA1 Message Date
Dániel Juhász
d0d6b5ee0b 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.
2017-06-01 23:18:55 +02:00
Loïc Blot
4c2634f2ad Show singlenode mapgen to menu (#5868)
Fix #5867
2017-06-01 23:18:24 +02:00
red-001
563d99480f 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.
2017-06-01 08:00:26 +02:00
red-001
01232cd9a8 Add more files and file types to .gitignore (#5859) 2017-05-31 20:08:13 +02:00
red-001
36ed7d9289 Nametag: remove colour codes before calculating alignment. (#5862) 2017-05-31 20:07:33 +02:00
stujones11
8f600348f8 Don't add damage flash while punch texture modifier is active (#5767) 2017-05-29 23:26:25 +02:00
Loïc Blot
7d3a8208c9 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
2017-05-28 15:23:30 +02:00
Nathan Salapat
d8d76710fd 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.
2017-05-28 09:23:06 +02:00
paramat
e45af9e0b7 Mapgen files: Update and correct copyright credits 2017-05-26 20:46:03 +01:00
SmallJoker
4f1a88aaaf Time: Change old u32 timestamps to 64-bit (#5818)
MacOSX build fix + cleanups
2017-05-26 14:03:36 +02:00
Loïc Blot
bee06e6a53 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
2017-05-25 16:43:55 +02:00
Paramat
830f338174 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.
2017-05-25 12:46:34 +02:00
red-001
9df53dccf4 Close formspec on client shutdown. (#5811)
This ensures the shutting down progress bar is correctly rendered. This fixes #3050.
2017-05-25 12:46:24 +02:00
berkut
fe24056df7 Update tab_credits.lua (#76) 2017-05-24 12:35:53 +03:00
Loïc Blot
cb69665276 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
2017-05-24 08:56:40 +02:00
rubenwardy
6a9f712f82 Add formspec escaping to subgame list in create world dialog (#5808) 2017-05-24 07:45:23 +02:00
Loic Blot
c8fc6d9c0d Fix wrong return value in get_sky Lua call since ad9fcf859ec2347325830e09504ae96968b51ea8
Fix #5803
2017-05-23 19:59:47 +02:00
Paramat
0ec52bcada 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
2017-05-23 19:54:37 +02:00
berkut
03612a454a Merge pull request #75 from ubulem/master
Latest java part
2017-05-22 15:44:02 +03:00
Мамбетов Бектур
2adffa694e Latest java part 2017-05-22 15:40:00 +03:00
Loic Blot
30a5ff4c09 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
2017-05-22 07:28:35 +02:00
Pierre-Adrien Langrognet
69f19f1af7 [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
2017-05-21 23:06:51 +02:00
Loic Blot
cd7c0fca95 Run updatepo.sh 2017-05-21 17:40:59 +02:00
Fixer
656c7df001 Translated using Weblate (Ukrainian)
Currently translated at 38.1% (350 of 918 strings)
2017-05-21 17:37:53 +02:00
weqqr
ae275b292a Translated using Weblate (Russian)
Currently translated at 61.5% (565 of 918 strings)
2017-05-21 17:37:49 +02:00
Gaunthan Huang
a21ed1dfde Translated using Weblate (Chinese (Simplified))
Currently translated at 74.2% (682 of 918 strings)
2017-05-21 17:37:44 +02:00
monolifed
6449bb413b Translated using Weblate (Turkish)
Currently translated at 100.0% (918 of 918 strings)
2017-05-21 17:37:34 +02:00
Michael Higuera
cc3b9c7f57 Translated using Weblate (Spanish)
Currently translated at 59.4% (546 of 918 strings)
2017-05-21 17:37:11 +02:00
Muhammad Nur Hidayat Yasuyoshi
17a41f00c3 Translated using Weblate (Malay)
Currently translated at 65.4% (601 of 918 strings)

Retranslate the correct word
2017-05-21 17:37:02 +02:00
yellowcrash10
7fb5ee3b48 Translated using Weblate (Esperanto)
Currently translated at 31.8% (292 of 918 strings)
2017-05-21 17:36:17 +02:00
Unknown
545f58f53e Added translation using Weblate (Dhivehi) 2017-05-21 17:36:08 +02:00
Erick Sanhueza
f70d543902 Translated using Weblate (Spanish)
Currently translated at 58.0% (533 of 918 strings)
2017-05-21 17:34:58 +02:00
Loic Blot
353db2e4a0 Fix LINT broken by dfa0c15ce045705f05487d623dc7beca6c945b4b 2017-05-21 17:30:00 +02:00
bigfoot547
004f49298c [CSM] Add function to get the definition of items (#5732)
Add node def and item def documentation.

Please be ready for merge!
2017-05-21 14:40:55 +02:00
red-001
6f47da0ffa Prevent fall damage from overflowing when falling from a large height. (#5791) 2017-05-21 11:18:38 +02:00
Elijah Duffy
de0b0e873a 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."
2017-05-21 10:07:05 +02:00
Loic Blot
75ea6ca4e5 Add clientmods/mods.conf & client/mod_storage to gitignore 2017-05-21 10:06:13 +02:00
Loïc Blot
a8ffcfec91 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
2017-05-20 22:29:15 +02:00
you
a56f11bdc5 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.
2017-05-20 20:43:13 +02:00
Loic Blot
d96eba4da1 Fix wchar_t type on 605599b6f150b89ba6539c4d088231b326adcb48
event.KeyInput.Char is a wchar_t, iswprint should be used
2017-05-20 20:13:29 +02:00
Paramat
b234890f33 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.
2017-05-20 16:46:35 +02:00
SmallJoker
1dd555ebd4 [CSM] Correct the log destination of print() (#5784) 2017-05-20 16:46:12 +02:00
red-001
c39d110208 Fix CSM crash (#5779)
Caused by dc5bc6c and them made worse by 5ebf8f9
2017-05-20 16:45:49 +02:00
Loic Blot
ffe815bc8f Typo fix in README.txt
Fix issue #4293
2017-05-20 16:04:44 +02:00
Elijah Duffy
e79fb73ca1 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.'
2017-05-20 12:56:17 +02:00
Loïc Blot
ad79c2daa2 chat.cpp fix wchar_t isspace -> iswspace & wrong isspace on an index (#5783) 2017-05-20 12:56:02 +02:00
numberZero
15da2c02d6 Cleanup in content_mapblock (#5746)
NDT_LIQUID is being drawn by MapBlockMesh since a long time ago...
2017-05-20 12:29:54 +02:00
red-001
0feeb0d59f Improve password change menu (#5757)
- Fix the GUI getting messed up when resizing
- Save the input when resizing
2017-05-20 12:29:44 +02:00
Craig Davison
9079d537d4 Fix shift key producing space in console (#5777)
* Fix shift key producing space in console
2017-05-20 12:29:31 +02:00
red-001
8e6228a8c5 this might fix #5661, needs testing (#5775) 2017-05-20 10:48:44 +02:00