Loic Blot
b2271672b3
Fix fips_cipher_abort warning and other duplicate macros
2017-04-12 09:06:26 +02:00
red-001
c06edc9df2
[CSM] Allow escaping chatcommands and add missing calls to gettext. ( #5565 )
2017-04-11 23:35:25 +02:00
t0ny2
4d935250b7
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
2017-04-11 19:29:24 +02:00
paramat
bc0ac9a2f4
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.
2017-04-11 05:41:13 +01:00
red-001
c84ad776bb
[CSM] Use more gettext ( #5553 )
2017-04-10 21:14:00 +02:00
red-001
96a2b6802e
[CSM] Move .list_players
and .disconnect
to builtin. ( #5550 )
2017-04-10 21:13:20 +02:00
Loïc Blot
a294f8198f
Clang-format fix for Android
2017-04-10 09:40:06 +02:00
Loïc Blot
0dca330064
Clang-format styles fixes since previous commit
2017-04-10 09:17:53 +02:00
Loic Blot
903b6ed951
Clang format: fix LINT on old PR which doesn't have LINT enabled
2017-04-10 08:05:03 +02:00
number Zero
4e23c90b5b
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.
2017-04-09 17:30:19 -07:00
Vincent Glize
679790df61
LocalPlayer api lua
2017-04-08 22:04:30 -07:00
Dániel Juhász
88b956fe8e
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.
2017-04-08 18:39:15 -07:00
red-001
db2bf2cc9e
Move chat command handling code from C++ to Lua ( #5528 )
2017-04-08 20:03:57 +02:00
raymoo
87ce423b87
Document that write_json will error on unserializable types. ( #5539 )
...
Previously it was erroneously documented that it would save them as null.
2017-04-08 10:42:59 +02:00
Loïc Blot
cfe39c51c4
Prepare for Linux daily build packages (using Gitlab.com CI) ( #5542 )
...
* Prepare for Linux daily build packages (using Gitlab.com CI)
2017-04-08 10:19:07 +02:00
Loïc Blot
3fe2ed00ed
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
2017-04-08 09:28:37 +02:00
Loic Blot
f1dd85655b
code style fix on src/script/cpp_api/s_client.h
2017-04-08 08:45:58 +02:00
Vincent Glize
74a467af38
[CSM] Add event on_connect player API lua ( #5540 )
...
* Add event on_connect player API lua
2017-04-08 08:20:30 +02:00
Loic Blot
a7f1a26c5c
Fix cmake library default build problem since moving to lib/
...
Also make Lua library check a cmake module
2017-04-07 23:56:02 +02:00
Loic Blot
feb0cb119c
Pass clang-format on 14 trivial header files fixes
...
Also remove them from whitelist
2017-04-07 23:22:00 +02:00
rubenwardy
081263b196
Fix signed/unsigned conversion warning
...
There was no bug here (as I checked for negativeness),
however it's good to get rid of warnings.
2017-04-07 19:06:50 +01:00
SmallJoker
85350b4c9c
Cavegen: Fix non-constant array initializer error for MSVC
2017-04-07 17:59:27 +02:00
SmallJoker
4cdcb30e61
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
2017-04-07 17:10:26 +02:00
Loic Blot
31717a1e67
Clang-format: fix some header files and remove them from whitelist
2017-04-07 08:50:17 +02:00
YuGiOhJCJ
f586303fef
Add the REQUIRE_LUAJIT option ( #5526 )
2017-04-07 07:29:43 +02:00
adrido
e54c8a64fb
Windows: Skip cmd for release builds ( #5416 )
2017-04-07 07:14:39 +02:00
Auke Kok
a8cd8fe522
Fix "error: ‘playerSAO’ was not declared"
...
Cause: 351cc2e79a7d78f7ec97ff9b33e4f0bad4042b19
A rebase issue missed a rename from playerSAO to playersao.
Tested.
2017-04-06 22:05:31 -07:00
Ekdohibs
d287b5ec47
Fix spacing
2017-04-06 21:27:29 -07:00
Ekdohibs
01dc95278b
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.
2017-04-06 21:27:29 -07:00
rubenwardy
7b45da57ff
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
2017-04-06 20:58:52 -07:00
presstabstart
7c200612fd
Fix multiple death messages ( #5305 )
...
Fix multiple death messages (#3565 ) and damage server logs after death.
2017-04-06 20:32:50 -07:00
orwell96
1591d7d709
Show media download progress in percent on progress screen ( #5498 )
2017-04-07 00:03:29 +02:00
Loïc Blot
0cf9479af4
LINT: Switch whitelist check from egrep to awk
...
Bonus: make CI happy with the last rules fix
2017-04-06 23:21:40 +02:00
red-001
1ffa35176b
[CSM] Add function to get the server protocol version. ( #5529 )
2017-04-06 22:50:45 +02:00
Loïc Blot
fd8cc4028b
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
2017-04-06 15:37:02 +02:00
Loïc Blot
76ad1984b7
Clang format brace style fix
2017-04-06 15:27:47 +02:00
Loïc Blot
2a2961b120
Fix clang-format binary selection
...
Also fix spaces to tabs
2017-04-06 10:01:09 +02:00
Loic Blot
d93892d774
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
2017-04-06 09:10:59 +02:00
Loic Blot
d4987ec6a2
Clang format: only show errors on non whitelisted files
2017-04-06 08:42:52 +02:00
fdedraco
b04e44c3e7
Translated using Weblate (Indonesian)
...
Currently translated at 69.4% (638 of 918 strings)
2017-04-06 08:37:40 +02:00
Andrey K
0d8241ea82
Translated using Weblate (Russian)
...
Currently translated at 59.2% (544 of 918 strings)
2017-04-06 08:37:40 +02:00
i486DX2
cd879218cc
Translated using Weblate (Italian)
...
Currently translated at 96.0% (882 of 918 strings)
2017-04-06 08:37:40 +02:00
Gabriel Carvalho
fca8762ea8
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
2017-04-06 08:37:39 +02:00
monolifed
f4950b14e3
Translated using Weblate (Turkish)
...
Currently translated at 87.0% (799 of 918 strings)
2017-04-06 08:37:39 +02:00
Han So Ri
a2568e6e16
Translated using Weblate (Korean)
...
Currently translated at 67.8% (623 of 918 strings)
2017-04-06 08:37:39 +02:00
Muhammad Nur Hidayat Yasuyoshi
ca09628332
Translated using Weblate (Malay)
...
Currently translated at 37.0% (340 of 918 strings)
2017-04-06 08:37:38 +02:00
Han So Ri
833b4a2891
Translated using Weblate (Korean)
...
Currently translated at 66.4% (610 of 918 strings)
2017-04-06 08:37:38 +02:00
黄冠恒
dc5b3da0de
Translated using Weblate (Chinese (China))
...
Currently translated at 73.6% (676 of 918 strings)
2017-04-06 08:37:38 +02:00
Muhammad Nur Hidayat Yasuyoshi
2e973a18b4
Translated using Weblate (Malay)
...
Currently translated at 24.8% (228 of 918 strings)
2017-04-06 08:37:37 +02:00
lisacvuk
4a989ea984
Translated using Weblate (Serbian (cyrillic))
...
Currently translated at 34.9% (321 of 918 strings)
2017-04-06 08:37:37 +02:00