Commit Graph

8341 Commits

Author SHA1 Message Date
sfan5
0b8d3f99a5 Move core.get_connected_players() implementation to C++
Keeping the ObjectRefs around in a table isn't ideal and this allows
removing the somewhat nonsensical is_player_connected() added in 86ef7147.
2020-02-23 22:24:12 +01:00
sfan5
c657fb343f Refactor Script API's log_deprecated 2020-02-23 22:24:12 +01:00
sfan5
4da057cc49 Script API: Document ObjectRef handling in a comment 2020-02-23 22:24:12 +01:00
Paramat
2df226bb41
Lua_api.txt: Add documentation of VoxelArea 'ystride', 'zstride' (#9415) 2020-02-22 01:11:33 +00:00
Wuzzy
d507047443
Falling nodes: Add support for facedir, colorfacedir, wallmounted, colorwallmounted, color, airlike, signlike, torchlike and glow (#9205) 2020-02-22 01:10:17 +00:00
SmallJoker
e8a8185d24
Settings: Fix game minetest.conf flags overriding defaults (#9404)
The game minetest.conf flags directly overwrote the global minetest.conf default values, resulting in unwanted erased mapgen flags.

* Fix set_mapgen_setting
2020-02-17 19:26:32 +01:00
Danila Shutov
6958071f49
Basic model shading (#9374) 2020-02-16 20:37:28 +01:00
SmallJoker
478e753298 Shaders: Fix OpenGL < 4.3 compatibility 2020-02-16 14:14:34 +01:00
SmallJoker
3f675490df Builtin: Fix error by digging unknown nodes 2020-02-16 14:13:52 +01:00
Hugues Ross
7ce21788f8
Add animated_image[] formspec element (#9258) 2020-02-15 15:33:18 +00:00
SmallJoker
ee7d357602
Key settings: Clear with escape (#8282)
Key ESCAPE -> Cancel change
Key DELETE -> Remove entry
2020-02-14 20:36:58 +01:00
Maksim
71899e11d2
Update embedded mini-gmp to version 6.2.0 (#9396) 2020-02-14 20:36:41 +01:00
Wuzzy
ff769e7df5
Add missing paramtype2 documentation (#9397) 2020-02-13 23:27:20 +01:00
Wuzzy
ac5f53e364 Fix param2 set to 240 if liquid source was renewed 2020-02-13 20:38:13 +01:00
TheTermos
df74d369a3
Collision detection tweak #2 (#9365) 2020-02-13 20:13:07 +01:00
Paramat
c2f48eab4d
Display an error when a noise parameter has too many octaves (#9394)
Display an error and throw exception when one or more octaves of
a noise has spread < 1, causing random looking broken noise.
2020-02-12 23:15:07 +00:00
sfan5
2d5e0ce5ba Update some libraries for buildbot 2020-02-12 22:25:36 +01:00
sfan5
91eef646a5 Script API: Check that SAOs are still usable before attempting to use them 2020-02-11 19:21:12 +01:00
Paramat
b14aa1c847
Warn of biome ID re-allocation when unregistering or clearing biomes (#9359) 2020-02-03 00:31:00 +00:00
SmallJoker
4eb3baa51e
StaticText: Reset background on EnrichedString change (#9340)
This also fixes the F6 profiler background color -> now controlled by EnrichedString
2020-02-01 20:41:32 +01:00
sfan5
7d29611c1b Convert sound_play uses in builtin to ephemeral 2020-02-01 20:31:41 +01:00
sfan5
c10e188594 Let node 'place' and 'dug' sounds be heard by other players 2020-02-01 20:31:41 +01:00
sfan5
ace3c76112 Improve core.sound_play with ephemeral sounds and player exclusion 2020-02-01 20:31:41 +01:00
HybridDog
ea5e231959
Add table.shuffle (#8299) 2020-02-01 16:09:45 +01:00
Ben Deutsch
2b3490db1f Add limit parameter to decompressZlib
This can prevent untrusted data, such as sent over the network,
from consuming all memory with a specially crafted payload.
2020-02-01 14:05:26 +01:00
DS
1116918dbb
Formspec: Create a new class for inventorylists (#9287) 2020-02-01 13:55:13 +01:00
TheTermos
908e762479 Collision temporary fix for issue #6886 2020-01-27 19:30:11 +01:00
Hugues Ross
60544ac56f Add 9-slice background support to button formspec elements (#9290) 2020-01-26 19:35:26 +00:00
SmallJoker
cde2a7f6f2
Settings: Add get_flags API for mapgen flags (mg_flags, mgv6_spflags, ...) (#9284)
Unified flags handling in C++ and Lua Settings API
     -> Reading only, for now. Writing can be implemented later, if needed.
API function to read the currently active flags
     -> was impossible from Lua

Co-authored-by: Wuzzy <wuzzy2@mail.ru>
2020-01-25 16:56:54 +01:00
SmallJoker
9cb3219f34 EnrichedString: Fix substr segfault caused by non-formatted text 2020-01-24 21:06:30 +01:00
rubenwardy
987b2c5f37 Update translation sources 2020-01-24 18:34:11 +00:00
rubenwardy
e80c0bdea5 Update settingtypes.txt for new languages 2020-01-24 18:34:11 +00:00
IFRFSX
5e929c6b7f Translated using Weblate (Chinese (Simplified))
Currently translated at 65.1% (830 of 1274 strings)
2020-01-24 18:34:11 +00:00
Evert Prants
53123bbb6b Translated using Weblate (Estonian)
Currently translated at 30.0% (382 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
73241423fb Translated using Weblate (Japanese (Kansai))
Currently translated at 0.2% (2 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
d4b8075c35 Translated using Weblate (Burmese)
Currently translated at 0.2% (2 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
5e6e46f059 Translated using Weblate (Kazakh)
Currently translated at 0.2% (2 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
992705b4db Translated using Weblate (Arabic)
Currently translated at 6.1% (78 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
384ad7dec4 Translated using Weblate (Vietnamese)
Currently translated at 2.5% (32 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
8bf790b70e Translated using Weblate (Portuguese)
Currently translated at 100.0% (1274 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
0e4ad952da Translated using Weblate (Basque)
Currently translated at 15.1% (193 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
231ea6cbce Translated using Weblate (Greek)
Currently translated at 1.4% (18 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
527fabdac1 Translated using Weblate (Filipino)
Currently translated at 0.2% (2 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
ab3aef666b Translated using Weblate (Thai)
Currently translated at 66.9% (852 of 1274 strings)
2020-01-24 18:34:11 +00:00
rubenwardy
c2d0d9027c Translated using Weblate (Lao)
Currently translated at 0.2% (2 of 1274 strings)
2020-01-24 18:34:11 +00:00
Osoitz
85b03f3fd3 Translated using Weblate (Basque)
Currently translated at 15.1% (192 of 1274 strings)
2020-01-24 18:34:11 +00:00
Dhimas Wnz
73f89e59ed Translated using Weblate (Indonesian)
Currently translated at 96.9% (1234 of 1274 strings)
2020-01-24 18:34:11 +00:00
THANOS SIOURDAKIS
70601008da Translated using Weblate (Greek)
Currently translated at 1.3% (17 of 1274 strings)
2020-01-24 18:34:11 +00:00
universales
fb0d672373 Translated using Weblate (Spanish)
Currently translated at 61.9% (789 of 1274 strings)
2020-01-24 18:34:11 +00:00
Osoitz
4c020bb6fc Translated using Weblate (Basque)
Currently translated at 9.7% (123 of 1274 strings)
2020-01-24 18:34:11 +00:00