Commit Graph

11106 Commits

Author SHA1 Message Date
SmallJoker
d975ebdcb9
Limit formspec fields to 640K (#13380)
Fixes an issue where long inputs could cause issues when dealing with formspecs.
The expected data is usually below 1 KiB, however that's not a technical limit.
2023-04-07 12:49:23 +02:00
Lars
7048fc25dd Take mesh-bounding-sphere into account in updateDrawListShadow 2023-04-03 13:57:05 -07:00
Lars
b01f85d573 Revert "Add mesh-holding blocks to shadow drawlist. (#13203)"
This reverts commit 2a8becd650a8adaa86fd7f76122ea75f11f49dad.
2023-04-03 13:57:05 -07:00
SmallJoker
1c1f1b1615 Revert "Enable connected glass by default (#13242)"
This reverts commit a93f3542d92e87c3d728f067358e6f42b31cfe96 for
the upcoming 5.7.0 release.

See https://github.com/minetest/minetest/issues/8290 for a detailed discussion.
2023-04-02 20:56:31 +02:00
x2048
6c0a6925fc
Corrections to loops and BFS cullers (#13375)
* Reset usage timers in loops culler
* Correctly touch map blocks when using bfs culler
* Align use of variables
* Report statistics when using loop culler
2023-04-01 22:41:00 +02:00
sfan5
819e9fc615 Do not rely on ZSTD_CLEVEL_DEFAULT define 2023-04-01 22:06:03 +02:00
lhofhansl
48fc286a95
Restart map-send cycle if visible blocks are soon to be unloaded. (#13277)
* Restart map-send cycle if visible blocks are soon to be unloaded.
* Reset completion timer when camera or position changed.

Co-authored-by: sfan5 <sfan5@live.de>
2023-03-30 09:19:13 -07:00
x2048
93898957b6
Return 'loops' occlusion culler under a setting (#13352)
* Add occlusion_culler setting to minetest.conf.example
* Add raytraced occlusion culling to 'loops' algorithm

---------

Co-authored-by: sfan5 <sfan5@live.de>
2023-03-30 00:10:23 +02:00
sfan5
bd88d299b9 Bump protocol version
and correct documentation of previous version
2023-03-29 23:19:39 +02:00
sfan5
0a698d92c3 Update credits tab and mailmap 2023-03-29 23:19:11 +02:00
DS
0f496f1ed2
Always build locale files in CMAKE_SOURCE_DIR if building RUN_IN_PLACE (#13272) 2023-03-27 20:02:48 +02:00
DS
ea095d3f69
Fix core.item_eat for same-item replace_with_item and split stacks before dropping (#13286)
The replace_with_item can be added to the slot of the wield item, which
is afterwards overwritten. This causes item loss.
2023-03-27 20:02:23 +02:00
DS
2180dc14ef
Fix safeLoadFile() skipping 2 chars too much from the shebang (#13310) 2023-03-27 20:01:05 +02:00
Muhammad Rifqi Priyo Susanto
baf99f826c
Add Indonesian translation of builtin 2023-03-24 12:35:12 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48)
9c07bf68f1
Add Malay translation of builtin 2023-03-24 12:34:58 +01:00
DS
ed632f3854
Safely handle block deletion (#13315)
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2023-03-24 12:34:44 +01:00
x2048
f3b198e490
Return shadow_sky_body_orbit_tilt setting
Used as a default value when the game does not change the value via API (e.g. legacy server)
2023-03-24 12:34:21 +01:00
x2048
9af587c54e
Move rendering engine reset after deletion of game objects 2023-03-20 11:42:16 +01:00
x2048
6cd2eea487
Move drawing of wield tool into a dedicated step of the pipeline (#13338) 2023-03-19 21:31:15 +01:00
Wuzzy
09342c0811
Clarify documentation of inventory actions (#13181)
The text was not clear enough on what these do exactly. It was written in a way that sounded like this allows you to capture ALL inventory changes of the player inventory. However, this is not true: It only captures inventory changes within the player inventory or when the item was exchanged with another inventory.
2023-03-19 20:25:08 +01:00
Wuzzy
0050f12b32
Various smaller lua_api documentation updates (#13240)
This fixes several smaller documentation issues at once because posting one PR for every tiny documentation fix is a nightmare.
2023-03-19 20:24:37 +01:00
luk3yx
5fa63a0b0c
Fix server-side formspec state keeping issue (#13332) 2023-03-19 20:23:11 +01:00
x2048
6fe9bc8ae1
Remove obsolete rendering core init code (#13341)
Also removes duplicate call to shadow render step
2023-03-19 20:22:45 +01:00
Gregor Parzefall
38e005294f
Remove default keybind for pitchmove (#13319) 2023-03-16 14:57:44 +01:00
olive
b1c8a7d055
Fix empty port assertion error in 'Join Game' menu
Pressing "Register" when the port field was empty led to an assertion error inside `create_register_dialog`, it was simply checking the port was a number.
2023-03-16 14:57:20 +01:00
x2048
2bed338ef7
Fix occasional black screen on startup 2023-03-16 14:56:27 +01:00
Jude Melton-Houghton
b7359f5fa9 Update nodes in LBM loop 2023-03-13 18:17:07 +01:00
DS
cac1dca95b
Improvement of #12974: better linear independent vector (#12979) 2023-03-13 18:16:07 +01:00
DS
02346819f9
Fix rendertarget size being saved as screensize (#13313) 2023-03-12 19:56:49 +01:00
lhofhansl
3e148e2810
Fix infinite viewing_range (#13225)
Use a simplified version of the old loops culler for infinite viewing range.
2023-03-12 09:37:47 -07:00
DS
b1ed0ef721
Fix ChatPrompt crash in very narrow windows (#13305)
In very narrow windows, `m_cols` can be small (i.e. 0).
Hence, `m_view <= m_line.size() + 1 - m_cols` does not guarantee
`m_view <= m_line.size()`.
`std::string::substr(pos, npos)` requires `pos <= size()`.
2023-03-11 17:46:49 +01:00
Wuzzy
1aeb0280df Update German translation of builtin 2023-03-11 17:46:09 +01:00
Wuzzy
e73a4ea506 Update builtin locale 2023-03-11 17:46:09 +01:00
x2048
705195b43e
Scale culler steps proportionally to the mesh sizes (#13250) 2023-03-11 14:10:26 +01:00
x2048
1de8a1e962
Fix missing shadows when sun tilt is zero 2023-03-11 13:49:40 +01:00
updatepo.sh
ad41d0af9d Run updatepo.sh 2023-03-09 15:57:12 +01:00
updatepo.sh
c77f3d4dc4 Update minetest.conf.example and translation file 2023-03-09 15:38:46 +01:00
Muhammad Rifqi Priyo Susanto
225659f6e0 Translated using Weblate (Indonesian)
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:35 +01:00
Fábio Rodrigues Ribeiro
ad203b75e1 Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.4% (1315 of 1350 strings)
2023-03-09 15:31:35 +01:00
ssantos
37f4d6e447 Translated using Weblate (Portuguese)
Currently translated at 99.7% (1346 of 1350 strings)
2023-03-09 15:31:35 +01:00
unacceptium core
b12eb5e490 Translated using Weblate (Hungarian)
Currently translated at 97.6% (1318 of 1350 strings)
2023-03-09 15:31:35 +01:00
Guih48
a32bbc8941 Translated using Weblate (Hungarian)
Currently translated at 97.6% (1318 of 1350 strings)
2023-03-09 15:31:35 +01:00
W K
0263069255 Translated using Weblate (Polish)
Currently translated at 87.2% (1178 of 1350 strings)
2023-03-09 15:31:35 +01:00
Jakub Z
8ac5c45da5 Translated using Weblate (Polish)
Currently translated at 87.2% (1178 of 1350 strings)
2023-03-09 15:31:35 +01:00
Giov4
7dd28f0751 Translated using Weblate (Italian)
Currently translated at 93.1% (1258 of 1350 strings)
2023-03-09 15:31:35 +01:00
Jynweythek Vordhosbn
0f50d2d329 Translated using Weblate (Spanish)
Currently translated at 88.2% (1192 of 1350 strings)
2023-03-09 15:31:35 +01:00
Matheus Bastos
306b86ee91 Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.4% (1315 of 1350 strings)
2023-03-09 15:31:35 +01:00
Ghurir
ff22d650ed Translated using Weblate (Arabic)
Currently translated at 38.5% (521 of 1350 strings)
2023-03-09 15:31:35 +01:00
Matheus Vinicius
be5710810b Translated using Weblate (Portuguese)
Currently translated at 99.7% (1346 of 1350 strings)
2023-03-09 15:31:35 +01:00
Ghurir
8d691e6633 Translated using Weblate (Dutch)
Currently translated at 90.0% (1216 of 1350 strings)
2023-03-09 15:31:35 +01:00