Erich Schubert
4ac86db8e3
Simplify getGameTime function usage ( #15187 )
2024-09-20 15:05:51 +02:00
sfan5
811adf5d42
Bulk LBMs ( #14954 )
2024-09-20 15:05:26 +02:00
sfan5
7ae51382c8
Refactor ABM/LBM related code
2024-09-20 15:05:26 +02:00
sfan5
387856a1c3
Load mod profiler in one of the test workflows
2024-09-20 15:05:26 +02:00
Desour
24efd7dc91
Use smart ptrs for Minimap's member vars
2024-09-18 12:19:40 +02:00
Desour
9827f9df1b
Use irr_ptr for MapBlockMesh::m_mesh
2024-09-18 12:19:40 +02:00
Desour
2b2f2dee20
Use make_irr instead of new + drop() in Game::handleCallbacks
2024-09-18 12:19:40 +02:00
Desour
b93ae33f85
Use irr_ptr for Game::sky
2024-09-18 12:19:40 +02:00
Desour
17c041a65c
Use irr_ptr for Game::gui_chat_console
2024-09-18 12:19:40 +02:00
Desour
37b374cb92
Use irr_ptr for Game::clouds
2024-09-18 12:19:40 +02:00
Desour
ecf8c7696a
Use irr_ptr for ClientEnvironment::m_map
2024-09-18 12:19:40 +02:00
Desour
e3efaa1733
Move irr_ptr.h too irr/include/
2024-09-18 12:19:40 +02:00
Desour
6d01ed5d74
irr_ptr: Allow to use with forward-declared types
...
Also add [[nodiscard]] to ::grab() (because similar named irr_ptr::grab() returns void).
And use new std::is_convertible_v.
2024-09-18 12:19:40 +02:00
grorp
70e169f165
Drop fixed pipeline lighting stuff ( #15165 )
2024-09-18 12:18:28 +02:00
wrrrzr
6dfd61cba0
Fix TODO in joystick code ( #15179 )
2024-09-18 12:17:55 +02:00
sfan5
58ea11c2b3
Add some debug helpers around this area
2024-09-16 23:12:52 +02:00
sfan5
6f275e2ba0
Remove dead code in COpenGL3MaterialBaseCB
2024-09-16 23:12:52 +02:00
sfan5
cc26b5384c
Mark buffer as dirty in mesh helpers
...
unclear if this fixes any actual bug
2024-09-16 23:12:52 +02:00
sfan5
0fdcba197f
Fix VBO hint in content_cao
2024-09-16 23:12:52 +02:00
sfan5
65af606729
Fix CAO mesh lighting with shaders disabled
...
the 'Lighting' material flag does not have portable behavior
2024-09-16 23:12:52 +02:00
grorp
740dc0162e
Don't use fixed pipeline lighting for stars ( #15164 )
2024-09-16 10:16:55 +02:00
grorp
47f199e6cb
Avoid cloud jump when switching between mainmenu and loading screen ( #15163 )
...
... by using the same Clouds object for both.
The mainmenu clouds already used shaders before. I had to choose between
both or neither, so now both the mainmenu clouds and the loading screen
clouds use shaders if available.
2024-09-16 10:16:27 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler ( #15113 )
2024-09-15 13:47:45 +02:00
sfan5
6f23de41fb
Refresh windows toolchain and libs
2024-09-14 12:13:19 +02:00
Gregor Parzefall
7bab390413
Add time_to_day_night_ratio to the Lua API
2024-09-14 12:13:11 +02:00
Gregor Parzefall
f9c0354af1
Add colorspec_to_table to the Lua API
2024-09-14 12:13:11 +02:00
DS
c54f5a2137
Move std::tie out of headers
2024-09-14 12:10:11 +02:00
j-r
a6219ab955
Fix alignment in implicit client hotbar definition
...
Used when an older server doesn't send it.
2024-09-14 12:09:56 +02:00
1F616EMO~nya
38b4505ad7
Allow requesting reconnect when mods kick player ( #14971 )
2024-09-12 23:42:46 +02:00
nauta-turbidus
b12e67699a
Document negative saturation ( #15062 )
2024-09-12 23:42:33 +02:00
sfan5
72c306d920
Improve some protocol code log messages
...
also get rid of the very noisy socket debug message that are
useless in a world where Wireshark exists.
2024-09-12 23:41:56 +02:00
sfan5
f54f2c1601
Fix RTT set before value is available
2024-09-12 23:41:56 +02:00
sfan5
42af7cc1c5
Nerf protocol window sizes
...
Probably due to a unit misunderstanding a long time ago the window sizes
were quite insane (especially the default).
In practice this was sometimes hidden by other bugs, games trying their
best to be lightweight or didn't matter on high-quality internet connections.
2024-09-12 23:41:56 +02:00
sfan5
9c2b2c002c
Count duplicate packets as congestion indicator
2024-09-12 23:41:56 +02:00
grorp
af67353f7a
Only apply "touch_punch_gesture" when wielded item has no on_use callback ( #15098 )
2024-09-12 23:41:47 +02:00
sfence
8617993386
Add SDL2 options to compiling README ( #15136 )
2024-09-12 23:40:03 +02:00
sfence
733a019bf5
macOS: make mute sound actually work ( #15128 )
2024-09-08 13:53:43 +02:00
Gregor Parzefall
2208fc0632
Move Minetest GUISkin -> Irrlicht CGUISkin
2024-09-08 13:53:33 +02:00
Gregor Parzefall
c8ebc2e5d0
Delete Irrlicht CGUISkin
2024-09-08 13:53:33 +02:00
sfan5
3feec87d52
Count global number of drawcalls too
2024-09-08 13:53:23 +02:00
sfan5
275bef0633
Remove unused leftovers from normal mapping
2024-09-07 14:23:37 +02:00
sfan5
e90ef85e7d
Fix texture matrix handling in our shaders
2024-09-07 14:23:37 +02:00
Lars Müller
9e5d6bc162
Fix upright sprite entities not animating
2024-09-06 12:11:16 +02:00
grorp
041d67ceca
Improve formspec scaling ( #14840 )
2024-09-06 12:11:03 +02:00
red-001
1527cdf6a4
SRP remove custom memory allocator
2024-09-06 11:30:35 +02:00
red-001
197d09cc53
SRP switch to porting randomness source
2024-09-06 11:30:35 +02:00
sfence
4fd744cdf6
Generate Minetest.app on macOS 12, so at least macOS 12 will be supported
2024-09-06 11:30:27 +02:00
sfan5
3af226cb06
Refactor "Cavegen y biome check"
2024-09-06 11:30:10 +02:00
red-001
486dc3288d
VoxelManipulator code cleanup ( #15114 )
...
* Cache node in voxel area index when possible
The index function according to the MSVC profiler actually takes up a significant time slice (around ~5% of total time for the process) during normal game-play.
Might not be accurate but still good to not recalculate it twice.
* Remove `setNodeNoRef` from VM
* VM: remove old commented out print statement
2024-09-04 15:20:39 +02:00
Lars Müller
074700b35e
Remove no* prefixes from settingtypes possible flags ( #15111 )
2024-09-04 15:19:00 +02:00
grorp
8349846333
TouchControls: Fix setUseCrosshair not being called ( #15100 )
2024-09-04 15:18:45 +02:00
Gregor Parzefall
08de047033
TouchScreenGUI: Show status text above grid menu
2024-09-04 15:18:34 +02:00
Gregor Parzefall
88397c2908
TouchScreenGUI: Don't release pointers when toggling grid menu
2024-09-04 15:18:34 +02:00
Gregor Parzefall
2e567b7d40
Replace removed rare_controls.png in Devtest /test_formspec
...
removed by 013c6ee166
/ #14918
2024-09-04 15:18:34 +02:00
red-001
d5d8fb629b
Simplify TOSERVER_INIT
and TOCLIENT_HELLO
...
- Network compression support was never added.
- Client hasn't used the returned playername since at least 0.4-stable.
2024-09-02 21:50:43 +02:00
Zughy
2bc9dc54ff
Windows/vcpkg instructions: enable i18n by default
2024-09-02 21:50:28 +02:00
sfan5
e55fb6da71
Mark a bunch of classes as final
2024-09-02 21:50:13 +02:00
sfan5
3fb4049612
Prevent accidentally copy/move of refcounted objects
2024-09-02 21:50:13 +02:00
sfan5
62131fe295
Put all pieces together and clean up leftover code
2024-09-02 21:50:13 +02:00
sfan5
6b7fc1e9fe
Handle vertex & index VBOs separately in GL drivers
2024-09-02 21:50:13 +02:00
sfan5
be9aa19208
Propagate changes to IMeshBuffer parent class
2024-09-02 21:50:13 +02:00
sfan5
435a89b5a4
Apply same changes to SSkinMeshBuffer
2024-09-02 21:50:13 +02:00
sfan5
47e4c33a50
Split CIndexBuffer from CMeshBuffer
2024-09-02 21:50:13 +02:00
sfan5
5d6e15bc49
Split CVertexBuffer from CMeshBuffer
2024-09-02 21:50:13 +02:00
sfan5
538b8b9b34
Avoid unsafety with stack-allocated mesh buffer
2024-09-02 21:50:13 +02:00
1F616EMO~nya
6105804f00
Show full texture string in "generateImage(): Failed to generate" errors ( #15033 )
2024-09-02 16:10:01 +02:00
DS
f23d7459b3
Allow to disable transparency sorting entirely ( #15101 )
2024-09-02 16:09:42 +02:00
SmallJoker
0c4f03d9a5
Reduce include count in headers
2024-09-02 16:09:32 +02:00
sfan5
b8b99d5cf1
Use std::string_view in logging code
2024-09-02 16:09:14 +02:00
JosiahWI
ac11a14509
Add static glTF support ( #14557 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: jordan4ibanez <jordan4ibanez@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-09-02 14:50:30 +02:00
sfan5
8972c80d7d
Warn if max_packets_per_iteration reduced
2024-08-31 20:47:38 +02:00
sfan5
1380bf9b88
Fix ordering issue with new server peers
2024-08-31 20:47:38 +02:00
sfan5
7afa78ec82
Remove obsolete client connection init workaround
...
m_connection_reinit_timer has a head-start of 0.1s and this code
only took effect for the very first game session so it was broken
anyway.
2024-08-31 20:47:38 +02:00
red-001
43363ee066
Disable CRT security warnings in MSVC ( #15077 )
...
MSVC by default warns if Annex-K style secure functions with additional parameter validation are not used. For better or worse, afaik other major compilers don't implement it, so it's not a very useful warning for a cross-platform project.
2024-08-31 20:47:29 +02:00
red-001
48e65ac846
Don't attempt to process packets when there are none
...
Under certain unlikely circumstances the main server loop could attempt to process packets even when the connection didn't return one. This would result in the default empty packet being processed resulting in spurious warnings about a missing client.
2024-08-31 20:46:27 +02:00
red-001
1b8b84bee8
connection: Remove unused timeout feature
...
Was only used for a unit test and incorrectly at that.
2024-08-31 20:46:27 +02:00
grorp
6608057971
Fix uninitialized SkyboxParams::fog_color
2024-08-31 20:46:14 +02:00
grorp
5c171f6d61
Basic unittest for HP change calculation
2024-08-31 20:45:53 +02:00
grorp
eae9a70385
TouchControls: Fix outdated player controls in TOSERVER_INTERACT
2024-08-31 20:45:32 +02:00
grorp
322a9c2f74
Restore proportional minimap scaling ( #15022 )
2024-08-31 18:11:56 +02:00
cx384
52376fd87a
Add hotbar Lua HUD element and replace hardcoded hotbar
2024-08-31 16:04:14 +02:00
SmallJoker
efd7792add
Debloat IVideoDriver and IrrlichtDevice includes ( #15080 )
...
As the project grows, compile time will not go down unless the header mess
is cleaned up one by one to only include exactly what's needed.
2024-08-31 11:44:30 +02:00
kromka-chleba
a6ba5304c4
Add new vector utils (ceil, sign, abs, random_in_area) ( #14807 )
2024-08-31 11:43:52 +02:00
cx384
3971b6afcc
Main menu: formspec escape world name ( #15064 )
2024-08-28 21:32:31 +02:00
David Heidelberg
7f5a19792c
enable option to toggle touch controls on Android
...
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-08-28 21:32:00 +02:00
Gregor Parzefall
3a59fabefe
split enable_touch to touch_controls (for touchscreen controls) and touch_gui
...
touch_gui provide adjustment to the interface, so it's more touch
friendly
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-08-28 21:32:00 +02:00
Gregor Parzefall
1977517d7a
Rename TouchScreenGUI -> TouchControls
...
to avoid confusion between touchscreen-related settings that affect GUIs
(formspecs) and touchscreen-related settings that affect the touch controls
(TouchControls / formerly TouchScreenGUI)
2024-08-28 21:32:00 +02:00
sfan5
bf4d31227b
Delete OpenGL ES 1.0 driver ( #15067 )
2024-08-28 20:44:42 +02:00
sfan5
1298d6c020
Fix VBO hint for transparent block parts
2024-08-28 15:38:02 +02:00
sfan5
19a58745c9
Avoid copies when working with EnrichedString
2024-08-28 15:38:02 +02:00
sfan5
fa4529b4f1
Keep stats on hw buffer uploads
2024-08-28 15:38:02 +02:00
sfan5
39970fed38
Consolidate transparent buffers lazily
2024-08-28 15:38:02 +02:00
sfan5
c00fed20b7
Fix re-loading of settings in ClientMap
2024-08-28 15:38:02 +02:00
sfan5
c52a4369eb
Fix vertex count accounting in ClientMap
2024-08-28 15:38:02 +02:00
Desour
0f7ee126de
Fix transparency sorting and animation faraway check not using mesh chunk bounding sphere
2024-08-28 15:37:54 +02:00
Desour
2e883189c1
Improve block bounds HUD feature
...
* Use different material than selection box, so it doesn't break
for non-default `node_highlighting` values.
* Add `show_block_bounds_radius_near` setting.
* Draw mesh chunk edges in a different color (red vs yellow).
2024-08-28 15:37:54 +02:00
Desour
04f0a4a1c6
Fix MeshGrid::isMeshPos()
...
`(1 + 1 + 0) % 2 = 0`, for example, so it had false positives.
Only minimap generation uses this function. It did useless work.
2024-08-28 15:37:54 +02:00
Zughy
3441fd6e04
Menu docs: clarify that image paths must be escaped to correctly render on Windows ( #15072 )
2024-08-28 15:37:43 +02:00
JosiahWI
c893e0b72b
Convert nodedef tests to Catch2 ( #15045 )
...
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-08-28 15:36:02 +02:00
Gregor Parzefall
5d18b6fcd0
Fix incorrect documentation of new-style particlespawner size property
2024-08-27 17:51:29 +02:00
SmallJoker
8109563a02
LocalPlayer: Restore 2u height sneak jump ( #15015 )
...
Fix 1: Do not consider LocalPlayer's CAO in the collision data.
Fix 2: work around the "aabbox3d::intersectsWithBox" edge-case.
2024-08-26 21:23:12 +02:00
Lars Müller
21ed680b10
Make getting bone overrides return the "same" euler angles ( #15007 )
2024-08-26 21:22:38 +02:00
SmallJoker
5583831c40
zstd: Fix minetest.decompress lockup when data ends too early
2024-08-26 18:32:59 +02:00
Desour
da1fc9a536
Meshgen: Don't get lights for not drawn solid faces
...
`drawCuboid()` doesn't call the face lighter function for masked
faces, so we don't need these values.
This is for performance.
2024-08-26 18:32:51 +02:00
wsor4035
df8afe3dc4
Reword CMake message for LuaJIT detection
2024-08-26 18:32:42 +02:00
sfan5
56123b2fbe
Fix bounding box of clouds
...
fixes #15031
2024-08-23 18:46:12 +02:00
Zemtzov7
274c223d00
Fix CSM help form using "/" instead of "." ( #15034 )
...
when copying commands to chat
2024-08-22 23:15:55 +02:00
sfan5
7968ab6928
Move network protocol implementation behind an interface
2024-08-21 21:40:58 +02:00
sfan5
c6ef5ab259
Sanitize formspec fields server-side ( #14878 )
2024-08-21 21:34:46 +02:00
Gregor Parzefall
ab7af5d15a
Fix trailing whitespace from #14179
2024-08-21 20:30:58 +02:00
grorp
66b3db3601
Fix mods folder being read twice with RUN_IN_PLACE=1 ( #15024 )
2024-08-21 20:25:58 +02:00
Zemtzov7
b2f6a65bc9
Sort clients in minetest.get_server_status
and privs in minetest.privs_to_string
( #15023 )
2024-08-21 20:25:41 +02:00
rubenwardy
6cc0452503
Generate Android versionCode from Major.Minor.Patch ( #14963 )
2024-08-21 20:25:18 +02:00
wrrrzr
1bccb4e48c
Refactor tool.cpp ( #14873 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2024-08-21 20:24:59 +02:00
sfence
f2c66b9ceb
Add possibility to easier override HP and breath engine logic by Lua ( #14179 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-08-21 20:24:43 +02:00
Lars Müller
dc21924f31
Fix animations not being restartable ( #15016 )
2024-08-20 11:51:52 +02:00
rubenwardy
2664afd832
Fix Windows enabling touch controls due to existence of touchscreen ( #15003 )
...
We want to check for the form factor instead.
2024-08-20 11:50:29 +02:00
Lars Müller
9ccd9d341f
Revert empty form name deprecation warnings
2024-08-20 11:49:41 +02:00
Daniel Hajjar
ec115ffe2a
Make SecureRandom non-failable
2024-08-20 11:49:15 +02:00
sfan5
b010714426
[no sq] Move shaders & remove dead Irrlicht tests ( #15006 )
...
* Move irrlicht shaders to correct place
* Remove unused Irrlicht tests
2024-08-19 09:17:52 +02:00
cx384
48845de46e
Fix trailing whitespace from #14945
2024-08-17 21:22:26 +02:00
cx384
03e600a721
Fix whitespaces
2024-08-17 21:02:54 +02:00
cx384
c65444c43b
Add whitespace checks to ci
2024-08-17 21:02:54 +02:00
Lars
3df070f352
Remove SAO::onAttach() and SAO::onDetach()
2024-08-17 19:49:38 +02:00
sfan5
5d226268df
Irrlicht cleanups (mostly getting rid of core::array
)
...
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2024-08-17 19:49:11 +02:00
1F616EMO~nya
5acc2736db
Translate access denied strings ( #14842 )
2024-08-17 19:48:54 +02:00
j-r
1fb49e9ca7
Add shared mods path to get_modpaths
...
...because the documentation implies it should be.
2024-08-17 19:48:40 +02:00
rubenwardy
b0ad9a6c33
Use JSON file for credits ( #14956 )
2024-08-17 15:49:53 +01:00
Zughy
792fb13ac6
Docs: Clarify rotation syntax of model
formspec element ( #14997 )
...
There has been confusion over this in the past, with users wrongly supplying rotation as `{x,y}`.
2024-08-17 15:16:37 +02:00
Lars Mueller
d3ca269c79
Add minetest.is_valid_player_name
utility
2024-08-16 22:13:16 +02:00
Lars Mueller
44db47e64a
Fix .editorconfig
mandating tabs for Markdown
2024-08-16 22:13:16 +02:00
Lars Mueller
6874c358ea
Allow managing object observers
...
-----
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2024-08-16 22:13:16 +02:00
Lars Mueller
cc8e7a569e
Switch player names to std::string
2024-08-16 22:13:16 +02:00
DS
603eb57943
Fix comment and alpha test node oopsies from #14852
2024-08-16 22:01:16 +02:00
Erich Schubert
9046379b30
Fix chance/probability wording in lua_api.md
2024-08-16 21:59:36 +02:00
Zughy
ea96f6e1e3
DOCS: state that initial_properties
are shared between entity instances
2024-08-16 21:59:20 +02:00
1F616EMO~nya
dc7a7a0ed9
Add table.keyof()
( #14910 )
2024-08-13 18:39:50 +02:00
Dmitry Marakasov
a677d33bdf
Include unistd.h for getpid() when _IRR_COMPILE_WITH_X11_
2024-08-13 18:38:59 +02:00
Gregor Parzefall
0fb67ccb34
Add setting to disable smooth scrolling
2024-08-13 18:38:34 +02:00
Erich Schubert
e6f77b95f3
Add vector.random_direction()
( #14784 )
...
Generate a random vector of unit length. Useful for many mods.
2024-08-13 18:38:07 +02:00
Loïc Blot
cb0bbea2a5
refacto: rework the GUI element handler function ( #14793 )
...
We have a very very old way to perform this handling.
With this new method, we have a more proper and flexible way to extend our UI with comprehensible handlers with common interface parameters
In terms of performance, it took very few more more memory and scraping is more faster, using the unordered_map benefits
2024-08-12 18:52:33 +02:00
1F616EMO~nya
98e51a0159
Clamp hotbar selection to slots that exist ( #14869 )
2024-08-12 15:35:13 +02:00
sfan5
39c2af9710
Render clouds as flat when thickness is zero ( #14897 )
2024-08-12 15:35:00 +02:00
grorp
013c6ee166
TouchScreenGUI: Replace buttonbars with grid menu ( #14918 )
2024-08-12 15:34:50 +02:00
y5nw
a3838dd0e8
Show IME candidate list in Windows ( #14942 )
2024-08-12 15:34:37 +02:00
1F616EMO~nya
53a50e0b0d
Fix warning about getVertexTypeDescription reaching its end ( #14806 )
2024-08-12 15:34:25 +02:00
sfan5
85e717fcd1
Rework object attachment handling to fix bugs ( #14825 )
2024-08-12 15:32:18 +02:00
Loïc Blot
a0e33ba9ea
dev: add shell.nix ( #14823 )
...
This permit to have reproducible development environment across OS (Linuxes, but maybe Mac OSX too).
It makes minetest compilable directly in a nix-shell with Nix/Lix but also on NixOS
2024-08-12 11:41:27 +02:00
Zughy
c7642c3c6c
Docs: Explain how to create and remove inventory lists ( #14927 )
2024-08-12 02:49:14 +02:00
SmallJoker
e236ad8348
Lua API: fix OOB array access in find_nodes_near ( #14948 )
2024-08-11 20:21:12 +02:00
1F616EMO~nya
f04cdc00a6
Optionally hide player names on the serverlist ( #14820 )
...
This commit adds a setting to anonymize player names when sending data to the server list.
2024-08-11 20:19:53 +02:00
asrelo
cfa9c83d33
Improve fs::PathStartsWith to handle empty strings ( #14877 )
...
`""` does not refer to a proper path, and `fs::PathStartsWith(path, "")` should just return `false`. This is also the case in libraries in other languages where I looked, seems to be common.
The new behavior:
* check early, if `prefix` is empty - return if path is empty or not,
* no special processing for when `path` is empty, the function meets characters in `prefix` and returns false anyway.
2024-08-11 20:19:14 +02:00
Lars Müller
5b19d315b3
devtest: Add sam to testentities ( #14882 )
2024-08-11 20:18:30 +02:00
rubenwardy
c6c2c4f60f
Revert "Disable SDL2 for 5.9.0 ( #14944 )" ( #14959 )
...
This reverts commit ebaf3c8d77
.
2024-08-11 20:18:11 +02:00
rubenwardy
1222750c50
Continue with 5.10.0-dev
2024-08-11 16:55:00 +01:00
rubenwardy
835dd01fa1
Bump version to 5.9.0
2024-08-11 16:54:55 +01:00
Lars Müller
20afc762cc
Fix empty tables / text lists emitting row events ( #14955 )
...
Also makes these elements no longer show a selected nonexisting row
2024-08-11 17:54:05 +02:00
updatepo.sh
dfb23c8db0
Update minetest.conf.example and settings_translation_file.cpp
2024-08-11 17:35:23 +02:00
nauta-turbidus
78e94b299d
Translated using Weblate (Polish)
...
Currently translated at 88.9% (1187 of 1335 strings)
2024-08-11 17:16:07 +02:00
hugoalh
b52f7c76cd
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 94.9% (1267 of 1335 strings)
2024-08-11 17:16:07 +02:00
Mićadźoridź
2877e8e624
Translated using Weblate (Komi)
...
Currently translated at 28.0% (375 of 1335 strings)
2024-08-11 17:16:07 +02:00
BreadW
0f166aa7ec
Translated using Weblate (Japanese)
...
Currently translated at 97.6% (1304 of 1335 strings)
2024-08-11 17:16:07 +02:00
Honzapkcz
a760faa3fa
Translated using Weblate (Czech)
...
Currently translated at 90.0% (1202 of 1335 strings)
2024-08-11 17:16:07 +02:00
Yof
c0fd23e688
Translated using Weblate (Ukrainian)
...
Currently translated at 96.6% (1290 of 1335 strings)
2024-08-11 17:16:07 +02:00
reimu105
e558e44af4
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 91.6% (1223 of 1335 strings)
2024-08-11 17:16:07 +02:00
AlexTECPlayz
0dcf3c57c7
Translated using Weblate (Romanian)
...
Currently translated at 55.7% (744 of 1335 strings)
2024-08-11 17:16:07 +02:00
BlackImpostor
6c19e68d6b
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1335 of 1335 strings)
2024-08-11 17:16:07 +02:00
ninjum
5142f32878
Translated using Weblate (Galician)
...
Currently translated at 86.5% (1156 of 1335 strings)
2024-08-11 17:16:07 +02:00
gallegonovato
aeda08c109
Translated using Weblate (Spanish)
...
Currently translated at 91.9% (1227 of 1335 strings)
2024-08-11 17:16:07 +02:00
Yic95
3d556da8b8
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 91.3% (1220 of 1335 strings)
2024-08-11 17:16:07 +02:00
waxtatect
aa11c1a278
Translated using Weblate (French)
...
Currently translated at 100.0% (1335 of 1335 strings)
2024-08-11 17:16:07 +02:00
y5nw
1cd9591997
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 96.1% (1283 of 1335 strings)
2024-08-11 17:16:07 +02:00
Jorge Rodríguez
4208022d55
Translated using Weblate (Spanish)
...
Currently translated at 89.2% (1191 of 1335 strings)
2024-08-11 17:16:07 +02:00
Wuzzy
4a4730be9b
Translated using Weblate (German)
...
Currently translated at 100.0% (1335 of 1335 strings)
2024-08-11 17:15:00 +02:00
Yuna
16c4ba599e
Add builtin pt_BR localization ( #14902 )
2024-08-11 13:38:26 +01:00
Athozus
b66aa9a954
Add builtin French localization ( #14920 )
2024-08-11 13:36:50 +01:00
rubenwardy
ebaf3c8d77
Disable SDL2 for 5.9.0 ( #14944 )
...
See #14545 and https://forum.minetest.net/viewtopic.php?t=30864
2024-08-11 13:27:41 +01:00
sfan5
62a8c5ca32
Update credits for 5.9.0
2024-08-09 11:19:56 +02:00
sfan5
f5a53647f9
Revert macOS workflow to run on x86 ( #14937 )
2024-08-09 11:18:56 +02:00
Luke aka SwissalpS
8ef2c42150
Fix some typos in docs ( #14921 )
...
---------
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-08-04 23:51:45 +02:00
Francesco Gazzetta
10fd41b4a8
Take screenshot from back buffer when using double buffering ( #14904 )
...
Fixes #14901 (black screenshots on Wayland)
2024-08-04 18:40:21 +02:00
grorp
95a0cc8f9a
Avoid infinite recursion with unhandled second touch ( #14915 )
2024-08-03 18:48:25 +02:00
cx384
c489cef875
Add version to override_item_remove_fields
feature flag doc ( #14917 )
2024-08-02 20:05:50 +02:00
y5nw
8bff2f23c6
Rename minetest.register_async_metatable
to minetest.register_portable_metatable
( #14895 )
2024-08-02 00:13:25 +02:00
rubenwardy
d566b0e280
Android SDK 34 ( #14892 )
2024-08-02 00:13:13 +02:00
SmallJoker
26deb26f17
Sounds: Partial revert of #14436 and #14341 ( #14889 )
...
This reverts functional changes of:
* commit bf52d1e6
(#14436 )
* commit 63a98538
(#14341 )
2024-07-30 21:25:50 +02:00
sfan5
2ba1d60ba5
Hide enable_touch setting on Android ( #14891 )
...
until #14749 is merged
2024-07-30 21:25:23 +02:00
Lars Müller
30dcd41d91
Mainmenu: Restore ability to enable flags in settings ( #14896 )
...
Fixes flags starting with "no" being hidden
2024-07-30 21:24:59 +02:00
Lars Mueller
90fccc15eb
Document empty key in item stack metadata
2024-07-27 18:30:22 +02:00
JosiahWI
ac284e61b4
Clean up MSVC warnings in CIrrDeviceSDL.{h,cpp} ( #14872 )
...
The only changes are to add a number of `static_cast`s to make implicit
type conversions explicit.
2024-07-27 18:28:54 +02:00
Zughy
7625f88a0c
Move mod_translation_updater.py to minetest/modtools ( #14865 )
2024-07-22 21:34:07 +02:00
sfence
4e1661eded
Fix inventory items unresponsive after tab interaction ( #14661 )
...
This was a soft lock until LMB was clicked again.
2024-07-22 19:14:53 +02:00
rubenwardy
60f8c02e18
Add setting to disable Content tab update indicator ( #14827 )
2024-07-22 16:35:47 +02:00
DS
768fd4adee
Restore buggy texture overlay modifier ( #14852 )
...
Required because of backwards compatibility.
2024-07-22 16:35:36 +02:00
Yoruma
682b789dd5
Fix variable use-without-initialization error in MSVC debug build
2024-07-22 16:32:50 +02:00
sfan5
02f40e5b0d
Fix blockseed for on_generated in mapgen env
2024-07-22 16:31:46 +02:00
sfan5
a7a719261e
Minimize data sent in the default user agent ( #14851 )
2024-07-20 10:27:04 +02:00
1F616EMO~nya
eba0806d77
Warn contributors about not to run updatepo.sh manually ( #14845 )
2024-07-20 10:24:41 +02:00
1F616EMO~nya
b03e9ef1c7
Set SDL_HINT_APP_NAME to Minetest ( #14862 )
...
* Set SDL_HINT_APP_NAME to Minetest
* Check for SDL version
* Re-run docker-image check
2024-07-19 13:22:42 +02:00
AFCMS
8e59d8b682
Better AppStream metadata ( #14648 )
...
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-07-14 21:57:29 +02:00
Kazooo100
ecf6295b4a
Allow main menu gamebar scroll to loop ( #14841 )
2024-07-14 21:57:11 +02:00
sfan5
569df37442
Un-deprecate redis database backend ( #14849 )
...
This reverts commit 83bc362dac
.
2024-07-14 21:56:55 +02:00
Gregor Parzefall
d733e1abea
Don't allow sync. HTTP requests on the main thread anymore
...
Any sync. HTTP request on the main thread is a bug, don't allow introducing one again.
2024-07-12 22:33:17 +02:00
Gregor Parzefall
c3efcb3896
Remove the last remaining sync. HTTP requests on the main thread
2024-07-12 22:33:17 +02:00
Gregor Parzefall
1e7f554bcd
Fix two typos
...
Co-authored-by: Wuzzy <Wuzzy@disroot.org
2024-07-11 19:34:39 +02:00
updatepo.sh
0e9fe7f194
Run updatepo.sh
2024-07-11 15:14:56 +02:00
updatepo.sh
f5716ef141
Update minetest.conf.example and settings_translation_file.cpp
2024-07-11 15:13:57 +02:00
Qimar
652a21ba8a
Translated using Weblate (Lojban)
...
Currently translated at 21.1% (277 of 1310 strings)
2024-07-11 14:56:15 +02:00
BlackImpostor
4d39943d0f
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
lotigara
540ea34ade
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
Kisbenedek Márton
183a2b5579
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
Va Milushnikov
d2ece3c165
Translated using Weblate (Esperanto)
...
Currently translated at 88.3% (1158 of 1310 strings)
2024-07-11 14:56:15 +02:00
ninjum
a31d6b0886
Translated using Weblate (Galician)
...
Currently translated at 87.1% (1142 of 1310 strings)
2024-07-11 14:56:15 +02:00
SergioFLS
2e62025d7e
Translated using Weblate (Toki Pona)
...
Currently translated at 1.4% (19 of 1310 strings)
2024-07-11 14:56:15 +02:00
SergioFLS
42522a277c
Translated using Weblate (Spanish)
...
Currently translated at 91.4% (1198 of 1310 strings)
2024-07-11 14:56:15 +02:00
ROllerozxa
987ade361d
Translated using Weblate (Swedish)
...
Currently translated at 64.4% (844 of 1310 strings)
2024-07-11 14:56:15 +02:00
Mićadźoridź
385df95ef4
Translated using Weblate (Komi)
...
Currently translated at 22.2% (292 of 1310 strings)
2024-07-11 14:56:15 +02:00
Mićadźoridź
5b9fb5ac02
Added translation using Weblate (Komi)
2024-07-11 14:56:15 +02:00
jhon game
c96f246200
Translated using Weblate (Hebrew)
...
Currently translated at 36.1% (474 of 1310 strings)
2024-07-11 14:56:15 +02:00
XqcD445
e55a8ab77a
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 55.4% (727 of 1310 strings)
2024-07-11 14:56:15 +02:00
EditaNEmilis
fe137c0941
Translated using Weblate (Lithuanian)
...
Currently translated at 16.1% (211 of 1310 strings)
2024-07-11 14:56:15 +02:00
Jamil Mohamad Alhussein
285a73cf0e
Translated using Weblate (Arabic)
...
Currently translated at 35.4% (464 of 1310 strings)
2024-07-11 14:56:15 +02:00
Mateusz Malinowski
306a6f57f3
Translated using Weblate (Polish)
...
Currently translated at 82.3% (1079 of 1310 strings)
2024-07-11 14:56:15 +02:00
Just Playing
105f5ec092
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
Linerly
275e2d8ff8
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
Indigo Ray
ca33bcf2ab
Translated using Weblate (Lojban)
...
Currently translated at 17.1% (225 of 1310 strings)
2024-07-11 14:56:15 +02:00
ElonSatoshi
386a249b0c
Translated using Weblate (Toki Pona)
...
Currently translated at 0.7% (10 of 1310 strings)
2024-07-11 14:56:15 +02:00
Lars Müller
dd8b1680f5
Translated using Weblate (Romanian)
...
Currently translated at 53.7% (704 of 1310 strings)
2024-07-11 14:56:15 +02:00
sfan5
6acfa2babf
Translated using Weblate (German)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
Oğuz Ersen
7025e9dff9
Translated using Weblate (Turkish)
...
Currently translated at 85.5% (1121 of 1310 strings)
2024-07-11 14:56:15 +02:00
Petter Reinholdtsen
67cdbb54bc
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 55.1% (722 of 1310 strings)
2024-07-11 14:56:15 +02:00
Wuzzy
2028a2c2f3
Translated using Weblate (German)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
BlackImpostor
570fdbf9fd
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
cora de la mouche
090a270246
Translated using Weblate (Toki Pona)
...
Currently translated at 0.7% (10 of 1310 strings)
2024-07-11 14:56:15 +02:00
cora de la mouche
fcb09f440f
Added translation using Weblate (Toki Pona)
2024-07-11 14:56:15 +02:00
Unacceptium
ab2ad8aec1
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:15 +02:00
yue weikai
55334cfbc0
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:14 +02:00
Mivik
590273e2fd
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
Conight
a813e261b4
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
IFRFSX
043961fc3e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
Y.W
c85cefde67
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
ferrumcccp
34326df680
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
ZhiZe-ZG
6af09cb2ad
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
70fc175e74
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:14 +02:00
Deleted User
4fd4ed6ca3
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.7% (1241 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
9c6d5a8408
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.7% (1241 of 1310 strings)
2024-07-11 14:56:14 +02:00
ZhiZe-ZG
6079d4488a
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.3% (1236 of 1310 strings)
2024-07-11 14:56:14 +02:00
AISS
0163e0b099
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.3% (1236 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
ace8c56199
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.6% (1227 of 1310 strings)
2024-07-11 14:56:14 +02:00
ZhiZe-ZG
abd05a38ad
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.9% (1205 of 1310 strings)
2024-07-11 14:56:14 +02:00
IFRFSX
e7c8346861
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.9% (1205 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
69dd8c61c9
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.9% (1205 of 1310 strings)
2024-07-11 14:56:14 +02:00
秘密の店
4e3185af88
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1202 of 1310 strings)
2024-07-11 14:56:14 +02:00
ZhiZe-ZG
b69c02a824
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1202 of 1310 strings)
2024-07-11 14:56:14 +02:00
AISS
606da069b4
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1202 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
607f473be2
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1202 of 1310 strings)
2024-07-11 14:56:14 +02:00
Y.W
e283b6fb25
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1202 of 1310 strings)
2024-07-11 14:56:14 +02:00
Lin Happy 666
da7e95a221
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.7% (1202 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
754842c6af
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.1% (1194 of 1310 strings)
2024-07-11 14:56:14 +02:00
秘密の店
675b6e9228
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.6% (1188 of 1310 strings)
2024-07-11 14:56:14 +02:00
yue weikai
070c5ee632
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.6% (1188 of 1310 strings)
2024-07-11 14:56:14 +02:00
Uko Koknevics
b78042fc2f
Translated using Weblate (Latvian)
...
Currently translated at 22.5% (296 of 1310 strings)
2024-07-11 14:56:14 +02:00
gallegonovato
a55c689d7c
Translated using Weblate (Spanish)
...
Currently translated at 90.2% (1182 of 1310 strings)
2024-07-11 14:56:14 +02:00
Blood Axe
f0a28c381b
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 54.4% (713 of 1310 strings)
2024-07-11 14:56:14 +02:00
56 independent
3d9a5e6866
Translated using Weblate (Spanish)
...
Currently translated at 90.2% (1182 of 1310 strings)
2024-07-11 14:56:14 +02:00
Edward
857d5fe6a1
Translated using Weblate (Romanian)
...
Currently translated at 51.6% (677 of 1310 strings)
2024-07-11 14:56:14 +02:00
Adam Jagoda
1e485d5dbc
Translated using Weblate (Polish)
...
Currently translated at 82.0% (1075 of 1310 strings)
2024-07-11 14:56:14 +02:00
Filippo Alfieri
20bc6d6789
Translated using Weblate (Italian)
...
Currently translated at 94.3% (1236 of 1310 strings)
2024-07-11 14:56:14 +02:00
Balázs Kovács
ed07a70327
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:14 +02:00
YearOfFuture
dfc10f4a32
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:14 +02:00
RRadler
64cc3b90c7
Translated using Weblate (Greek)
...
Currently translated at 26.4% (346 of 1310 strings)
2024-07-11 14:56:14 +02:00
Tirifto
02776f9768
Translated using Weblate (Esperanto)
...
Currently translated at 88.3% (1157 of 1310 strings)
2024-07-11 14:56:14 +02:00
dog
2ab6662a13
Translated using Weblate (Korean)
...
Currently translated at 54.3% (712 of 1310 strings)
2024-07-11 14:56:14 +02:00
Jaidyn Ann
be56413593
Translated using Weblate (Esperanto)
...
Currently translated at 86.1% (1129 of 1310 strings)
2024-07-11 14:56:14 +02:00
JUST PLAYING
f0de9c100d
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:14 +02:00
Tianshu Feng
5693327ca1
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 87.4% (1145 of 1310 strings)
2024-07-11 14:56:14 +02:00
Unacceptium
a1f82dcfb7
Translated using Weblate (Hungarian)
...
Currently translated at 99.4% (1303 of 1310 strings)
2024-07-11 14:56:14 +02:00
Giov4
2b7fd07150
Translated using Weblate (Italian)
...
Currently translated at 93.6% (1227 of 1310 strings)
2024-07-11 14:56:14 +02:00
Gaël Chrétien
9c197693d7
Translated using Weblate (French)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:14 +02:00
jhh
6afd79c771
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 39.8% (522 of 1310 strings)
2024-07-11 14:56:14 +02:00
Alexsandro Vítor
35485379bd
Translated using Weblate (Portuguese)
...
Currently translated at 91.8% (1203 of 1310 strings)
2024-07-11 14:56:13 +02:00
Christian Elbrianno
da3deefae2
Translated using Weblate (Indonesian)
...
Currently translated at 99.9% (1309 of 1310 strings)
2024-07-11 14:56:13 +02:00
reimu105
1a53086f7c
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 84.7% (1110 of 1310 strings)
2024-07-11 14:56:13 +02:00
Jun Nogata
0ca6bb3a1f
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:13 +02:00
Marian
c5d461c379
Translated using Weblate (Slovak)
...
Currently translated at 95.8% (1255 of 1310 strings)
2024-07-11 14:56:13 +02:00
AISS
531e2b442d
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 84.5% (1108 of 1310 strings)
2024-07-11 14:56:13 +02:00
reimu105
7ead579c67
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 84.5% (1108 of 1310 strings)
2024-07-11 14:56:13 +02:00
Tianshu Feng
2e91094afa
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 86.8% (1138 of 1310 strings)
2024-07-11 14:56:13 +02:00
Nanashi Mumei
b991941227
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:13 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
65aa894749
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:13 +02:00
BreadW
3f478d8597
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:13 +02:00
YearOfFuture
470f6742bc
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:13 +02:00
waxtatect
3f2f38842c
Translated using Weblate (French)
...
Currently translated at 100.0% (1310 of 1310 strings)
2024-07-11 14:56:13 +02:00
sfan5
a6121c7f67
Fix path traversal in mainmenu's extract_zip
2024-07-10 22:37:45 +02:00
rubenwardy
bb3f271a20
Set ContentDB updates detection cache time to 24 hours ( #14837 )
2024-07-09 22:07:26 +01:00
grorp
3de42f56c5
Fix and improve particle(spawner) documentation ( #14804 )
2024-07-06 18:02:31 +02:00
grorp
fcb4f258f5
GUITable: Scale images with display density / row height ( #14709 )
2024-07-02 20:57:43 +02:00
Lars Müller
8ed55b3aff
Help modders deal with object invalidation ( #14769 )
...
* Skip invalid objects in raycasts
* Add `ObjectRef:is_valid` method
* Add object inside radius / area iterators which skip invalid objects
* Update docs to clarify object invalidation and how to deal with it
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-07-01 20:50:38 +02:00
Erich Schubert
d5444e1172
Fix more missing newlines in lua_api.md
( #14791 )
...
Poor rendering in online documentation:
https://api.minetest.net/minetest-namespace-reference/#list-of-apis-available-in-the-mapgen-env
https://api.minetest.net/minetest-namespace-reference/#list-of-apis-available-in-an-async-environment
2024-07-01 20:49:00 +02:00
grorp
ea827e4c5d
Fix new texture properties not being sent for minetest.add_particle ( #14760 )
...
Co-authored-by: Lars Müller <appgurulars@gmx.de>
2024-07-01 20:41:54 +02:00
SmallJoker
95e77bd7cb
Translation updater: Fix error when no translation strings were found
2024-07-01 18:29:53 +02:00
1F616EMO~nya
321b217feb
Log node/ore name when detecting deprecated fields ( #14794 )
2024-07-01 17:26:15 +02:00
grorp
3958c19f83
Remove enable_touch special case for C++ menu scaling ( #14800 )
2024-06-30 20:39:36 +02:00
grorp
7709d92289
Restore old inconsistent minimum digging time behavior ( #14777 )
...
and restore default of 0.16 for repeat_place_time since it was only changed to be in line with repeat_dig_time.
2024-06-30 20:39:28 +02:00
sfan5
868b548dd0
lua: add short readme
2024-06-30 20:38:22 +02:00
sfan5
837aab0e98
lua: apply patch for "read overflow in 'l_strcmp'"
...
<https://lua.org/bugs.html#5.4.6-1 > (minimal port of changes)
2024-06-30 20:38:22 +02:00
sfan5
77ac20a66b
lua: apply patch for "Parameter 'what' of 'debug.getinfo' cannot start with '>'"
...
<https://lua.org/bugs.html#5.4.2-2 >
2024-06-30 20:38:22 +02:00
sfan5
7362ecb3b4
lua: apply patch for "Compiler can optimize away overflow check in table.unpack"
...
<https://lua.org/bugs.html#5.2.3-1 >
2024-06-30 20:38:22 +02:00
sfan5
88ffe75b58
lua: apply patch for "Chunk with too many lines may crash Lua"
...
<https://lua.org/bugs.html#5.2.3-3 >
2024-06-30 20:38:22 +02:00
sfan5
c1520c9e11
lua: apply patch for "Stack overflow in vararg functions with many fixed parameters called with few arguments"
...
known as CVE-2014-5461
<https://sources.debian.org/src/lua5.1/5.1.5-9/debian/patches/0004-Fix-stack-overflow-in-vararg-functions.patch/ >
2024-06-30 20:38:22 +02:00
grorp
9a1501ae89
CIrrDeviceSDL: Fix numpad key events not having correct KeyInput.Char ( #14780 )
...
Allows you to change viewing range using numpad +/- again. This fix also works with the current unreleased version of SDL 3.
The keycodes for numpad keys (both SDL keycodes and Irrlicht keycodes) are not the same as the keycodes for the equivalent non-numpad keys and don't correspond to chars, so I mapped them to chars manually.
Since I think the resolution of https://github.com/minetest/minetest/issues/13770 was "just disable numlock", I made sure to only do this for the numpad number keys if numlock is enabled.
2024-06-27 14:44:44 +02:00
Erich Schubert
514e106414
Fix missing newline before Markdown list ( #14783 )
...
Renders incorrectly e.g. on https://api.minetest.net/spatial-vectors/
2024-06-26 22:21:18 +02:00
grorp
4c001bd248
Make button sprites (scrollbar arrows) DPI-aware ( #14772 )
2024-06-26 15:25:27 +02:00
1F616EMO~nya
fb6ceb2664
Properly escape Markdown markups at minetest.string_to_area ( #14774 )
...
Co-authored-by: DS <ds.desour@proton.me>
2024-06-24 22:14:16 +02:00
aminothere
50da26da91
Document alternative 'persist' key in noise parameter table ( #14762 )
2024-06-24 22:12:42 +02:00
kromka-chleba
28857841aa
Fix math.round floating point bug ( #14757 )
2024-06-24 20:57:06 +01:00
rubenwardy
157d129e30
Fix unnecessary content refreshing ( #14705 )
2024-06-24 20:56:37 +01:00
Yoruma
9ab447843b
Clarify "dtime" in API ( #14758 )
2024-06-22 10:59:58 +02:00
l-koehler
fe6da3a16b
Disallow formspec debug if the player does not have the debug privilege ( #14753 )
2024-06-17 15:59:49 +02:00
sfan5
fac9aac821
Move malloc_trim invocations to background thread ( #14744 )
2024-06-17 15:59:35 +02:00
grorp
d7f4ce6cff
Fix broken default sneak keybind on macOS with SDL ( #14754 )
2024-06-16 17:50:02 +02:00
grorp
a9cca5e76c
SDL2: Support highdpi ( #14703 )
...
and handle DPI changes at runtime
2024-06-16 17:49:42 +02:00
cx384
7a64527db5
Fix connected_players on_shutdown ( #14739 )
2024-06-15 16:00:33 +02:00
grorp
bc23a610d3
Fix two problems with toggling fullscreen at runtime ( #14750 )
2024-06-14 16:50:41 +02:00
Mikita Wiśniewski
9def45aa80
Add zstd to Void Linux dependencies ( #14748 )
2024-06-12 12:39:15 +02:00
grorp
85878d894a
Android: Fix back button sometimes not working as ESC ( #14743 )
2024-06-11 22:37:57 +02:00
Lars Mueller
ae4cd1ebf1
Corresponding code changes
2024-06-10 21:15:30 +02:00
minetest
781c7a800f
Replace Catch2 with v3 amalgamation
2024-06-10 21:15:30 +02:00
sfan5
5133ae52df
Update vcpkg used in CI
2024-06-10 18:49:43 +02:00
sfan5
3539af7d77
Set some useful SDL hints
...
fixes #14596
2024-06-10 18:49:43 +02:00
sfan5
c03894321a
Fix file write warning in devtest
...
closes #14721
2024-06-10 18:49:43 +02:00
sfan5
b7e886a740
Rename sha256 header
...
fixes #14710
2024-06-10 18:49:43 +02:00
sfan5
8268c61b9f
Make safeWriteToFile safe for thread-concurrent use
2024-06-10 18:49:43 +02:00
sfan5
fee6e8e11b
Identify when compiled with openresty LuaJIT
...
Debian testing ships it
2024-06-10 18:49:43 +02:00
sfan5
558d749d54
A few clean ups in log.cpp
2024-06-10 18:49:43 +02:00
sfan5
27cb54c1db
Stop misusing volatile keyword
2024-06-10 18:49:43 +02:00
cx384
4c9be808a7
Improve register_on_leaveplayer documentation
2024-06-09 13:21:54 +02:00
sfan5
71893807b3
Call malloc_trim() regularly to improve deallocation behavior ( #14707 )
2024-06-07 16:57:30 +02:00
SmallJoker
08485f6781
Chat: Remove tailing punctuation from clickable links
2024-06-05 20:11:47 +02:00
sfan5
87232358d3
Update some workflows to newer Ubuntu versions ( #14668 )
2024-06-03 20:39:02 +02:00
Lars Müller
ec9c000be9
Fix scrolling in scroll containers ( #14702 )
2024-06-03 20:38:09 +02:00
Alex
75f3a2183f
Fix and clarify skybox texture order documentation ( #14680 )
2024-06-03 12:40:34 +02:00
Lars Mueller
445e485fc5
Fix CI not running on Irrlicht-only PRs
2024-06-03 11:15:56 +02:00
grorp
508b5ccc63
Document keymap_toggle_block_bounds, remove unimplemented BLOCK_BOUNDS_MAX ( #14722 )
2024-06-02 21:05:35 +02:00
grorp
833bb542fc
Allow toggling fullscreen without restart and add keybind ( #14714 )
2024-06-02 21:05:16 +02:00
grorp
981d67324b
Mainmenu: Unify gamedata.errormessage and messagebox formspecs ( #14716 )
2024-06-01 17:03:06 +02:00
sfence
140b9e5a5a
Allow game to specify first and last mod in mod loading order ( #14177 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-01 16:36:20 +02:00
Lars Mueller
a4768d1638
Fix fog moon tint not working
2024-06-01 16:34:32 +02:00
rubenwardy
abf353c178
Update no games message to give more context ( #14695 )
2024-05-29 20:10:22 +02:00
SmallJoker
670bb32b2c
Particles: fix crash caused by absent texture
...
Introduced in commit f8bff34
. The related code does already expect that
'texture.ref' may be nullptr.
2024-05-29 19:46:24 +02:00
Desour
f836a47bc1
Sound loading: Fix issues where ov_read skips samples
2024-05-27 17:12:58 +02:00
Desour
43df39c4f7
Sound loading: Improve error handling
2024-05-27 17:12:58 +02:00
Desour
9da5c5e2d0
Add precompiled header support
...
Note: the <filesystem> header is not included in the default
precompiled_headers.txt, because we don't use it yet, and it might be big
2024-05-27 17:12:39 +02:00
Desour
cdbbac5b6d
Move sha256.c to lib/
...
Precompiled headers don't work if we're not a pure C++ project.
2024-05-27 17:12:39 +02:00
Gregor Parzefall
3120558dd1
Make the CDB dependency dialog use more space
2024-05-26 19:49:48 +02:00
Gregor Parzefall
f3c91e4f96
Immediately apply gui_scaling changes to IGUISkin
2024-05-26 19:49:48 +02:00
grorp
b1fa430dad
Android: Don't crash if there is no web browser installed ( #14683 )
2024-05-26 19:49:32 +02:00
sfan5
83bc362dac
Mark Redis database backend as deprecated ( #14679 )
2024-05-26 14:28:30 +02:00
Muhammad Rifqi Priyo Susanto
a86baefda7
Translation updater: Add support for function call without parantheses ( #14574 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-05-26 14:28:24 +02:00
AFCMS
82790b1556
Add documentation for IDE developer setup ( #13935 )
2024-05-26 14:28:12 +02:00
grorp
728f643ea7
Scale C++ menus down to fit the window ( #14690 )
2024-05-24 12:10:46 +02:00
grorp
d5fc040d2d
Consistent width for internal scrollbars of formspec elements ( #14689 )
...
also: Make sure that very short, wide scrollbars are still usable
2024-05-24 12:10:19 +02:00
grorp
6c0b8229ec
Fix artifacts with bloom + tonemapping on ogles2 ( #14688 )
2024-05-23 20:36:13 +02:00
grorp
bc60693a5d
Enable "FULL" debug info for Android build ( #14684 )
2024-05-23 20:36:01 +02:00
JosiahWI
1298374818
Upgrade client active object mgr tests to Catch2 ( #14565 )
...
* Upgrade client active object mgr tests to Catch2
In addition to invoking Catch2's test runner after Minetest's homemade
runner, this refactors the tests to follow the DRY principle, and gives
them expressive names and clear assertions. Catch2 is already bundled
with Minetest, so there are no added dependencies.
* Increment failed modules count for Catch2 tests
* Respect --test-module option for Catch2 tests
* Improve Catch2 --test-module behavior
This switches infostream to rawstream so that test runner output is
displayed, and returns the correct boolean depending on the results. The
tests are now found by setting the configuration instead of invoking the
command line parser.
* Test uniqueness of all IDS instead of just one
Co-Authored-By: Lars Müller <appgurulars@gmx.de>
* Include Catch2 test run in timing and logging
* Flush std::cout after printing Catch results
* Increment total tests run instead of hardcoding to 1
* Flush stderr before printing to stdout
It's necessary to flush stderr before printing to stdout in adition to
flushing stdout before printing to stderr, to make sure all output is
ordered correctly.
* Make Catch write to rawstream
---------
Co-authored-by: Lars Müller <appgurulars@gmx.de>
2024-05-22 18:39:53 +02:00
Xeno333
a078cfee3e
Rename "opaque_water" setting to "translucent_liquids" with inverted meaning ( #14660 )
...
The old setting will be migrated properly.
---------
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-05-22 16:46:05 +02:00
Lars Mueller
bd4572cfd1
Fix broken CI
2024-05-21 18:10:09 +02:00
sfence
df8a600b22
Fix glitch through ceiling with Sneak Glitch ( #14332 )
2024-05-21 17:52:54 +02:00
Lars Mueller
567f85752d
Fix broken unit test
...
Also makes devtest unit test results a bit more prominent
2024-05-21 16:31:05 +02:00
Lars Mueller
5009259473
Add unit test and feature flag for override_item
2024-05-21 15:46:33 +02:00
sfence
b21a974342
Fix inventory: Quickly picking up item and placing it again no longer works ( #14657 )
2024-05-21 15:38:12 +02:00
chmodsayshello
ab783b9bb2
Display background & moving progress bar on shutdown screen ( #14597 )
...
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-05-21 15:37:35 +02:00
sfan5
36d236c5e0
Update SDL for mingw builds ( #14678 )
2024-05-20 20:37:52 +02:00
Lars Müller
408faa11a1
Allow removal of item definition fields ( #14675 )
2024-05-20 20:37:40 +02:00
OgelGames
8972e829f2
Restore vector type check ( #14663 )
2024-05-20 20:36:44 +02:00
sfan5
c4703a7f19
Fix wrong collision axis in Lua moveresult
...
introduced by c24a04d246
2024-05-17 14:32:57 +02:00
grorp
f6cfe6b873
Enable RTTI for Irrlicht on MSVC ( #14677 )
2024-05-17 13:27:31 +02:00
Muhammad Rifqi Priyo Susanto
bceef8f529
Trivial fix (forget to remove semicolon) in gettext.cpp
2024-05-16 21:00:00 +07:00
AFCMS
b23042839b
Fixes to Docker GitHub Actions workflow
2024-05-15 19:56:50 +02:00
ROllerozxa
5625be70fa
Don't bundle Development Test on macOS
2024-05-15 19:56:41 +02:00
Lars Müller
5c187363b2
Fix some clang compiler warnings ( #14654 )
...
* Fix some clang compiler warnings
* Get rid of sdl_supports_primary_selection
* Fix draw2DImage hiding overloaded virtual function
2024-05-15 19:56:25 +02:00
sfan5
93f4844c9c
Fix unintentional error message with dynamic media
2024-05-14 23:12:49 +02:00
sfan5
39fd9b93c3
Introduce proper error handling for file streams
2024-05-14 18:33:08 +02:00
sfan5
c38e0d05bf
Reenable fog toggle unless server restricts fog distance ( #14634 )
...
see comments in #14539
2024-05-14 18:31:51 +02:00
Josiah VanderZee
5a4d7fb0d6
Do not bother to assert that a u8 is >= 0
...
This fixes a warning seen in GCC 7 on CI about a comparison in
mapblock.h that is always true.
2024-05-14 16:21:30 +02:00
sfan5
6303334cc2
Deduplicate GL extension detection
2024-05-12 14:20:34 +02:00
sfan5
472742266b
Fix invalid glDrawBuffer call on GLES
...
closes #14445
2024-05-12 14:20:34 +02:00
chmodsayshello
0889048cb5
Add option for random mod load order ( #14637 )
2024-05-12 14:20:18 +02:00
grorp
57b6e74abb
Fix crash if zip file cannot be opened ( #14636 )
...
Helped-by: savilli <78875209+savilli@users.noreply.github.com>
2024-05-12 11:46:39 +02:00
grorp
a8af0c0ca4
Close buttonbars when hiding TouchScreenGUI ( #14630 )
...
To open the inventory or the pause menu, you first need to open the buttonbar
containing the respective button. Before this commit, the buttonbar is still
open after closing the menu, so you have to tap twice before you can continue
playing. After this commit, the buttonbar is already closed after closing the
menu, so you only have to tap once before you can continue playing.
2024-05-10 18:54:22 +02:00
Benjamin Wheeler
07fe8d4481
Dockerfile: Use the default branch when cloning libspatialindex repository ( #14621 )
2024-05-10 17:00:15 +07:00
grorp
e0e1d0855d
Close formspecs with a single tap outside ( #14605 )
2024-05-09 19:16:08 +02:00
grorp
178591b6d5
Android CI: Additionally make an AAB for uploading to the Play Store ( #14584 )
2024-05-09 19:15:50 +02:00
sfan5
dd475d8af4
Add benchmarks for server::ActiveObjectMgr
2024-05-09 11:31:35 +02:00
Licaon_Kter
121d22f137
Cleanup Removed Java 17 Options ( #14626 )
...
ref: https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#removed-java-options
2024-05-09 11:31:22 +02:00
sfan5
59bf1d8cd9
Fix curl compatibility issues with colorize_url ( #14615 )
...
Also move the escape code safety check to guiOpenURL.
2024-05-09 11:31:10 +02:00
jordan4ibanez
780543f0a2
Add forgotten opensuse dependency
...
gcc-c++
2024-05-09 00:22:36 +02:00
sfan5
de78ffb551
Fix strings in modified_reason_strings
...
one was also missing
2024-05-09 00:19:24 +02:00
sfan5
1aba7f1fde
Add unit tests for MapBlock (de)serialization ( #14560 )
2024-05-05 22:54:40 +02:00
rubenwardy
3017b0213b
Allow quoting hypertext attribute values ( #14550 )
2024-05-05 14:27:17 +02:00
sfan5
d748c8c653
Gate disabling of fog or camera update behind 'debug' priv
2024-05-05 14:26:56 +02:00
grorp
af8cb63292
Add object's own position for each collision to moveresult ( #14608 )
2024-05-05 13:28:59 +02:00
grorp
d7f9da49eb
Fix shootline not being updated if press and release happen in the same step ( #14606 )
2024-05-05 13:28:50 +02:00
Lars Mueller
70bddcf318
Fix wrong name for bone override interpolation field
2024-05-04 02:09:35 +02:00
SmallJoker
f0bb5313d3
Chat console: Prevent input loss on double open
2024-05-03 16:29:33 +02:00
DS
c352fbf5c9
Warn on unknown CMAKE_BUILD_TYPE values ( #14600 )
2024-05-03 16:29:02 +02:00
sfan5
9c3c286aab
Optimize code patterns around raycasting
2024-05-03 16:28:29 +02:00
sfan5
e10adf83d5
Reduce wasteful memory allocations in update_lighting_nodes()
2024-05-03 16:28:29 +02:00
sfan5
c24a04d246
Optimize pushing collision data for entity on_step
...
Since this is fixed overhead for every entity, this is important to optimize.
This optimizes one very common case.
before:
push_collision_move_result [us] _____________ 64512x 3.562
after:
push_collision_move_result [us] _____________ 72636x 0.831
2024-05-03 16:28:29 +02:00
sfan5
2e89529eef
Optimize env access and structs in collisionMoveSimple
2024-05-03 16:28:29 +02:00
sfan5
92d03f3832
Trivially optimize iteration order in loops
...
Due to how node data is stored iterating X last provides better cache locality.
2024-05-03 16:28:29 +02:00
Lars Müller
2efd0996e6
Document empty string as form name ( #14601 )
2024-04-30 13:50:31 +02:00
sfan5
ac4f13e78f
Add minetest.get_gen_notify to mapgen env ( #14568 )
2024-04-30 13:50:18 +02:00
grorp
2bdd0a6bdb
Add physics overrides for walk speed and Fast Mode ( #14475 )
...
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
2024-04-30 13:50:01 +02:00
SmallJoker
c044a3c1ca
Client: fix unknown texture upon shift-move to full inventory list ( #14586 )
...
Fixes a regression caused by 4245a760
'moveItemSomewhere' attempted to add a leftover stack to an empty stack, resulting
in an empty name with non-0 ItemStack count.
2024-04-28 19:45:09 +02:00
sfence
72cb4e9bea
Allow nil
puncher in object:punch
( #14319 )
2024-04-28 17:55:04 +02:00
sfan5
fc0ac64277
Fix build errors with curl disabled
2024-04-28 12:31:15 +02:00
sfan5
df4c9e2903
Revert "Clean up some getServer() unsafety"
...
Turned out to not be a good idea.
This reverts commit 58eccc7a2a
.
2024-04-28 00:24:22 +02:00
grorp
73dbd2f0ab
Smooth scrolling ( #14562 )
2024-04-28 00:14:31 +02:00
OgelGames
05d5dc4cec
Fix InvRef
bugs and add unit tests ( #14591 )
2024-04-28 00:13:44 +02:00
Muhammad Rifqi Priyo Susanto
815b5cb086
Translation updater: Add comment propagation ( #14416 )
2024-04-28 00:12:30 +02:00
Lars Müller
0837d674eb
Fix set_fov-induced grayscreen
2024-04-28 00:12:15 +02:00
OgelGames
a7bde8e523
Hide internal detached inventory functions ( #14594 )
2024-04-28 00:07:45 +02:00
LoneWolfHT
c63c05b141
Fix crash when player leaves before breath removal job
2024-04-24 22:32:07 +02:00
sfan5
12ccbe6f12
Amend profiling documentation
2024-04-24 14:55:50 +02:00
Muhammad Rifqi Priyo Susanto
be540043ee
Do not make inventory_items_animations setting static thread_local ( #14573 )
...
This removes restart requirement when toggling the setting after the first play/run.
2024-04-24 09:00:04 +07:00
JosiahWI
de8d80dee0
Fix MSVC warning C4172 in ModifySafeMap::get ( #14576 )
2024-04-23 19:04:26 +02:00
sfan5
98fd5bd453
Formalize OS support policy ( #14556 )
2024-04-23 19:03:58 +02:00
cosin15
15b569fb71
Remove unnecessary copy of a big data structure
2024-04-23 19:03:50 +02:00
sfan5
58eccc7a2a
Clean up some getServer() unsafety
2024-04-23 19:03:35 +02:00
sfan5
e39e47b21f
Reduce needless copying of KeyPress
2024-04-23 19:03:35 +02:00
sfan5
e7f6e7d7b6
Fix Irrlicht log events not being passed through
2024-04-23 19:03:35 +02:00
sfan5
af27d97003
Log delays introduced by SDL_PollEvent
2024-04-23 19:03:35 +02:00
sfan5
c8e46749a4
Change some profiler values to microseconds
2024-04-23 19:03:35 +02:00
grorp
eb432d3da0
Fix some Game members not being freed after some startup errors ( #14561 )
2024-04-21 15:52:46 +02:00
David Heidelberg
4ab3c54f5b
Basic tablet/phone/watch autodetection ( #14400 )
...
Until we're able to detect touchscreen itself, let's have a detection
based on a form factor of the device.
Tablets and handhelds are usually equiped with touchscreens, so as a
default enable touchscreen GUI there.
- Windows and Linux supports autodetection.
- Android is hardcoded as touch-based.
- MacOS staying same as before without detection.
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-04-21 15:51:58 +02:00
JosiahWI
de1d8ec070
Do not link /latomic on MSVC ( #14564 )
...
MSVC does not recognize /latomic, resulting in a warning upon configure.
2024-04-20 20:37:46 +02:00
SmallJoker
c8a41409d9
HUD: Text element color support ( #14558 )
2024-04-20 20:36:44 +02:00
Josiah VanderZee
d2a089ffd9
Remove <ctgmath> include from particles.h
...
The header is deprecated, and we don't even use it.
2024-04-20 18:01:25 +02:00
sfan5
3bd5169aee
Fix profiler assertion failures
...
oops
2024-04-20 14:32:35 +02:00
sfan5
b7887a339d
mod_translation_updater.py: fix @n being incorrectly rejected
2024-04-20 14:10:04 +02:00
sfan5
1b89d4d541
Simplify getBlockNodeIdMapping
...
since commit 0f9c78c3eb
nodedef->get()
will never return an entry with empty name, so we can drop the related parts.
2024-04-20 13:03:42 +02:00
sfan5
d8190e1c5f
Some globals (un-)init fixes
2024-04-20 13:03:42 +02:00
sfan5
2af5191070
Optimize MapNode::serializeBulk
...
before
serializeBulk [us] __________________________ 9047x 9.363
after
serializeBulk [us] __________________________ 8458x 1.214
2024-04-20 13:03:42 +02:00
sfan5
4027e08cc8
Print profiler at end of session
2024-04-20 13:03:42 +02:00
sfan5
72eeb9fecb
Refactor profiler and related classes
2024-04-20 13:03:42 +02:00
DS
5a07f5a652
Fix inconsistent rounding in VoxelLineIterator::VoxelLineIterator ( #14555 )
...
floatToInt rounds 0.5 differently depending on sign.
2024-04-20 13:03:34 +02:00
sfan5
d767ab0890
Add runtime test to mingw CI
2024-04-17 16:58:31 +02:00
sfan5
df2fd399df
Fix missing DLLs in Windows build
2024-04-17 16:58:31 +02:00
grorp
f2b5c35fa2
TouchScreenGUI dehardcoding refactor ( #14472 )
2024-04-17 15:59:52 +02:00
rubenwardy
b2057a5da7
Hypertext: Fix missing space after single letter word ( #14551 )
...
Fixes #11727
2024-04-16 08:48:16 +01:00
sfan5
38cacfa577
Try to fix macro definition order problem with OpenGL code
2024-04-15 19:27:05 +02:00
sfan5
13e271c6cb
Improve error checks in COpenGL3DriverBase
2024-04-15 17:48:33 +02:00
sfan5
7a6ca85081
Expose OpenGL debugging as a normal setting
2024-04-15 17:48:33 +02:00
sfan5
ecfe9c5c2f
lua_api: Clarify some environment API functions
2024-04-14 11:57:20 +02:00
Wuzzy
9f263319ca
Fix 4dir nodebox sometimes not rendering face ( #14533 )
2024-04-14 11:57:13 +02:00
paradust7
00ef597639
CI: Pin CMake to 3.28 because of regression in 3.29.1
2024-04-12 16:34:05 +02:00
sfan5
30e280b694
Use MT's string conversion inside Irrlicht
2024-04-10 15:31:59 +02:00
sfan5
b9adf244e5
Simplify Irrlicht CMake for static linking
...
removes any dynamic linking capability, which will stop being possible soon anyway.
2024-04-10 15:31:59 +02:00
cx384
8a5e49c856
Refactor builtin HUD ( #14346 )
2024-04-10 11:43:15 +02:00
rubenwardy
284f6d3682
Refactor ContentDB integration ( #14507 )
2024-04-09 21:18:40 +02:00
Gregor Parzefall
cc1bfc6d03
Improve SDL GL fallback code
...
It now works even if window creation succeeds and only context creation fails.
Adapted from https://github.com/MoNTE48/Irrlicht . This should be fine
license-wise since that repo still contains the original Irrlicht license
(this is no legal advice).
Original PR: https://github.com/MoNTE48/Irrlicht/pull/9
Co-authored-by: Deve <deveee@gmail.com>
2024-04-08 20:15:37 +02:00
Gregor Parzefall
07fdf7158d
Migrate the Android port to SDL2
2024-04-08 20:15:37 +02:00
Gregor Parzefall
fca60e2a41
Add SDL2 Java code
2024-04-08 20:15:37 +02:00
DS
e12db0c182
Sounds: Queue more than two buffers if pitch is high ( #14515 )
...
Pitch changes playback speed. So always enqueuing 2 buffers did not suffice
(and it was unnecessary complicated).
2024-04-07 22:06:34 +02:00
DS
1d673ce075
Print filenames in irrlicht png warnings ( #14525 )
...
Makes warnings like this more informative:
`WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile`
2024-04-07 22:06:13 +02:00
sfan5
7e4462e0ac
Better handling of temporary folders
2024-04-06 12:10:21 +02:00
sfan5
f87994edc7
Use better randomseed for Lua too
...
see e985b7a0bf
This solves a concrete issue with async workers generating the same
random numbers (as discovered in #14518 ).
2024-04-06 12:10:21 +02:00
sfan5
ef0c19477c
Fix HAVE_RECENT_LJ false-positives
2024-04-06 12:10:21 +02:00
grorp
9bee6d899b
Fix invisible crosshair with effective HUD scaling < 1
2024-04-06 12:10:12 +02:00
1F616EMO~nya
2d8e4df7bc
Allow optional actor ObjectRef value in node interaction calls ( #14505 )
2024-04-05 13:00:50 +02:00
sfan5
4e1679d2a2
Keep empty servers at bottom of list ( #14511 )
2024-04-05 13:00:34 +02:00
Gregor Parzefall
fd8e02195e
Fix local server startup and shutdown blocking the main thread
...
Co-authored-by: sfan5 <sfan5@live.de>
2024-04-05 13:00:21 +02:00
Gregor Parzefall
b2982a6f14
Fix all cached media being loaded at once on the main thread
2024-04-05 13:00:21 +02:00
sfan5
a9a0f1e129
Fix GLES shader precision issues ( #14516 )
2024-04-05 13:00:10 +02:00
Lars Müller
0ea1ec31fc
Misc. doc things ( #14509 )
...
* Improve `[sheet` docs
* Clarify that `self` is a luaentity in `self.name`
* Clarify `textures = {itemname}` deprecation
* Document global callback table names
2024-04-03 14:24:15 +02:00
sfan5
f8bff346f4
Batched rendering of particles ( #14489 )
...
Co-authored-by: x2048 <codeforsmile@gmail.com>
Co-authored-by: Desour <ds.desour@proton.me>
2024-04-03 13:56:49 +02:00
sfan5
ff88ed7c75
Add symlink for Irrlicht shaders
2024-04-03 13:56:27 +02:00
sfan5
57a737c417
Improve logging of driver probing
2024-04-03 13:56:27 +02:00
sfan5
eb8785a209
Fix segfault if SDL GL context fails
2024-04-03 13:56:27 +02:00
cx384
d4b10db998
Add LF config to .gitattributes
2024-03-31 21:02:47 +02:00
cx384
3a35db6e67
Turn dos files into unix files
2024-03-31 21:02:47 +02:00
Gregor Parzefall
e79587c934
Add shorthand form for touch_interaction
2024-03-30 11:40:50 +01:00
Gregor Parzefall
8935f2af3c
Make long tap delay customizable and change default to 400ms
2024-03-30 11:40:50 +01:00
Gregor Parzefall
517f1602aa
Re-add "long tap to punch" as a client-side setting
2024-03-30 11:40:50 +01:00
Muhammad Rifqi Priyo Susanto
e8a8525bcd
Fix path splitting in translation updater script
2024-03-30 11:08:18 +01:00
grorp
6e3246c5fd
Limit crosshair scaling to integer multiples to avoid distortion ( #14501 )
2024-03-30 11:07:36 +01:00
sfan5
97066bf795
Sanity-check reliable packet size at earlier point
2024-03-30 11:07:20 +01:00
sfan5
5df60d85f7
Cache iconv context per-thread
2024-03-30 11:07:02 +01:00
sfan5
008d6be900
Rework iconv encoding detection
...
WCHAR_T doesn't seem as portable as we thought, so it's just easier
to detect the right encoding using macros at this point.
2024-03-30 11:07:02 +01:00
sfan5
d1a1aed23e
Reduce unnecessary include in serialize.h
2024-03-30 11:07:02 +01:00
cx384
673d2499e8
Refactor texturepaths.cpp and SourceImageCache
2024-03-30 11:06:44 +01:00
cx384
6ac053bbaa
Extract image generation/cache from texturesource.cpp
2024-03-30 11:06:44 +01:00
sfan5
6c6e48f006
Move values the mainmenu caches to dedicated files ( #14433 )
2024-03-30 11:06:28 +01:00
Elias Åström
bb6782ca58
Add repeat_dig_time setting ( #14295 )
2024-03-30 11:05:58 +01:00
sfan5
d307d01b18
Fix tests that rely on UTF-8 literals
...
and the lowercase function
2024-03-28 16:22:04 +01:00
src-tinkerer
08284e420d
Disable default password check in single player ( #14493 )
2024-03-27 21:46:41 +00:00
sfan5
d53ef90a73
Remove Irrlicht versioning
2024-03-27 20:55:48 +01:00
rubenwardy
b487341c32
Deprecate writing to mod directories ( #14486 )
2024-03-27 18:32:05 +00:00
sfan5
6a7a613741
Update the CI run with multiplayer tests
2024-03-26 21:39:02 +01:00
Desour
9cee9bc279
Build with the imported IrrlichtMt at irr
...
Also remove the now useless options (like IRRLICHT_INCLUDE_DIR)
and update download instructions, CI and similar.
Co-authored-by: sfan5 <sfan5@live.de>
2024-03-26 21:39:02 +01:00
import
f638482fba
Copy irrlichtmt to <root>/irr/
2024-03-26 21:39:02 +01:00
grorp
a7908da968
Replace antipattern translation example in lua_api.md ( #14482 )
2024-03-24 18:56:41 +01:00
Elias Åström
20bfaba0b7
Update docs to allow non-liquid nodes to use "liquid" drawtype
2024-03-24 18:56:29 +01:00
AFCMS
5a27c05b6a
Docker image workflow (publish on ghcr.io
) ( #14230 )
2024-03-24 18:54:09 +01:00
rubenwardy
24cc33e704
Add button_url[] and hypertext element to allow mods to open web pages ( #13825 )
...
Fixes #12500
2024-03-24 17:19:23 +00:00
rubenwardy
6c4a110679
Add world-independent storage directory for mods ( #12315 )
...
Fixes #4821
2024-03-24 17:18:58 +00:00
sfan5
b42b03bc40
Restrict lua_api_deploy workflow to main repo
2024-03-24 12:42:50 +01:00
sfan5
5727d74d37
Avoid including client headers on server builds
2024-03-20 16:37:32 +01:00
sfan5
bc4ab8b99e
General code refactoring/improvements in server, treegen and connection
2024-03-20 16:37:32 +01:00
sfan5
24f2c38093
Split internal parts from connection.h
2024-03-20 16:37:32 +01:00
sfan5
dfba79f8ff
Split servermap.cpp/h off from map.cpp/h
2024-03-20 16:37:32 +01:00
sfan5
0d817ff4ff
Try to fix httpfetch method bug
...
see #14394
2024-03-20 16:37:32 +01:00
sfan5
178943b4b7
Improve ServerEnvironment::getRemovedActiveObjects() in many ways
2024-03-20 16:37:32 +01:00
Desour
751ede516b
ProfilerGraph: Increase buffer size for min/max formatting
...
Fixes values being cut off, e.g. "1.0000e+06" to "1.0000e+0".
2024-03-20 15:28:37 +01:00
HybridDog
cda112493a
Faster blit_with_alpha() ( #14448 )
...
* Add test nodes for alpha compositing and the fill texture modifier
Texture test nodes can be helpful to test if `blit_with_alpha` works correctly.
The alpha compositing test node covers different cases where pixel colors are mixed with each other.
The test currently fails because `blitPixel` does not work correctly if a semi-transparent color
is drawn on top of another semi-transparent color.
The test nodes for the fill texture modifier show if the size and position arguments of the modifier work correctly.
They do not cover special cases such as very large or negative position or size values.
* Faster blit_with_alpha()
The `blit_with_alpha` function has a noticeable effect on the time it takes to join a game.
To reduce the join times, I replace the `blit_with_alpha` function with a new one:
* It does not uses floating-point numbers.
* It directly operates on the raw pixel data instead of using the comparatively
slow `setPixel` and `getPixel` functions from Irrlicht.
Only ECF_A8R8G8B8 base images are supported now.
If the top image does not have the ECF_A8R8G8B8 color format, it is converted;
I assume that this happens rarely.
* There are case distinctions for fully opaque, fully transparent and semi-transparent pixels.
This empirically increases the performance since the mixing between two semi-transparent happens rarely.
* The new function no longer has the `src_pos` argument since it was always the zero vector.
* The function is only documented once where it is declared.
For backwards compatibility, `blit_with_alpha` still mixes colors without gamma correction.
`blit_with_alpha` nonetheless behaves slightly different than before:
If a semi-transparent pixel is drawn on top of another semi-transparent pixel,
the color is mixed in a way which we can consider to be more correct now.
2024-03-19 19:56:47 +01:00
goodusername123
fa072c1d2c
Update Lua BitOp's stdint.h check for MSVC
...
based on 3ece3a3e3a
2024-03-19 19:54:57 +01:00
SmallJoker
a862e4290c
Script API: Fix invalid rotation of L-system trees
...
The MapNode struct fields param1 and param2 were previously
not initialized. This commit now sets them to a sane default.
2024-03-17 18:01:48 +01:00
cx384
234b01a8c2
Item meta pointing range ( #14347 )
2024-03-17 15:55:38 +01:00
sfan5
e3b9828f24
Add unit tests for SAO load / unload behaviour
2024-03-17 15:55:24 +01:00
sfan5
8339594206
Handle static_save changes at runtime and between restarts
2024-03-17 15:55:24 +01:00
sfan5
2386bfda7e
Fix static_save=false not working & related cleanups
2024-03-17 15:55:24 +01:00
sfan5
ef0009aea7
Sort out server destruction order
...
fixes #14421
2024-03-17 15:55:24 +01:00
sfan5
4d24537590
Fix multiplayer test missing crashes at shutdown
2024-03-17 15:55:24 +01:00
Gregor Parzefall
4f84b01356
Touchscreen: Fix virtual joystick sometimes going backwards
...
This fixes a regression introduced by 34286d77c7
/ #14075 .
2024-03-17 15:00:37 +01:00
grorp
c8b615acc9
Remove excessive touchscreengui.h includes ( #14466 )
2024-03-17 14:59:50 +01:00
SmallJoker
61a5733692
Unittest: Add inventory callback tests
2024-03-16 20:14:05 +01:00
SmallJoker
4245a7604b
Inventory: Fix order of callbacks when swapping items
2024-03-16 20:14:05 +01:00
sfan5
d5d6e36ae0
Create CACHEDIR.TAG in path_cache ( #14458 )
2024-03-15 11:24:08 +01:00
sfan5
658bc9fcc8
Fix infinite loop in Server::stopAttachedSounds
2024-03-13 21:24:50 +01:00
cx384
60810c2d37
Add L-system trees as decorations ( #14355 )
2024-03-12 20:10:28 +01:00
grorp
f07e1026ac
Allow sync HTTP fetches to be interrupted to fix hanging ( #14412 )
...
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2024-03-12 20:09:43 +01:00
SmallJoker
32f68f35cf
Avoid packets getting sent to disconnected players ( #14444 )
...
Many functions expect RemotePlayer to have a valid peer ID,
this however is not the case immediately after disconnecting
where the object is still alive and pending for removal.
ServerEnvironment::getPlayer(const char *, bool) now only
returns players that are connected unless forced to.
2024-03-10 13:24:35 +01:00
SmallJoker
02a893d613
Client: fix failing assert on empty texture name
2024-03-10 10:50:04 +01:00
sfan5
f596c36f4f
Update NDK
2024-03-09 11:28:12 +01:00
sfan5
8ff0e1da15
Amend Android dev documentation
2024-03-09 11:28:12 +01:00
sfan5
4660310db6
Update Gradle
2024-03-09 11:28:12 +01:00
sfan5
58bf4f04b1
Skip Android deps download if they already exist
...
It's close to impossible to test locally built changes otherwise.
2024-03-09 11:28:12 +01:00
sfan5
d88f0866b7
Reduce translations log spam
2024-03-06 22:33:32 +01:00
Lars Müller
bf52d1e624
Fix attached sounds stopping if objects are removed serverside ( #14436 )
...
Restores backwards compatibility for death sounds or other sounds that are not supposed to be "cut off" abruptly.
---------
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-03-06 20:36:02 +01:00
y5nw
fc80f65a6d
Try to preserve metatable when exchanging data with the async env ( #14369 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-03-06 18:04:49 +01:00
sfan5
badd42789a
Move PlayerSettings class to client code
2024-03-06 18:03:57 +01:00
sfan5
c524c52baa
Fix some common SAO methods to not generate useless update packets
2024-03-06 18:03:57 +01:00
sfan5
585ca90ae0
Reorder ObjectProperties struct
2024-03-06 18:03:57 +01:00
sfan5
e734b3f0d8
Fix core.get_node_or_nil in emerge env
...
"ignore" does not mean unloaded, we have to properly check it.
2024-03-03 20:16:32 +01:00
sfan5
91ea47fddf
Fix node callbacks unit test
2024-03-03 20:16:32 +01:00
sfan5
9b97147637
Fix assertion failure in clientlauncher.cpp
2024-03-03 19:11:37 +01:00
DS
d4d4712361
Implement get_node with a get_node_raw ( #14384 )
...
Add /bench_bulk_get_node
Considerably improves the execution speed of core.get_node
2024-03-03 15:53:23 +01:00
cx384
879f7e9f03
Refactor tile.cpp/h parts except texturesource.cpp
2024-03-03 15:52:05 +01:00
cx384
aaf77025b6
Split up tile.cpp/h
2024-03-03 15:52:05 +01:00
Desour
cdce33dd05
Fix some narrowing warnings
2024-03-02 01:56:25 +01:00
Desour
b10797b3d5
Add missing include in container.h
...
BUILD_BENCHMAKRS builds were broken.
2024-03-02 01:47:03 +01:00
sfan5
e73e562a63
Allow curl to use all content encodings
2024-03-01 18:22:59 +01:00
grorp
e40417f687
Allow giving "pointabilities" to Lua raycasts ( #14390 )
2024-03-01 17:12:13 +01:00
Gregor Parzefall
aac616fcc5
Avoid visible camera jumps because of touchscreen_threshold
2024-03-01 17:11:46 +01:00
Gregor Parzefall
fa0745f7da
Adjust touchscreen_sensitivity to display density
2024-03-01 17:11:46 +01:00
Gregor Parzefall
00a3e6bbd7
Touchscreen: Allow camera movement while digging without touch_use_crosshair
2024-03-01 17:11:46 +01:00
sfan5
bb7f57b095
VBO-related optimizations and improvements ( #14395 )
2024-02-29 17:20:57 +01:00
sfan5
d85c842ce9
Refactor fog shader to reuse Irrlicht values
2024-02-29 17:20:50 +01:00
sfan5
dce166dc93
Support deleting shader materials
2024-02-29 17:20:50 +01:00
sfan5
13a0e5fb4a
Share FpsControl code between game and menu
2024-02-29 17:20:50 +01:00
sfan5
0c3a4cc7b9
Improve ergonomics of CachedShaderSetting
2024-02-29 17:20:49 +01:00
sfan5
e9ab5bc223
Factor shadow constants out of MainShaderConstantSetter
2024-02-29 17:20:49 +01:00
sfan5
5da18d34ba
Properly warn that shader queue is unimplemented
2024-02-29 17:20:49 +01:00
sfan5
09d542dfe0
Drop enable_vbo setting
...
Consistently applying this setting requires some code work,
because Irrlicht does not provide a global toggle.
At the same time I don't see any reason for someone to disable this.
2024-02-29 17:20:49 +01:00
sfan5
5280863300
Set VBO hints in more places
2024-02-29 17:20:49 +01:00
sfan5
fbec378869
Fix more type promotion mistakes
...
Someone of these are probably actual bugs and gcc totally doesn't care to warn about them, wtf?
This issue seems to be new with the IrrlichtMt update.
2024-02-26 22:07:40 +01:00
sfan5
9fcd7f2dc0
Fix clang-tidy type promotion errors
2024-02-26 20:47:47 +01:00
sfan5
229389b7f6
Use newer IrrlichtMt
2024-02-26 20:47:47 +01:00
sfan5
5d8a22066c
Change how max_lag is calculated and reported ( #14378 )
...
-Change how max_lag is calculated and reported
- Cap singleplayer step at 60Hz
- Clarify dedicated_server_step
2024-02-26 20:46:57 +01:00
sfence
63a9853811
Remove attached sounds when the active object is removed ( #14341 )
2024-02-25 22:10:39 +00:00
kotek900
39b1311a1b
Add padding to settings tab buttons ( #14408 )
2024-02-25 22:10:07 +00:00
rubenwardy
f4eba3bfba
Add support for ContentDB package translation ( #14410 )
2024-02-25 22:09:52 +00:00
sfan5
4caf0e4cb9
Update LTO exclusion list ( #14407 )
2024-02-25 20:58:42 +01:00
sfan5
762fca538c
Expose SHA256 algorithm to Lua ( #14403 )
...
Co-authored-by: chmodsayshello <chmodsayshello@hotmail.com>
2024-02-25 18:12:23 +01:00
SmallJoker
fa1d80b53b
MetaData: restore undocumented set_string behaviour ( #14396 )
2024-02-25 16:03:05 +01:00
rubenwardy
b4be483d3e
Add support for translating content titles and descriptions ( #12208 )
2024-02-24 19:13:07 +00:00
grorp
57de599a29
Restore pre-5.9.0-dev behavior of touch_use_crosshair=false shootline ( #14389 )
...
* Fix incorrect shootline after releasing pointer if touch_use_crosshair=false
This happened because Android reuses pointer IDs.
Also includes a refactor to merge "m_known_ids" and "m_pointer_pos".
* Restore pre-5.9.0-dev behavior of shootline when !m_has_move_id
2024-02-24 13:12:53 +01:00
sfan5
492aab20fe
Fix compiler warnings
2024-02-24 12:39:12 +01:00
ShadowRoi
6952bab519
Mark jpeg-turbo as the default library for compiling in macOS
2024-02-23 21:31:24 +01:00
Muhammad Rifqi Priyo Susanto
87fa4de59c
Use forward-slash (/) for path separator in translation files
...
The lstrip (left trim) call is to make sure that there are no slashes at the beginning of file paths.
2024-02-23 21:30:34 +01:00
lhofhansl
0d4b489545
Detect air-only blocks instead of day/night differences ( #14264 )
...
* Detect air-only blocks instead day/night differences
* Write !is_air into the former day-night-diff bit on disk, so that old server can still read maps written by new servers
* Only set is_air bit when reading from disk
2024-02-22 21:47:42 -08:00
numzero
0d30a3071a
Add meshgen tests
2024-02-22 15:45:17 +00:00
numzero
753f03ff6a
Add mesh comparison functions, for tests
2024-02-22 15:45:17 +00:00
numzero
bf2098c07f
Decouple MeshMakeData from Client
2024-02-22 15:45:17 +00:00
numzero
2f35b121a4
Const correctness
2024-02-22 15:45:17 +00:00
David Heidelberg
34286d77c7
Allow toggling touchscreen mode at runtime ( #14075 )
...
Signed-off-by: David Heidelberg <david@ixit.cz>
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-02-22 15:44:49 +00:00
sfan5
e3cc26cb7c
Irrlicht support changes ( #14383 )
2024-02-19 21:14:47 +01:00
Gregor Parzefall
84dd812da4
Fix hud_elem_type warning triggered by builtin minimap
...
Fixes a deprecation warning introduced by adaa4cc2f3
.
2024-02-19 19:04:43 +01:00
Lars Müller
4acbd59162
Support absent scene node names ( #14330 )
...
Contains a hack to support IrrlichtMT revision 14 for now (until we release revision 15)
2024-02-18 11:39:16 +01:00
DS
1e316a9704
Don't use a reference for RaycastState::m_pointabilities ( #14376 )
2024-02-17 18:36:20 +01:00
sfan5
6ca214fefc
Introduce std::string_view
into wider use ( #14368 )
2024-02-17 15:35:33 +01:00
wsor4035
fa47af737f
Upgrade CI actions ( #14377 )
2024-02-17 15:34:40 +01:00
sfan5
0f2517070e
Update Docker image base
2024-02-17 12:40:18 +01:00
sfan5
f483d10c95
Switch to LLVM-based MinGW toolchain ( #14329 )
2024-02-16 21:36:19 +01:00
sfan5
8c3a6a819e
Adjust bug report template
2024-02-16 12:34:40 +01:00
sfan5
933432e62d
Annotate Lua packer with more comments
2024-02-16 12:34:40 +01:00
sfan5
2b97fead9e
Fix some potential iterator invalidation issues
2024-02-16 12:34:40 +01:00
cx384
9ac6d330b4
Fix minimap textures overwrite ( #14349 )
2024-02-15 21:52:41 +01:00
DS
4843890c56
Inline g/setPixel in imageCleanTransparent ( #14323 )
2024-02-15 19:38:23 +01:00
lhofhansl
c81e0b7433
Allow shaders with disabled post processing pipeline ( #14338 )
...
- Allow disabling of the post processing pipeline while leaving shaders enabled
- Also disable post processing on Android by default
2024-02-15 08:25:33 -08:00
sfan5
ce97210eb1
Refactor how script api reads current mod name
...
This is to prevent future mistakes and make it clearer whether
the mod name can be trusted depending on how it is retrieved.
2024-02-15 11:06:21 +01:00
sfan5
cb5fa56e17
Remove insecure environment from async and emerge environment
2024-02-15 11:06:21 +01:00
fuzun
6cbb9193ea
Fix undefined behaviors ( #14365 )
...
* Initialize member `floats` in ContentFeatures
* Do not assign big double to u32
* Do not assign negative floating point number to unsigned integer
2024-02-15 11:05:42 +01:00
sfan5
3cac17d23e
Lua on each mapgen thread ( #13092 )
2024-02-13 22:47:30 +01:00
sfan5
d4b107e2e8
Enable dynamic_add_media to take the file data instead of a path
2024-02-13 22:44:10 +01:00
sfan5
c90ebad46b
Allow specifying name for dynamic media files
2024-02-13 22:44:10 +01:00
sfan5
af69d4f7a9
Allow dynamic_add_media at mod load time
2024-02-13 22:44:10 +01:00
kromka-chleba
6c8ae2b72a
Fix liquid falling if in "float" group ( #13789 )
...
* Make falling liquid source nodes replace flowing nodes
This makes falling liquid source nodes in group:float replace
flowing nodes on the ground instead of being placed above
the flowing node.
* Make flowing liquids "fall through" for source nodes
This makes liquids in float and falling_node groups fall through
flowing liquid nodes instead of being supported by them in the air.
---------
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-02-12 23:24:54 +01:00
cx384
7901087466
Rename MINETEST_SUBGAME_PATH
to MINETEST_GAME_PATH
( #14351 )
2024-02-12 23:21:19 +01:00
paradust7
e2ccd14c05
Allow using VBOs for meshes all the way down to 4 vertices ( #14366 )
...
This may improve performance substantially if there are many meshes with "few" vertices that would otherwise be retransmitted to the GPU every frame. In testing, this does not seem to decrease performance, even if as few as 4 vertices are used (e.g. particles).
2024-02-12 23:20:48 +01:00
Lars Mueller
a14320fc44
Improve deprecation error messages
2024-02-12 22:58:26 +01:00
David Heidelberg
eb52a149a0
Enable IPO/LTO by default except for debug builds ( #14198 )
...
Test case:
```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE
minetest minetestserver
W/o LTO: 13M 7.3M
W/ LTO: 11M 5.9M
difference: 15% 19%
```
Also fixes various compiler warnings resulting from compilation using LTO.
---------
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-09 00:01:12 +01:00
cx384
adaa4cc2f3
Move hard coded minimap to builtin ( #14071 )
2024-02-07 20:13:23 +01:00
grorp
f2b99332d9
Add Lua API function to resolve node/collision/selection boxes ( #13964 )
2024-02-06 20:45:16 +01:00
Lars Müller
4859cf44ce
Fix translation updater script: Handle nested modpacks, support games ( #14340 )
2024-02-05 20:57:30 +01:00
sfence
83f779c52d
Fix active object adding to not generated block ( #14311 )
2024-02-04 21:24:08 +01:00
sfan5
c9e10e1dd9
Drop valgrind from CI and instead enable ASan
...
The recently added ioctl use is reported as a false-positive by valgrind.
I tried moving it to different compilers/versions two times and only
hit further issues that were valgrind's fault.
Also includes a tiny fix.
2024-02-04 21:23:05 +01:00
sfan5
4259ac96ea
Optimize fs::CopyFileContents on Linux and Windows
2024-02-04 21:23:05 +01:00
sfan5
714c9361ea
Add unit tests for fs::CopyFileContents
2024-02-04 21:23:05 +01:00
sfan5
93381014a0
Bypass media transfer in single player
2024-02-04 21:23:05 +01:00
someone-aka-sum1
16aaef097a
Make the protocol dissector heuristic ( #14335 )
2024-02-04 21:21:23 +01:00
Lars Müller
1d9c9710d7
Fix short raycasts missing large objects ( #14339 )
...
Increases the tolerance from one node to five nodes.
Also optimizes the "sphere" used for pre-filtering entities
to start in the middle of the line segment rather than at the start.
2024-02-04 14:04:05 +01:00
SmallJoker
e7dbd325d2
RemotePlayer: make peer ID always reflect the validity of PlayerSAO ( #14317 )
...
Upon disconnect, RemotePlayer still had a peer ID assigned even though
the PlayerSAO object was maked as gone (for removal). This commit makes
that the following always holds true:
(!sao || sao->isGone()) === (peer_id == PEER_ID_INEXISTENT)
2024-02-02 22:13:24 +01:00
Zemtzov7
893594d81a
Add help formspec for CSM commands ( #13937 )
2024-02-02 22:12:59 +01:00
techno-sam
176e674a51
Add wear bar color API ( #13328 )
...
---------
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-02-02 21:21:00 +01:00
sfan5
e10d8080ba
Add flag to control mgv6 temple generation ( #14293 )
2024-01-30 21:52:04 +01:00
sfan5
9da1354f3a
Fix missing limit check for block y pos ( #14320 )
2024-01-30 21:51:51 +01:00
sfan5
e1f6108789
Revert class forward declaration in {client,server}opcodes.h
...
closes #14324
2024-01-30 17:04:12 +01:00
Lars Mueller
40bf88ac74
Performance: Limit blitting work to overlapping area
2024-01-28 13:01:54 +01:00
sfan5
ffec698d3e
Change how [combine parameters are checked
...
the old checks were too strict
2024-01-28 13:01:54 +01:00
Lars Mueller
b1ee137177
Minor documentation fixes
2024-01-28 13:01:54 +01:00
grorp
fbec168e91
Only pause rendering if the Android activity is stopped ( #14211 )
2024-01-27 14:37:00 +01:00
sfan5
89f3502b56
Move Server ban check to different point
2024-01-27 10:33:32 +01:00
sfan5
5dbc1d4c08
Move some files to src/server/
2024-01-27 10:33:32 +01:00
sfan5
c0f852e016
Change NetworkPacket to reserve instead of resize
...
also make the bool serialization clearer and move the constructor
to the header file
2024-01-27 10:33:32 +01:00
sfan5
397682a5b0
Clean up client and server command sending / tables
2024-01-27 10:33:32 +01:00
grorp
2b99dabdac
Touchscreen: Abort ongoing short taps if touch interaction mode changes ( #14305 )
2024-01-26 23:19:06 +01:00
Bradley Pierce
df9975f35d
Add markdown admonition extension ( #14303 )
2024-01-26 22:10:57 +01:00
sfan5
4158759265
Move mtevent.h to src/client/
2024-01-26 22:10:36 +01:00
sfan5
8927e7caf6
Handle some edge cases in tile images
2024-01-26 22:10:36 +01:00
sfan5
a46fe79939
Reduce code duplication in tile.cpp
2024-01-26 22:10:36 +01:00
lhofhansl
2ef080a51b
Slight simplification of RemoteClient::getNextBlocks(...) ( #14302 )
2024-01-25 11:32:18 -08:00
Sokomine
4468813d47
Show more lines in chat scrollback buffer ( #14290 )
2024-01-24 19:41:29 +01:00
Lars Mueller
6a2eb4da07
Restore pointability backwards compatibility
2024-01-23 23:30:28 +01:00
sfan5
731b84d725
Reduce some instances of useless data shuffling
2024-01-23 22:34:36 +01:00
sfan5
362e4505e8
Minor improvements to media request / announce code
...
I had to throw away the code switching sendRequestedMedia to
a bin packing algorithm because it actually performed worse. :(
2024-01-23 22:34:36 +01:00
sfan5
13013d1b8b
Fix client loading not aborting correctly in certain cases
2024-01-23 22:34:36 +01:00
sfan5
6df0de565f
Check media requests on the server more carefully
2024-01-23 22:34:36 +01:00
sfan5
89eabb5803
Drop speed tests and some other unused code from clientlauncher.cpp
2024-01-23 22:34:36 +01:00
sfan5
6aa4f14a28
Drop some unneeded MOD_REASONs
2024-01-23 22:34:36 +01:00
sfan5
be7844192b
Don't save blocks asap for only lighting updates
2024-01-23 22:34:36 +01:00
sfan5
9e3a11534f
Allow fog color to be overriden properly ( #14296 )
2024-01-23 22:33:33 +01:00
grorp
a29d3cf074
Save the settings in more cases to avoid losing setting changes (especially on Android) ( #14266 )
2024-01-23 21:33:27 +01:00
Lars Mueller
f6ecd931dc
Minor documentation formatting fixes
2024-01-22 22:41:33 +01:00
Lars Mueller
f0180ad488
Fix revoke callbacks being run for false
values passed to set_privileges
2024-01-22 22:24:32 +01:00
Lars Müller
afc48cf224
Address set_player_privs
footgun ( #14297 )
...
---------
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-01-22 20:06:03 +01:00
cx384
5958714309
Tool specific pointing and blocking pointable type ( #13992 )
2024-01-22 18:27:08 +01:00
Lars Mueller
fb461d21a5
Fix waypoint precision wraparound, add bounds check
2024-01-21 21:00:09 +01:00
grorp
404a063fdf
Touchscreen: Allow mods to swap the meaning of short and long taps (punch with single tap) ( #14087 )
...
This works through a new field "touch_interaction" in item definitions.
The two most important use cases are:
- Punching players/entities with short tap instead of long tap (enabled by default)
- Making items usable that require holding the place button (e.g. bows and shields in MC-like games)
2024-01-21 17:44:08 +01:00
sfan5
8cbd629010
Fix bugs in ModifySafeMap ( #14276 )
2024-01-20 15:37:30 +01:00
DS
e9233bc169
Fix typo in minimap bumpmapping shader ( #14280 )
2024-01-20 15:36:53 +01:00
Jaidyn Ann
bec080be8d
Add Esperanto builtin translation ( #14215 )
2024-01-20 15:36:42 +01:00
David Heidelberg
371b9a7fc2
Move check for strlcpy before config.h generation
...
Fixes: 225aa107f6
("Define strlcpy only on platforms where it's not available")
2024-01-19 22:48:43 +01:00
sfan5
699d1bf27c
Use newer IrrlichtMt
...
now with SDL2
2024-01-19 11:54:40 +01:00
David Heidelberg
225aa107f6
Define strlcpy only on platforms where it's not available
...
Linux musl-libc and recent glibc > 2.38 have it.
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-01-19 11:53:08 +01:00
DS
e416c99419
Fix signed overflow UB in PseudoRandom::next()
2024-01-19 11:52:53 +01:00
Lars
7c9706fdcf
Remove unused meshgen_block_cache_size setting
2024-01-19 11:52:39 +01:00
HybridDog
f08e4bb27d
Return to the main menu if a shader compilation fails ( #14256 )
...
Before this change, if the shaders are broken, only an error message is shown and the player enters the world nonetheless, where he/she sees broken graphics.
2024-01-19 11:51:46 +01:00
savilli
432988a4ad
Fix multiple password changes in one session
2024-01-19 11:50:55 +01:00
Lars Müller
a8cf10b0b5
Docs: Recommend against using PseudoRandom
2024-01-17 21:48:17 +01:00
sfan5
e985b7a0bf
Initialize random with better seed
2024-01-17 20:06:26 +01:00
sfan5
6caa06eaed
Remove mistaken exec mode from three files
2024-01-17 20:06:26 +01:00
sfan5
02fa33252a
Ignore MSVC unit test failures for now
...
Spending time to investigate and fix all them was not part of my plan.
2024-01-17 20:06:26 +01:00
sfan5
2211f4f8f7
Run unit tests in MSVC CI job
2024-01-17 20:06:26 +01:00
sfan5
5ceb327e55
Replace SHA256 implementation with one from LibreSSL
...
They have cleaner code than OpenSSL :)
from here: https://github.com/libressl/openbsd/tree/master/src/lib/libcrypto
and https://github.com/libressl/portable
2024-01-17 20:06:26 +01:00
sfan5
b0f76d82c5
Remove references to SHA1 and SHA512 from SRP code
2024-01-17 20:06:26 +01:00
sfan5
2bcebc4e4e
Update mini-gmp to 6.3.0
2024-01-17 20:06:26 +01:00
sfan5
cd55a533e8
Update catch2 copy to 2.13.10
2024-01-17 20:06:26 +01:00
sfan5
021eddac73
Update jsoncpp copy to 1.9.5
2024-01-17 20:06:26 +01:00
sfan5
5756d6262e
Minor improvements and fixes in httpfetch.cpp
2024-01-17 20:06:11 +01:00
sfan5
56943bef48
Use modern libcurl poll/wait methods
2024-01-17 20:06:11 +01:00
sfan5
ee727eb65e
Migrate UDPSocket to use poll()
2024-01-17 20:06:11 +01:00
sfan5
e8008c1b21
Sanitize lang_code and full_version received from client
...
fixes #14262
2024-01-17 20:05:57 +01:00
sfan5
bdc124ba41
Require client to consistently use peer ID
2024-01-17 20:05:57 +01:00
sfan5
f27f701251
Make server disconnect lingering clients
2024-01-17 20:05:57 +01:00
sfan5
b2f0a37b18
Rate-limit client connection attempts
2024-01-17 20:05:57 +01:00
sfan5
050152eb90
Do not allocate packet quota to half-open connections
2024-01-17 20:05:57 +01:00
sfan5
3987318f09
Time out when reliables can't be delivered
...
If one of the channels stalls for whatever reason we can't pretend the connection is fine.
2024-01-17 20:05:57 +01:00
sfan5
9f684eac92
Remove weird command procession limit
...
it was set to 1 too, wtf?!
2024-01-17 20:05:57 +01:00
sfan5
abf3142b26
Send initial dummy packet as empty
...
No functional change and no compatibility implicatons
but this better matches what is documented everywhere.
2024-01-17 20:05:57 +01:00
sfan5
eeb873b23c
Minor code corrections
2024-01-17 20:05:57 +01:00
sfan5
84d4647329
Scale resend timeout exponentially
2024-01-17 20:05:57 +01:00
sfan5
7acb14f7a1
Use fixed, lower timeout for half-open connections
2024-01-17 20:05:57 +01:00
sfan5
2587302987
Assign peer IDs randomly
2024-01-17 20:05:57 +01:00
sfan5
db88d24ff8
Track connection half-open state
2024-01-17 20:05:57 +01:00
cx384
2ea8d9ca11
Fix out of range enum casts in deSerialize functions ( #14090 )
2024-01-17 20:05:46 +01:00
sfan5
0383c44f0d
Custom data structure for active objects to get performance *and* safety ( #13880 )
2024-01-17 20:04:56 +01:00
Wuzzy
08ee6d8d4b
Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode ( #11073 )
2024-01-17 17:47:06 +01:00
Jude Melton-Houghton
e7dd9737bd
Reduce minetest.after
time complexity and provide ordering guarantee
...
---------
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2024-01-16 23:46:43 +01:00
sfence
ceaa7e2fb0
Add API for restoring PseudoRandom and PcgRandom state ( #14123 )
2024-01-16 23:20:52 +01:00
Vitaliy
8093044f07
Support OpenGL 3 ( #13321 )
2024-01-16 21:09:18 +01:00
AFCMS
9cca12ff0b
Fix language setting description in settingtypes.txt
( #14048 )
...
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-01-15 19:27:24 +01:00
sfan5
1b0d2a37bb
Set low active_block_range in test_multiplayer.sh
2024-01-15 11:44:26 +01:00
cx384
92c55c27cf
Add function to get all HUD elements ( #14042 )
2024-01-14 17:46:29 +01:00
SmallJoker
ed7d4037b2
Client: fix possible division by zero in [crack modifier
2024-01-14 16:28:03 +01:00
sfan5
dd094d7606
Write down some developer documentation
...
I think it's better suited here than in the wiki.
2024-01-14 13:17:53 +01:00
sfan5
1ba26d67bd
Remove excessive includes from porting.h
2024-01-14 13:17:53 +01:00
sfan5
e824e9023f
Simplify LuaPseudoRandom::l_next and fix docs
...
Also extends the allowed range on the C++ side. This has no side-effects.
2024-01-14 13:17:53 +01:00
sfan5
d20f1182f2
Fix Lua PseudoRandom seeds being mangled
...
closes #14237
2024-01-14 13:17:53 +01:00
sfan5
e83530d40b
Use explicit types on PseudoRandom implementation
2024-01-14 13:17:53 +01:00
sfan5
6f494a968d
Move setenv compat code to porting.h
2024-01-14 13:17:53 +01:00
sfan5
133f706bf3
Make unittests less reliant on files in the source distribution
2024-01-14 13:17:53 +01:00
sfan5
863c9b55b4
Remove broken MINETEST_SUBGAME_PATH test
...
The path being tested for is in the default search path for games,
so it would still pass if the env var was not working.
2024-01-14 13:17:53 +01:00
sfan5
45561b89a4
Make sure unittests don't try to write to cwd
2024-01-14 13:17:53 +01:00
grorp
6b9250e4ef
Document settings API behavior regarding default values ( #14247 )
2024-01-13 20:01:50 +01:00
Muhammad Rifqi Priyo Susanto
5089e8342f
Android: Use the correct value for notification ( #14209 )
...
The notification channel creation is moved into MainActivity.
The notification channel ID string is stored into a static variable.
The name and description of the notification channel are stored into the strings resource file.
Co-authored-by: sfan5 <sfan5@live.de>
2024-01-13 20:01:35 +01:00
grorp
b12be0498e
Don't enable relative mouse mode if in touchscreen mode ( #14118 )
2024-01-13 20:01:10 +01:00
lhofhansl
59abf1bb42
Allow active blocks to be generated ( #14185 )
2024-01-13 10:27:41 -08:00
lhofhansl
518ecd7f4e
Slight optimizations in ClientMap ( #14251 )
2024-01-12 16:53:08 -08:00
Lars Mueller
025516a005
Remove redundant and/or outdated client API docs
2024-01-12 16:24:15 +01:00
HybridDog
345e93d19c
Code style: Use non-static member initialisation instead of member initialiser lists for shader uniform names
...
Before this change,
the member type and member name are at one place,
and the member name and uniform name are at another place.
If the uniform name is written directly at the member declaration,
the member type, member name and uniform name are all at one place,
which leads to shorter code and may be easier to read.
2024-01-11 20:04:42 +01:00
rubenwardy
d98ea7fdb6
Remove GitLab CI and redirect GitLab pages to api.minetest.net
2024-01-10 20:52:08 +00:00
SmallJoker
a7eaee77ca
ContentCAO: Fix threshold of alpha channel textures ( #14213 )
...
With disabled shaders, the material EMT_TRANSPARENT_ALPHA_CHANNEL uses the
parameter as an alpha threshold to decide whether to draw the texture.
Thus lowering this limit fixes the issue of vanishing textures below alpha 128.
2024-01-10 19:34:52 +01:00
Muhammad Rifqi Priyo Susanto
0d41996562
MSVC: Fix locale workaround code
2024-01-10 19:33:04 +01:00
Lars Müller
7bae8ab838
Fix HUD image (waypoint) docs
2024-01-10 19:32:49 +01:00
lhofhansl
4bf95703a0
Allow access into MapSector::m_blocks ( #14232 )
...
* New API to allow access into MapSector::m_blocks
* Use this API on ClientMap::touchMapBlocks(), ClientMap::updateDrawList(), and ClientMap::updateDrawListShadow() to speed them up
2024-01-10 09:17:26 -08:00
cx384
2766c70ad3
Fix dividing by zero crashes in texture modifiers
2024-01-07 21:49:26 +01:00
sfan5
2c390b5473
Rework client connecting and enable fallback address use
2024-01-07 21:49:05 +01:00
sfan5
20692d54de
Some minor cleanups for UDPSocket class
2024-01-07 21:49:05 +01:00
sfan5
dc7fb26921
Extend capabilities of Address class
2024-01-07 21:49:05 +01:00
Muhammad Rifqi Priyo Susanto
171f911237
Android: Add selection dialog (drop down/combo box) ( #13814 )
...
- The handling of IGUIComboBox uses the new setAndSendSelected() method.
- getDialogState() is now getInputDialogState() and returns the state of the input dialog.
- getLastDialogType() is added and returns current/last shown dialog's type.
- getInputDialogState() now returns an enum instead of int.
- getAndroidUIInput() now returns void instead of bool.
- New data types (enum) are added:
(1) GameActivity.DialogType (Java) and porting::AndroidDialogType (C++)
(2) GameActivity.DialogState (Java) and porting::AndroidDialogState (C++)
- When showing a text input dialog, there is no custom accept button text any more.
- showDialog()/showDialogUI() for text input is now showTextInputDialog()/showTextInputDialogUI().
- showInputDialog()/showDialogUI() for text input is now showTextInputDialog()/showTextInputDialogUI().
- getDialogValue()/getInputDialogValue() is now getDialogMessage()/getInputDialogMessage().
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
2024-01-07 19:00:04 +07:00
lhofhansl
bd42cc2c77
Ensure deterministic client occlusion culling and minor improvements ( #14212 )
...
* Ensure deterministic client occlusion culling
* Increase culling optimize distance slightly
* More accurate culling when sampling
2024-01-06 18:43:46 -08:00
sfan5
8db4ba9e58
Fix some console window behavior on Windows
2024-01-06 15:38:09 +01:00
sfan5
7c7ae79f9f
Fix native thread handle usage on win32
2024-01-06 15:38:09 +01:00
sfan5
8674dc831d
Avoid unused argument spam with MinGW-clang
2024-01-06 15:38:09 +01:00
sfan5
3fbe42c3a2
Add unittest to check thread_local destructor brokenness
2024-01-06 15:38:09 +01:00
sfan5
6550bc252f
Fix logic in porting::attachOrCreateConsole()
...
No functional change but now the comment is actually correct.
2024-01-06 15:38:09 +01:00
Artem
e04f618979
Add "--needed" to Arch command to avoid reinstalling packages
2024-01-06 15:35:51 +01:00
Zughy
c2c8d4d410
Remove controls listed in the pause menu (no touchscreen) ( #13282 )
2024-01-05 20:10:07 +00:00
sfan5
15f73258fd
Don't run CDB update_detector more than once ( #14214 )
2024-01-05 00:40:11 +01:00
Maintainer_
34ce86a8f5
Fix GameUI text staying visible during shutdown. ( #14197 )
2024-01-05 00:39:56 +01:00
grorp
05a53cd330
Touchscreen: Recognize double-taps as double-clicks ( #14187 )
2024-01-05 00:39:40 +01:00
Muhammad Rifqi Priyo Susanto
e17455cb22
Remove server's address and port from pause menu ( #14082 )
2024-01-05 00:39:11 +01:00
grorp
995c192874
Don't apply gui_scaling & DPI twice to table[] / textlist[] scrollbar ( #14206 )
2024-01-03 21:58:58 +01:00
DS
c9cd0d20ef
Use AL_SOFT_direct_channels_remix extension for non-positional stereo sounds ( #14195 )
2024-01-03 21:57:00 +01:00
DS
3eab5e9002
Replace clientmap's MeshBufListList with a hashmap
2024-01-03 21:56:38 +01:00
fluxionary
a22b1700a4
Legible Lua profiler ( #14142 )
2024-01-03 21:56:07 +01:00
ROllerozxa
8e9d7611ae
Apply saturation even if tonemapping is disabled
2024-01-03 21:55:53 +01:00
ROllerozxa
de4cc5c20a
Fix tonemapping effect
2024-01-03 21:55:53 +01:00
sfan5
0b423dd061
Remove reference to defunct gitlab docker image
...
see #14164
2024-01-03 17:02:51 +01:00
Lars Müller
2c44620e5e
Comply with base64 license terms ( #14199 )
2024-01-01 22:49:12 +01:00
sfence
d0753dddb1
Method add_pos for object/player ( #14126 )
2024-01-01 22:48:56 +01:00
Alfred Wingate
c9ab61aa8c
Add missing header for gcc-14
...
https://gcc.gnu.org/gcc-14/porting_to.html
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2023-12-31 19:26:33 +01:00
sfan5
431444ba9f
Extend sanity checks in ActiveBlockList::update
...
also fixes the space indentation
2023-12-30 00:31:03 +01:00
lhofhansl
c99196d363
Do not emerge blocks in the active_object_send_range_blocks range ( #14152 )
...
The active object range is about active objects (not blocks). Activate blocks (and hence any object "in" them) in the cone define by the active object range (and fov) when they are loaded (i.e. visible), otherwise ignore them.
2023-12-29 14:18:06 -08:00
lhofhansl
22a1653702
Perform server occlusion check before a block is loaded or generated ( #14148 )
2023-12-29 21:53:27 +01:00
sfan5
edd947b645
Enable some runtime hardening on win32
2023-12-29 21:52:08 +01:00
sfan5
b8dc349099
Clean up gettext initialization
2023-12-29 21:52:08 +01:00
sfan5
93c2aff2cf
Clean up OS-specific initialization
2023-12-29 21:52:08 +01:00
Desour
ad5e9aa5e3
Fix AsyncRunStep() skipping steps when dtime < 1 ms
2023-12-29 21:51:19 +01:00
cx384
467d3a8c62
Rename hud_elem_type
to type
( #14065 )
2023-12-29 21:51:02 +01:00
lhofhansl
bc336480e6
Avoid short overflow with large viewing ranges ( #14175 )
2023-12-28 09:10:11 -08:00
grorp
32e492837c
Support both mouse and touch input in GUIs in a single binary ( #14146 )
2023-12-27 22:37:36 +01:00
superfloh247
4f1dbb127a
Update CMakeLists.txt to fix MacOS build ( #14160 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2023-12-27 22:19:56 +01:00
sfan5
93dfa8a6d8
Optimize and improve built-in PNG writer ( #14020 )
2023-12-27 11:56:48 +01:00
Simon Boehm
5054918efc
MacOS: Add codesigning instructions to docs ( #14060 )
2023-12-27 11:44:54 +01:00
Gregor Parzefall
335af393f0
Make the loading screen progress bar respect "gui_scaling"
2023-12-26 20:21:15 +01:00
Gregor Parzefall
524721ee27
Remove non-existent textures from texture_packs.md
...
These textures were removed 5 years ago by 326eeca306
.
2023-12-26 12:01:46 +01:00
sfan5
5405a558fd
Fix minor issue with log_deprecated()
2023-12-25 19:47:34 +01:00
sfan5
094c433e58
Update clang-tidy workflow
2023-12-25 10:07:28 +01:00
sfan5
961652c2e9
Address some clang-tidy warnings
2023-12-25 10:07:28 +01:00
Desour
322c4a5b2b
Rework server stepping and dtime calculation
2023-12-25 10:07:03 +01:00
Desour
b6c7c5a7ab
Link with -latomic
2023-12-25 10:07:03 +01:00
grorp
46c930cf70
Touchscreen: Make server-sent overrides of button textures work ( #14145 )
2023-12-23 14:39:42 +01:00
Lars
e0d4a9d575
Make volumetric light effect strength server controllable
...
- Make volumetric light effect strength server controllable
- Separate volumetric and bloom shader pipeline
- Require bloom to be enable, scale godrays with bloom
2023-12-21 16:21:01 -08:00
x2048
04f0d545da
Initial implementation of 'Godrays'
2023-12-21 16:21:01 -08:00
Lars Müller
cad8e895f2
Fix set_bone_position regression (error on passing none)
2023-12-21 18:55:12 +01:00
sfan5
cb38b841af
Split windows from linux CI workflows
2023-12-21 18:54:57 +01:00
Lars Mueller
d58cc7fb7a
Fix on_(grant|revoke) not being run by mods
2023-12-21 18:54:50 +01:00
Warr1024
7e143cb33d
Manually configurable minimum protocol version ( #14054 )
...
Partially address #13483 . Server operators can set a minimum
protocol version to match the game requirements (or any other
restriction they may want), and it's applied as an additional
constraint on top of the baseline compatibility range, optional
strict_protocol_version_checking, and any kick-on-join used by
the game/mods.
2023-12-21 18:53:30 +01:00
Gregor Parzefall
04dc4a10f0
Fix TouchScreenGUI ignoring server-sent pitch changes
2023-12-20 21:24:10 +01:00
sfan5
47e557b96a
Enable segment heap on Windows
2023-12-20 21:23:08 +01:00
Gregor Parzefall
3b346fd3c9
Fix touch input on Linux
...
The code relied on touch IDs being consecutive. This is true on Android, but not on Linux.
Therefore, touch input on Linux was broken since 53886dcdb5
.
2023-12-20 21:22:15 +01:00
Lars Müller
0d61598d8a
Extend bone override capabilities ( #12388 )
2023-12-20 21:21:53 +01:00
sfan5
61d0f613df
Hand roll UTF-16 conversion in CGUITTFont ( #14121 )
2023-12-19 20:18:43 +01:00
grorp
00d9d96e48
Android: Pause rendering while the app is paused ( #14058 )
2023-12-19 20:18:28 +01:00
HybridDog
b1aec1b5c8
Add dithering ( #9014 )
2023-12-19 20:18:11 +01:00
sfan5
5d3e830176
MinGW toolchain refresh
2023-12-17 20:47:26 +01:00
grorp
91ba02449b
Add touch_controls
boolean to get_player_window_information()
( #14092 )
2023-12-17 20:47:07 +01:00
JosiahWI
7162b536eb
Extract Game::drawScene from Game::updateFrame
2023-12-17 20:44:45 +01:00
lhofhansl
ca1a723890
Allow cheaper culling checks at a distance ( #14073 )
...
* Allow cheaper culling checks at a distance
* Pick a random ray, so that far missing block will eventually be shown
2023-12-16 15:04:21 -08:00
superfloh247
16c22477c2
Update porting.h to fix build errors on macOS 14 / Xcode 15
2023-12-16 12:52:07 +01:00
sfan5
128ed87dd8
Reorder members of MapBlock for performance
...
Before and after as obtained via `pahole -C MapBlock bin/minetest`:
/* size: 336, cachelines: 6, members: 23 */
/* sum members: 329, holes: 4, sum holes: 7 */
vs.
/* size: 336, cachelines: 6, members: 23 */
/* sum members: 329, holes: 2, sum holes: 7 */
There is not much to be gained by packing but I made sure
to move the most important data (mainly for the client) into
the first cache line.
2023-12-16 12:51:42 +01:00
sfan5
9408a1a025
Reduce size of some MapBlock members
...
Also adds assertions to catch refcounting errors (on a debug build).
2023-12-16 12:51:42 +01:00
sfan5
777dca7043
Elide MapBlock::contents_cached
2023-12-16 12:51:42 +01:00
sfan5
f5b35a074f
Get rid of parent pointer in MapBlock
2023-12-16 12:51:42 +01:00
sfan5
c6cf90f67b
Change MapBlock content cache to a vector
2023-12-16 12:51:42 +01:00
sfan5
cb6e3ac6e1
Allocate data seperately from MapBlock class again
...
This effectively reverts commit b3503e7853
.
2023-12-16 12:51:42 +01:00
sfan5
2c2bc4a427
Try to benchmark common MapBlock usage
2023-12-16 12:51:42 +01:00
sfan5
e5a6048eec
Allow running individual benchmarks
...
mirrors and reuses the option from 2f6a9d12f1
2023-12-16 12:51:42 +01:00
Gregor Parzefall
3c60d359ed
Remove usage of removed "PP" macro
...
This fixes a compilation error introduced by e7be135
.
2023-12-15 10:28:07 +01:00
SmallJoker
94a54375e2
Inventory: prevent item loss when stacking oversized ItemStacks ( #14072 )
2023-12-15 10:24:04 +01:00
sfan5
c871b6dd4e
Hash-check buildbot dependencies
2023-12-15 10:23:52 +01:00
sfan5
62c6667b0b
Get rid of VERSION_EXTRA for buildbot
...
This is probably a leftover of when CMake didn't automatically
detect the revision from git.
2023-12-15 10:23:52 +01:00
sfan5
704b5d88b9
Upload artifacts in MinGW CI
2023-12-15 10:23:52 +01:00
sfan5
a292cc42aa
Fix Windows architecture reporting in sysinfo
2023-12-15 10:23:52 +01:00
Gary Miguel
da832a295e
Delete clang-format files and comments ( #14079 )
2023-12-15 10:23:44 +01:00
Vitaliy
64b59184d1
Reduce test framework macrosity
2023-12-15 10:23:32 +01:00
sfan5
bd06466d3a
Improve clock_gettime usage
...
- correctly use value of _POSIX_MONOTONIC_CLOCK
- drop special path for macOS: it supports clock_gettime since macOS 10.12
2023-12-15 10:23:19 +01:00
sfan5
d4123a387c
Clean up porting.h a bit
2023-12-15 10:23:19 +01:00
mazes-80
e7be135b78
Warning: inform about entity name when bug detected about attachement ( #13354 )
2023-12-15 10:22:58 +01:00
sfan5
d1a55e9ca4
Remove use_texture_alpha compatibility code for nodeboxes & meshes ( #13929 )
2023-12-13 13:15:59 +01:00
Gary Miguel
6eb9269741
Try to fix safeWriteToFile producing empty files on Windows ( #14085 )
...
Use win32 APIs to write the temporary file before copying to the final
destination. Because we've observed the final file being empty, we
suspect that std::ostream::flush is not flushing.
Also add a test for it.
2023-12-13 13:15:37 +01:00
lhofhansl
a98200bb4c
Avoid movement jitter ( #13093 )
...
This allows the client and server to agree on the position of objects and attached players even when there is lag.
2023-12-10 19:12:37 +01:00
Muhammad Rifqi Priyo Susanto
55fafb7d25
Add sound volume when unfocused setting ( #14083 )
...
This adds a new setting to set sound volume multiplier when Minetest window is unfocused/inactive (sound_volume_unfocused, located in Settings > Graphics and Audio > Audio > Volume when unfocused).
If the window is not focused, the sound volume will be multiplied by sound_volume_unfocused setting. The sound volume will be set back to sound_volume again when the window is focused.
2023-12-10 19:11:39 +01:00
SmallJoker
321bcf5c44
GUIFormspecMenu: Fix race condition between quit event and cleanup in Game ( #14010 )
...
To not instantly free GUIFormSpec upon close/quit, Game periodically
cleans up the remaining instance on the next frame.
When a new formspec is received and processed after closing the previous formspec
but before the cleanup in Game, the formspec would be closed regardless.
This now re-creates the formspec when the old one is already pending for removal.
2023-12-10 19:09:51 +01:00
grorp
689aaf50b3
Fix unittest failure for release versions ( #14067 )
2023-12-08 21:13:33 +01:00
ZenonSeth
2ec3325381
Check if liquid can flow into empty node before picking it as source ( #14057 )
2023-12-08 21:13:18 +01:00
Gary Miguel
634e49b961
Improve Irrlicht instructions ( #14055 )
...
Specify the version when cloning.
Move instructions from CMakeLists to docs/compiling/.
2023-12-08 21:11:54 +01:00
rubenwardy
55f40a7f8d
Continue with 5.9.0-dev
2023-12-04 17:15:43 +00:00
rubenwardy
49ce5a2de6
Bump version to 5.8.0
2023-12-04 17:15:36 +00:00
updatepo.sh
30769589bf
Remove junk translation file
2023-12-03 19:11:32 +01:00
updatepo.sh
6cf9b7472a
Run mod_translation_updater.py
2023-12-03 19:03:45 +01:00
updatepo.sh
4be8b77598
Run updatepo.sh
2023-12-03 18:48:54 +01:00
updatepo.sh
bae9f65411
Update from builtin/settingtypes.txt
2023-12-03 18:47:50 +01:00
Krock
0a20d30f83
Various little translation fixups
2023-12-03 18:41:15 +01:00
Nisa Syazwani
7245bcc614
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
chocomint
51136780d6
Translated using Weblate (Spanish)
...
Currently translated at 89.6% (1174 of 1310 strings)
2023-12-03 18:41:15 +01:00
gallegonovato
ea6eb0dfc8
Translated using Weblate (Spanish)
...
Currently translated at 89.6% (1174 of 1310 strings)
2023-12-03 18:41:15 +01:00
nyommer
ab88fc6835
Translated using Weblate (Hungarian)
...
Currently translated at 96.7% (1268 of 1310 strings)
2023-12-03 18:41:15 +01:00
AlexTECPlayz
30b28280eb
Translated using Weblate (Romanian)
...
Currently translated at 49.3% (647 of 1310 strings)
2023-12-03 18:41:15 +01:00
BreadW
e5672111d2
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
Spurnita
ce0aca49c2
Translated using Weblate (Catalan)
...
Currently translated at 22.5% (296 of 1310 strings)
2023-12-03 18:41:15 +01:00
Muhammad Rifqi Priyo Susanto
0d3b71564f
Translated using Weblate (Javanese)
...
Currently translated at 12.9% (170 of 1310 strings)
2023-12-03 18:41:15 +01:00
Ritwik
0a51fde971
Translated using Weblate (Hindi)
...
Currently translated at 29.8% (391 of 1310 strings)
2023-12-03 18:41:15 +01:00
milewood
a13a165e9b
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 84.0% (1101 of 1310 strings)
2023-12-03 18:41:15 +01:00
Wuzzy
8a7d3d07de
Translated using Weblate (German)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:41:15 +01:00
Giov4
0977728ea0
Translated using Weblate (Italian)
...
Currently translated at 93.7% (1228 of 1310 strings)
2023-12-03 18:41:15 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
92eb63c867
Translated using Weblate (Malay + Jawi)
2023-12-03 18:41:07 +01:00
YearOfFuture
0c4a15fa16
Translated using Weblate (Ukrainian)
...
Currently translated at 75.4% (989 of 1310 strings)
2023-12-03 18:39:34 +01:00
Nanashi Mumei
01ac9e15ef
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:39:34 +01:00
Muhammad Rifqi Priyo Susanto
dd3fc83777
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:39:34 +01:00
waxtatect
6a5e480a58
Translated using Weblate (French)
...
Currently translated at 100.0% (1310 of 1310 strings)
2023-12-03 18:39:34 +01:00
Lars Müller
419d971891
Translated using Weblate (German)
...
Currently translated at 99.0% (1297 of 1310 strings)
2023-12-03 18:17:42 +01:00
sfan5
9e62cb5c04
Translated using Weblate (German)
...
Currently translated at 99.0% (1297 of 1310 strings)
2023-12-03 18:17:42 +01:00
Desour
bf53e7e1ca
Fix anticheat false positives whith speed physics override
2023-12-03 12:23:17 +01:00
AFCMS
91134015e7
Document minetest.get_gametime()
returning nil
at init time ( #14047 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2023-12-03 15:00:29 +07:00
Muhammad Rifqi Priyo Susanto
047520d91e
Inventory: Add remaining items into the source slot directly ( #14021 )
...
Remaining items are added into the source slot directly when left-dragging over the source slot.
2023-12-03 15:00:07 +07:00
DS
6106e4e72b
Fix sound and particlespawner id generation ( #14059 )
...
* Fix server sound ids being reused to early
* Fix particlespawner id generation
It always returned 0.
Also, now the ids always grow, to make a conflict with ids in lua unlikely.
2023-12-01 00:09:53 +01:00
SmallJoker
a7e5456099
Server: avoid re-use of recent ParticleSpawner and Sound IDs ( #14045 )
...
This improves the reliability when removing and re-adding handles quickly.
Looping through the entire ID range avoids collisions caused by any race condition.
2023-11-29 21:10:19 +01:00
sfan5
d6a8b546e4
Enable clean transparent filter in more cases
...
It was determined that this fixes scaling artifacts that can happen with bilinear,
trilinear or anisotropic filtering alone.
Since the previous commit did not bring back the relevant setting, we fix this
shortcoming by just enabling it in all cases where it is known to help.
2023-11-29 21:09:21 +01:00
sfan5
7f9326805c
Return texture filter settings to previous state
...
This partially reverts commit 72ef90885d
.
fixes #14007
2023-11-29 21:09:21 +01:00
sfan5
36f4953502
Update credits for 5.8.0 release ( #14017 )
2023-11-28 23:11:29 +01:00
grorp
dc6452db1b
Don't copy user texture packs into Android bundle ( #14053 )
2023-11-28 21:02:56 +01:00
grorp
cfe1953c2d
Take aliases into account for automatic package installation ( #14052 )
2023-11-28 21:02:41 +01:00
Wuzzy
dfe00f88e1
Fix missing word in German builtin translation ( #14051 )
2023-11-28 21:02:19 +01:00
Muhammad Rifqi Priyo Susanto
53886dcdb5
Formspec: Pass the second-touch event as is ( #13872 )
...
The second-touch event is passed to the GUIFormSpecMenu::OnEvent() function as a touch event.
There are two types of event for inventory formspec: (1) mouse event and (2) touch event.
The touch event is just a modifier of the mouse event.
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
2023-11-28 07:00:07 +07:00
grorp
771da80bbb
Make it possible again to see item tooltips on Android ( #14029 )
...
This change is a quick fix so that item tooltips show again on Android.
2023-11-25 17:07:07 +01:00
Zughy
0f3ac7c956
Update Italian builtin translation ( #13997 )
2023-11-25 17:05:07 +01:00
Muhammad Rifqi Priyo Susanto
71490a417e
Update Indonesian translation of builtin ( #13996 )
...
U+0020 (Space) is changed to U+00A0 (No-Break Space) to match the original string.
2023-11-25 17:04:44 +01:00
grorp
4255ac3022
Mainmenu: Avoid the header being displayed behind the formspec ( #13924 )
...
This change keeps the current header placement code, but adds additional code to make sure the header doesn't end up behind the formspec.
2023-11-25 17:04:33 +01:00
ZenonSeth
6783734612
Wireshark dissector: Made sure var 'pos' was only assigned locally to function ( #14027 )
2023-11-23 18:26:00 +01:00
Wuzzy
61db32beee
Fix mod translation updater bugs ( #13974 )
2023-11-19 20:46:52 +01:00
MisterE123
31ee7af3ab
lua_api.md: Add tick marks to position HUD element
2023-11-19 20:46:40 +01:00
jordan4ibanez
72edfe3d04
Fix openSUSE build dependencies
...
They were incomplete.
2023-11-19 20:46:03 +01:00
Desour
7199ee4ff8
Devtest: Fix testnodes bouncy color calculation
...
Values were out of range.
2023-11-19 20:45:18 +01:00
Desour
585e6aa80b
Clamp values in read_ARGB8
2023-11-19 20:45:18 +01:00
Desour
1bc74b0ba1
Fix undefined inf to s32 cast in GUIScrollBar::setPos
2023-11-19 20:45:18 +01:00
Desour
73e85b2ebb
Fix cached wanted_range and camera_fov being written with out-of-range value
2023-11-19 20:45:18 +01:00
sfan5
0e4de28988
Try to fix VS build failures
2023-11-19 16:22:20 +01:00
Muhammad Rifqi Priyo Susanto
aa912e90a7
Make text containers wider in the Volume Change dialog ( #13995 )
...
These containers are widened to account for translations.
2023-11-15 07:00:03 +07:00
DS
8cf76e004f
Add new flags to minetest.features for 5.8.0 features ( #13978 )
2023-11-12 20:08:57 +01:00
superfloh247
7cb20dd6c2
Fix undefined behaviour in modulo360f ( #13976 )
...
Resolves a crash on macOS/arm64 by no longer depending on UB.
2023-11-12 20:08:33 +01:00
updatepo.sh
2bc0d76f63
Update translation files
2023-11-11 12:11:09 +01:00
updatepo.sh
8abb5796ed
Update example conf and settings translations
2023-11-11 12:09:35 +01:00
YearOfFuture
7a658c1a6a
Translated using Weblate (Ukrainian)
...
Currently translated at 76.3% (1023 of 1340 strings)
2023-11-11 12:06:10 +01:00
Maksim Gamarnik
1b0a34b9d1
Translated using Weblate (Ukrainian)
...
Currently translated at 72.4% (971 of 1340 strings)
2023-11-11 12:06:10 +01:00
YearOfFuture
8b5fc7f23a
Translated using Weblate (Ukrainian)
...
Currently translated at 72.4% (971 of 1340 strings)
2023-11-11 12:06:10 +01:00
Maksim Gamarnik
ee35d7df58
Translated using Weblate (Ukrainian)
...
Currently translated at 69.8% (936 of 1340 strings)
2023-11-11 12:06:10 +01:00
dandelionsmellr
8d1f1b4704
Translated using Weblate (Ukrainian)
...
Currently translated at 67.3% (902 of 1340 strings)
2023-11-11 12:06:10 +01:00
Maksim Gamarnik
50f48ce9df
Translated using Weblate (Ukrainian)
...
Currently translated at 67.2% (901 of 1340 strings)
2023-11-11 12:06:10 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
e14f905299
Translated using Weblate (Malay (Jawi))
...
Currently translated at 53.9% (723 of 1340 strings)
2023-11-11 12:06:10 +01:00
Nanashi Mumei
6980f516d4
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1340 of 1340 strings)
2023-11-11 12:06:10 +01:00
dandelionsmellr
52e66b6dfe
Translated using Weblate (Ukrainian)
...
Currently translated at 59.8% (802 of 1340 strings)
2023-11-11 12:06:10 +01:00
Maksim Gamarnik
645e4abf52
Translated using Weblate (Ukrainian)
...
Currently translated at 59.8% (802 of 1340 strings)
2023-11-11 12:06:10 +01:00
dandelionsmellr
b0932ef458
Translated using Weblate (Ukrainian)
...
Currently translated at 59.8% (802 of 1340 strings)
2023-11-11 12:06:10 +01:00
Muhammad Rifqi Priyo Susanto
330aee974e
Translated using Weblate (Javanese)
...
Currently translated at 0.0% (0 of 1340 strings)
2023-11-11 12:06:10 +01:00
Timur Seber
a1d7c25587
Translated using Weblate (Tatar)
...
Currently translated at 7.6% (103 of 1340 strings)
2023-11-11 12:06:10 +01:00
109247019824
6c4352eaf9
Translated using Weblate (Bulgarian)
...
Currently translated at 32.5% (436 of 1340 strings)
2023-11-11 12:06:10 +01:00
Spurnita
2f279d2403
Translated using Weblate (Catalan)
...
Currently translated at 18.6% (250 of 1340 strings)
2023-11-11 12:06:10 +01:00
chocomint
842b2bbd36
Translated using Weblate (Spanish)
...
Currently translated at 90.8% (1218 of 1340 strings)
2023-11-11 12:06:10 +01:00
BreadW
d056bb3ee7
Translated using Weblate (Japanese)
...
Currently translated at 94.4% (1265 of 1340 strings)
2023-11-11 12:06:10 +01:00
waxtatect
adf9a3953b
Translated using Weblate (French)
...
Currently translated at 100.0% (1340 of 1340 strings)
2023-11-11 12:06:10 +01:00
Ярослав Рукавицын
c7dd8c18ed
Translated using Weblate (Russian)
...
Currently translated at 94.1% (1262 of 1340 strings)
2023-11-11 12:06:10 +01:00
Lemente
d8c8bf1897
Translated using Weblate (French)
...
Currently translated at 96.9% (1299 of 1340 strings)
2023-11-11 12:06:10 +01:00
waxtatect
b0c92e885e
Translated using Weblate (French)
...
Currently translated at 96.9% (1299 of 1340 strings)
2023-11-11 12:06:10 +01:00
ROllerozxa
80ae408eb9
Translated using Weblate (Swedish)
...
Currently translated at 65.5% (879 of 1340 strings)
2023-11-11 12:06:10 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
9720eb50b3
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1340 of 1340 strings)
2023-11-11 12:06:10 +01:00
Bas Huis
1efa3a165e
Translated using Weblate (Dutch)
...
Currently translated at 83.9% (1125 of 1340 strings)
2023-11-11 12:06:10 +01:00
ROllerozxa
b730c0aa9a
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 52.4% (703 of 1340 strings)
2023-11-11 12:06:10 +01:00
Muhammad Rifqi Priyo Susanto
bc26bdc2bf
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1340 of 1340 strings)
2023-11-11 12:06:09 +01:00
Translator
3187aca3c9
Translated using Weblate (French)
...
Currently translated at 94.4% (1265 of 1340 strings)
2023-11-11 12:06:09 +01:00
Janar Leas
c4b7876a1a
Translated using Weblate (Estonian)
...
Currently translated at 44.7% (600 of 1340 strings)
2023-11-11 12:06:09 +01:00
Wuzzy
904dbe730d
Translated using Weblate (German)
...
Currently translated at 100.0% (1340 of 1340 strings)
2023-11-11 12:06:09 +01:00
Gregor Parzefall
8bf2031310
Get rid of hidden settings in settings_translation_file.cpp
2023-11-11 11:59:38 +01:00
Wuzzy
af474d10a4
Fix bad translation function names in builtin ( #13977 )
2023-11-10 07:00:17 +07:00
MisterE123
fe8d04d0b3
Fix misrendered fall_damage_add_percent calculation formula ( #13969 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2023-11-09 19:55:26 +01:00
Gregor Parzefall
394450758e
Fix auto_install_spec being used as a table ( #13970 )
...
(It's a string since #13906.)
2023-11-09 19:54:47 +01:00
JosiahWI
56902745c8
Extract updateClouds method from updateFrame ( #13939 )
...
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
2023-11-08 07:00:59 +07:00
corpserot
9e952603b2
Lump MT_LOGCOLOR env together with other color env ( #13887 )
2023-11-08 07:00:36 +07:00
Thresher
80c4c260ae
Refactor and move world_format.txt
to world_format.md
( #13504 )
...
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
2023-11-08 07:00:04 +07:00
ROllerozxa
570fc90bf6
Debundle Minetest Game ( #13818 )
2023-11-07 22:18:26 +01:00
Muhammad Rifqi Priyo Susanto
7213ff7a00
Resolves some warnings for Android version ( #13862 )
2023-11-05 19:02:01 +01:00
Gregor Parzefall
adec16790b
Offer ContentDB updates for leftover bundled Minetest Game ( #13906 )
2023-11-05 19:01:19 +01:00
Zughy
726326924d
Clarify get_translated_string
string argument ( #13948 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2023-11-05 19:00:32 +01:00
Muhammad Rifqi Priyo Susanto
4d2227cfa5
Rename mtt_update to mod_translation_updater ( #13952 )
...
Clarifies the purpose of the translation update script by giving it a more explanatory name.
2023-11-05 09:11:30 +01:00
Nils Dagsson Moskopp
2025dcffbd
Revert "Don't trigger a key event if a key with the same associated char was pressed ( #13773 )"
...
This partially reverts commit d57c936b08
.
The reverted commit prevented recognition of key combinations.
It correctly changed a test case to no longer use “KEY_NUMPAD_5”.
Several keyboard layouts use a key combination to input a “+” (e.g. Neo2);
therefore some users could no longer input “+” to increase the view range.
Co-authored-by: savilli <78875209+savilli@users.noreply.github.com>
2023-10-30 21:23:59 +01:00
Desour
ec7a1f02e7
Fix out-of-bounds access in NodeDefManager::nodeboxConnects
2023-10-30 21:23:47 +01:00
Desour
1d31533601
Reformat rot array in NodeDefManager::nodeboxConnects, to make it less magic
2023-10-30 21:23:47 +01:00
Desour
64104585c5
Devtest: Add more connected nodebox test nodes
2023-10-30 21:23:47 +01:00
Gregor Parzefall
96197025b9
Fix hypertext[] sometimes calculating incorrect scrollbar height ( #13943 )
2023-10-29 17:54:31 +01:00
Muhammad Rifqi Priyo Susanto
1363059416
Fix issues in Minetest's English texts ( #13913 )
...
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: Desour <ds.desour@proton.me>
Co-authored-by: sfan5 <sfan5@live.de>
2023-10-29 12:24:39 +01:00
Desour
b3988d964a
Sounds: Do not fade paused sounds
2023-10-29 00:40:07 +02:00
Desour
2ad17136dc
Sounds: Fix dtime being in milliseconds
2023-10-29 00:40:07 +02:00
Desour
b2aa5d9261
Sounds: Don't pause new sounds when paused
2023-10-29 00:39:38 +02:00
rubenwardy
4ee32c5441
Add package update detection on Content tab ( #13807 )
2023-10-28 17:33:44 +01:00
sfan5
ddce858c34
Speed up macOS CI
...
- skip nonsense during package installation
- use actual number of available cores
2023-10-27 20:22:40 +02:00
sfan5
00be802c5c
Use macos-latest for CI
...
Old versions lose support relatively quickly and then silently degrade
to e.g. compiling all dependencies from source which takes a long time.
2023-10-27 20:22:40 +02:00
sfan5
8d2e1289a4
Use newer IrrlichtMt
2023-10-27 19:00:04 +02:00
Desour
454eb3901d
Inventory: Fix deleted inventory being used for regaining locked lists
2023-10-27 18:47:07 +02:00
Desour
a464b41d99
Inventory: Release resizes-locked lists on all on_
-callbacks
2023-10-27 18:47:07 +02:00
ROllerozxa
1a562ca144
Prevent Windows Defender warnings in singleplayer (Bind singleplayer server to 127.0.0.1)
2023-10-27 12:03:43 +02:00
sfan5
03ba9370b9
Deprecate .bmp format
2023-10-27 11:05:27 +02:00
Nils Dagsson Moskopp
2f16227302
Set color of scrollbar/dropdown button symbols and checkmarks to white
...
Before this patch, the symbols were rendered black on dark background.
Previous images were edited like this:
1. The colors were inverted with GIMP's “linear inversion” method.
2. Image files were optimized using “optipng -o7 -zm1-9 -strip all”.
Co-authored-by: ROllerozxa <rollerozxa@voxelmanip.se>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2023-10-27 11:05:00 +02:00
sfan5
15c3fb7b7a
Amend list of planned breakages
2023-10-24 18:17:18 +02:00
Gregor Parzefall
2ce14ce4eb
Use hypertext[] for credits so that long lines are wrapped ( #13914 )
2023-10-22 15:32:14 +02:00
SmallJoker
906417cc0d
GUI: Autofocus newly opened GUIModalMenu instances ( #13911 )
...
This in particular fixes incorrect event propagation to menus that
are no longer shown, such as the key change menu when opened within
the settings tab.
2023-10-22 15:31:42 +02:00
SmallJoker
2fbf5f4250
CSM: Fix duplicate player names ( #13910 )
2023-10-22 15:31:29 +02:00
Alexander Chibrikin
3491509b21
Add Russian translation of builtin ( #13896 )
...
Co-authored-by: Zemtzov7 <72821250+zmv7@users.noreply.github.com>
2023-10-22 15:31:11 +02:00
DS
7e8831a414
Inventory: Don't throw resize lock exception in destructor ( #13894 )
...
... of nodemeta inventories.
2023-10-22 15:30:11 +02:00
Cora de la Mouche
341e53f2e2
Remove deprecation mark on TGA texture format ( #13877 )
2023-10-22 15:29:28 +02:00
Muhammad Rifqi Priyo Susanto
c9655e54ce
Change some keys to be triggered once every key press ( #13883 )
...
Those keys are below:
- KeyType::CAMERA_MODE
- KeyType::SCREENSHOT
- KeyType::TOGGLE_BLOCK_BOUNDS
- KeyType::TOGGLE_HUD
- KeyType::MINIMAP
- KeyType::TOGGLE_CHAT
- KeyType::TOGGLE_FOG
- KeyType::TOGGLE_DEBUG
- KeyType::TOGGLE_PROFILER
- KeyType::RANGESELECT
Co-authored-by: Gregor Parzefall <82708541+grorp@users.noreply.github.com>
2023-10-22 02:00:08 +07:00
updatepo.sh
8a9855241c
Update translation files
2023-10-20 23:14:25 +02:00
updatepo.sh
72fc564758
Update example conf and settings translations
2023-10-20 23:12:43 +02:00
BRN Systems
81fee2207e
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:05 +02:00
gallegonovato
425db09ede
Translated using Weblate (Spanish)
...
Currently translated at 92.1% (1248 of 1355 strings)
2023-10-20 22:54:05 +02:00
Gábriel
0f2b196b32
Translated using Weblate (Hungarian)
...
Currently translated at 98.2% (1331 of 1355 strings)
2023-10-20 22:54:05 +02:00
watilin
bb7c0ceea0
Translated using Weblate (French)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:05 +02:00
Jorge Batista Ramos Junior
24c2ef2996
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 99.0% (1342 of 1355 strings)
2023-10-20 22:54:04 +02:00
Filippo Alfieri
f7775640d5
Translated using Weblate (Italian)
...
Currently translated at 99.5% (1349 of 1355 strings)
2023-10-20 22:54:04 +02:00
Christian Elbrianno
3127dd902a
Added translation using Weblate (Javanese)
2023-10-20 22:54:04 +02:00
Wuzzy
6445fbaadc
Translated using Weblate (German)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Tirifto
4a4861c26f
Translated using Weblate (Esperanto)
...
Currently translated at 85.9% (1164 of 1355 strings)
2023-10-20 22:54:04 +02:00
Farooq Karimi Zadeh
332f1af325
Translated using Weblate (Persian)
...
Currently translated at 0.1% (1 of 1355 strings)
2023-10-20 22:54:04 +02:00
José Douglas
520cfaf13e
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 97.9% (1327 of 1355 strings)
2023-10-20 22:54:04 +02:00
Farooq Karimi Zadeh
7b14b867f5
Added translation using Weblate (Persian)
2023-10-20 22:54:04 +02:00
Marco Ciampa
8ab517d242
Translated using Weblate (Esperanto)
...
Currently translated at 85.2% (1155 of 1355 strings)
2023-10-20 22:54:04 +02:00
Claybiokiller
c0f0770f65
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.0% (1234 of 1355 strings)
2023-10-20 22:54:04 +02:00
Linerly
28e06f7d9c
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Nanashi Mumei
77f2c94395
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Emmily
17e0ec27eb
Translated using Weblate (Esperanto)
...
Currently translated at 84.7% (1149 of 1355 strings)
2023-10-20 22:54:04 +02:00
yue weikai
d62abbc938
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.4% (1226 of 1355 strings)
2023-10-20 22:54:04 +02:00
Eoghan Murray
00b7208b5a
Translated using Weblate (Irish)
...
Currently translated at 1.7% (24 of 1355 strings)
2023-10-20 22:54:04 +02:00
Eoghan Murray
92248e8018
Translated using Weblate (Gaelic)
...
Currently translated at 11.1% (151 of 1355 strings)
2023-10-20 22:54:04 +02:00
Yic95
78aad07be9
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 70.9% (961 of 1355 strings)
2023-10-20 22:54:04 +02:00
Eoghan Murray
50cdf0e9bf
Added translation using Weblate (Irish)
2023-10-20 22:54:04 +02:00
Muhammad Rifqi Priyo Susanto
a644e8c70a
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Hugo Carvalho
2e96f99e9c
Translated using Weblate (Portuguese)
...
Currently translated at 98.8% (1339 of 1355 strings)
2023-10-20 22:54:04 +02:00
Milan Šalka
57cc054bb3
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Hugo Rosa
8df315378d
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 97.9% (1327 of 1355 strings)
2023-10-20 22:54:04 +02:00
Jynweythek Vordhosbn
bcfd1fcdba
Translated using Weblate (Spanish)
...
Currently translated at 92.1% (1248 of 1355 strings)
2023-10-20 22:54:04 +02:00
Joaquín Villalba
6f93853e65
Translated using Weblate (Spanish)
...
Currently translated at 92.1% (1248 of 1355 strings)
2023-10-20 22:54:04 +02:00
joserene-007
c8b98d1eeb
Translated using Weblate (Spanish)
...
Currently translated at 92.1% (1248 of 1355 strings)
2023-10-20 22:54:04 +02:00
Skrripy
356ee9d2a9
Translated using Weblate (Ukrainian)
...
Currently translated at 55.2% (749 of 1355 strings)
2023-10-20 22:54:04 +02:00
Ács Zoltán
db5a15e14c
Translated using Weblate (Hungarian)
...
Currently translated at 97.9% (1327 of 1355 strings)
2023-10-20 22:54:04 +02:00
Salif Mehmed
e2ab89d253
Translated using Weblate (Bulgarian)
...
Currently translated at 34.2% (464 of 1355 strings)
2023-10-20 22:54:04 +02:00
Jakub Z
85884c15e7
Translated using Weblate (Polish)
...
Currently translated at 87.3% (1183 of 1355 strings)
2023-10-20 22:54:04 +02:00
Dominik Gęgotek
fc5ff8d8c7
Translated using Weblate (Polish)
...
Currently translated at 87.3% (1183 of 1355 strings)
2023-10-20 22:54:04 +02:00
Janar Leas
34e566f726
Translated using Weblate (Estonian)
...
Currently translated at 46.8% (635 of 1355 strings)
2023-10-20 22:54:04 +02:00
MikeL
a18be49827
Translated using Weblate (Maori)
...
Currently translated at 0.8% (11 of 1355 strings)
2023-10-20 22:54:04 +02:00
MikeL
2871a9fee8
Added translation using Weblate (Maori)
2023-10-20 22:54:04 +02:00
ROllerozxa
2817b9d84b
Translated using Weblate (Swedish)
...
Currently translated at 66.6% (903 of 1355 strings)
2023-10-20 22:54:04 +02:00
Timur Seber
4cc05906bd
Translated using Weblate (Tatar)
...
Currently translated at 0.9% (13 of 1355 strings)
2023-10-20 22:54:04 +02:00
facilitas
d04c1b5d73
Added translation using Weblate (Interlingua)
2023-10-20 22:54:04 +02:00
Артём Котлубай
2a518d8661
Translated using Weblate (Russian)
...
Currently translated at 99.3% (1346 of 1355 strings)
2023-10-20 22:54:04 +02:00
Application-maker
9b71b2f5d9
Translated using Weblate (Russian)
...
Currently translated at 99.3% (1346 of 1355 strings)
2023-10-20 22:54:04 +02:00
Robinson
261bf52440
Translated using Weblate (Czech)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Pexauteau Santander
9b76946540
Translated using Weblate (Czech)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Martin Šimek
9c0b546942
Translated using Weblate (Czech)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Roland Meier
ac3bb40692
Translated using Weblate (German)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Vít Skalický
54a39e3c4e
Translated using Weblate (Czech)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Martin Šimek
def9db9d16
Translated using Weblate (Czech)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Nicolae Crefelean
ed1c6b432c
Translated using Weblate (Romanian)
...
Currently translated at 53.5% (725 of 1355 strings)
2023-10-20 22:54:04 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
dc88e6f927
Translated using Weblate (Malay (Jawi))
...
Currently translated at 59.0% (800 of 1355 strings)
2023-10-20 22:54:04 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
ce53230ab2
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
José Muñoz
cd17caab7e
Translated using Weblate (Spanish)
...
Currently translated at 89.6% (1215 of 1355 strings)
2023-10-20 22:54:04 +02:00
nyommer
d5bf34271f
Translated using Weblate (Hungarian)
...
Currently translated at 97.6% (1323 of 1355 strings)
2023-10-20 22:54:04 +02:00
Sharpik
941896ef28
Translated using Weblate (Czech)
...
Currently translated at 68.2% (925 of 1355 strings)
2023-10-20 22:54:04 +02:00
Furkan Baytekin
f362ed0880
Translated using Weblate (Turkish)
...
Currently translated at 89.0% (1207 of 1355 strings)
2023-10-20 22:54:04 +02:00
Sava Kujundžić
be1c441157
Translated using Weblate (Serbian (latin))
...
Currently translated at 7.4% (101 of 1355 strings)
2023-10-20 22:54:04 +02:00
Pexauteau Santander
8c3b8b7b4c
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:04 +02:00
Mimi Kush
be1e781399
Translated using Weblate (Spanish)
...
Currently translated at 89.6% (1215 of 1355 strings)
2023-10-20 22:54:04 +02:00
Šimon Brandner
b10fe4ddd6
Translated using Weblate (Czech)
...
Currently translated at 68.1% (924 of 1355 strings)
2023-10-20 22:54:04 +02:00
José Muñoz
d54d4b4618
Translated using Weblate (Spanish)
...
Currently translated at 88.5% (1200 of 1355 strings)
2023-10-20 22:54:04 +02:00
jolesh
09104e17a0
Translated using Weblate (Esperanto)
...
Currently translated at 84.3% (1143 of 1355 strings)
2023-10-20 22:54:04 +02:00
Walter Bulbazor
7a5247cc33
Translated using Weblate (Occitan)
...
Currently translated at 24.3% (330 of 1355 strings)
2023-10-20 22:54:04 +02:00
Tor Egil Hoftun Kvæstad
475809ed40
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 43.2% (586 of 1355 strings)
2023-10-20 22:54:04 +02:00
Артём Котлубай
2f9742c64f
Translated using Weblate (Russian)
...
Currently translated at 99.1% (1344 of 1355 strings)
2023-10-20 22:54:03 +02:00
Tsaqib Fadhlurrahman Soka
85c9c27e42
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:03 +02:00
Marian
8c9a4d9a05
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:03 +02:00
Ács Zoltán
1b2396ee9e
Translated using Weblate (Hungarian)
...
Currently translated at 97.0% (1315 of 1355 strings)
2023-10-20 22:54:03 +02:00
Alexandros Koutroulis
dd587aa30d
Translated using Weblate (Greek)
...
Currently translated at 27.8% (377 of 1355 strings)
2023-10-20 22:54:03 +02:00
waxtatect
9ccc0bd27e
Translated using Weblate (French)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-10-20 22:54:03 +02:00
Gregor Parzefall
b1dec37adb
Clean up and improve mainmenu theme / game theme code ( #13885 )
2023-10-18 20:18:50 +02:00
JosiahWI
62eb6cfed0
Extract updatePauseState from Game::run ( #13893 )
2023-10-18 20:17:30 +02:00
DS
6026003508
Warn only once about positional stereo sounds ( #13895 )
2023-10-18 20:16:45 +02:00
Gregor Parzefall
6fdc7e0dad
Make hypertext[] respect font size settings ( #13858 )
2023-10-16 20:47:16 +02:00
DS
3c41195986
Inventory: Fix picking up items via drop and pickup doubleclick ( #13891 )
2023-10-16 20:46:57 +02:00
Desour
5e0f14266d
Fix forgotten CLANG_MINIMUM_VERSION update
2023-10-14 13:23:17 +02:00
DS
12e98678f6
Particle cleanup ( #13394 )
2023-10-11 17:07:30 +02:00
Thresher
352a403bd0
Optimize PNG files ( #13509 )
2023-10-09 17:13:44 +02:00
Muhammad Rifqi Priyo Susanto
7e678b5686
Prevent early respawns caused by up/down button in the death screen ( #13870 )
2023-10-09 17:13:33 +02:00
sfan5
b270c2bd68
Don't print ASCII art when using ncurses
2023-10-09 17:13:18 +02:00
DS
11ec75c2ad
ActiveObjectMgr fixes ( #13560 )
2023-10-09 17:13:04 +02:00
Loïc Blot
929a13a9a0
build: Allow disabling documentation build + print more build flags ( #13871 )
...
* build: permit to disable documentation build
* build: add a message about some BUILD_* flags
2023-10-09 15:35:12 +02:00
Wuzzy
2c74797d34
Add script to update/generate mod translations ( #13739 )
2023-10-08 16:47:11 +01:00
Gregor Parzefall
d05da513be
Notify users to reinstall MTG if worlds exist ( #13850 )
2023-10-08 16:47:00 +01:00
Gregor Parzefall
26bb397852
Add advanced settings checkbox and hide advanced settings by default ( #13861 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2023-10-07 21:34:59 +02:00
sfan5
01d26c0e0e
Warn when ignoring bind_address
2023-10-05 17:29:49 +02:00
sfan5
e02bf9fb1a
Log timeout when a httpfetch times out
2023-10-05 17:29:49 +02:00
sfan5
9ec40ce8e9
Enforce minimum for curl(_file_download)_timeout
2023-10-05 17:29:49 +02:00
rvenson
ac8a9f9502
Update range values of meta set functions in the documentation
2023-10-05 17:29:26 +02:00
Muhammad Rifqi Priyo Susanto
c60d971bc4
Move unsupported language list into a separate file ( #13865 )
2023-10-05 17:29:02 +02:00
DS
8db4381304
MapblockMeshGenerator: Use more verbose member names ( #13244 )
2023-10-04 00:28:43 +02:00
corpserot
5a5697273b
lua_api_deploy: fix code blocks parsing ( #13847 )
2023-10-03 20:34:24 +02:00
sfan5
de0036f4c1
Document air_equivalent as deprecated
2023-10-02 13:44:12 +02:00
Gregor Parzefall
33cc29bbda
Allow setting custom third person front view camera offset ( #13686 )
...
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2023-10-02 13:44:03 +02:00
Caleb Butler
3a4bf14c20
Replace all core::unicode::ustring with std::u32string ( #13775 )
2023-10-02 13:43:38 +02:00
Gregor Parzefall
56965bc814
Android: Add field_enter_after_edit[]
formspec element ( #13836 )
2023-10-01 11:20:50 +02:00
Gregor Parzefall
94eba15c34
Misc. mainmenu fixes ( #13859 )
...
* settingstypes.txt: Fix wrong default value for profiler.report_path
* Disable Irrlicht file picker on Android
(It doesn't work.)
* Join Game tab: Fix server description textarea being misaligned with background
* Reduce distance between tab and gamebar on Android
Allows using a higher gui_scaling value without the gamebar going off-screen.
Co-authored-by: ROllerozxa <rollerozxa@voxelmanip.se>
2023-10-01 11:19:52 +02:00
Desour
c90c545d33
Put the internal sound definitions into a new sound
namespace
2023-09-30 18:54:26 +02:00
Desour
bbc64a2eb5
Split sound_openal_internal into serval files
2023-09-30 18:54:26 +02:00
Desour
606215fae9
Move sound_openal and sound_openal_internal into new src/client/sound directory
2023-09-30 18:54:26 +02:00
Desour
8fa2ea71ef
Move soundmanager into its own thread
...
Fixes sound queues running empty on client step hiccups.
2023-09-26 22:10:57 +02:00
Desour
591e45657f
Bump minimum clang version to 7.0.1
...
std::variant is broken in clang < 7.0.1 with libstdc++
see: https://github.com/llvm/llvm-project/issues/32569
2023-09-26 22:10:57 +02:00
sfan5
b0d5cedeb6
Fix missing initialization for m_game_focused
2023-09-24 16:46:18 +02:00
sfan5
d113636a43
Fix UB in NetworkPacket class
2023-09-24 16:46:18 +02:00
sfan5
5109fa7eda
Fix crash when processing empty mesh buffers
2023-09-24 16:46:18 +02:00
Gregor Parzefall
ff87be6e5f
Remove unused "mNormal" uniform to fix crash on GLES2 with shaders
2023-09-24 16:46:05 +02:00
Gregor Parzefall
4cf900c779
Fix error when enabling texture packs ( #13829 )
2023-09-23 18:20:23 +02:00
ROllerozxa
c247761213
Escape package description in content tab
2023-09-22 21:25:58 +02:00
savilli
d57c936b08
Don't trigger a key event if a key with the same associated char was pressed ( #13773 )
2023-09-22 21:25:13 +02:00
David Leal
9f47e123d2
animaition
-> animation
(#13827 )
...
Also changed `range` to `frame_range`,
2023-09-22 18:41:33 +02:00
sfan5
c3114132d3
Improve readability and infos in verbose log ( #13828 )
2023-09-22 18:41:10 +02:00
ROllerozxa
5949172735
Build MkDocs Lua API docs using GitHub CI, deploy to api.minetest.net ( #13675 )
...
* Build MkDocs Lua API documentation using GitHub CI and Pages instead
* Remove Lua highlight hack as codeblocks are correctly marked as Lua now
* fix line endings
2023-09-18 19:17:18 +03:00
x2048
e36b2226b9
Skip face culling in shadows for double-sided materials (e.g. plantlike) ( #13500 )
...
* Skip face culling in shadows for double-sided materials (e.g. plantlike)
* Keep previous face culling for transparent surfaces e.g. water
2023-09-17 21:42:14 +02:00
ROllerozxa
a88e61c2cf
Improve UX when no game exists and drop default_game
( #13550 )
2023-09-17 18:45:28 +01:00
Gregor Parzefall
5bfc5d44c0
Two ContentDB GUI fixes ( #13806 )
2023-09-16 18:36:28 +02:00
Gregor Parzefall
4f735fba05
Settings GUI: Noise parameter setting fixes ( #13797 )
2023-09-16 18:35:35 +02:00
Wuzzy
8ebaf753d3
New physics overrides ( #11465 )
2023-09-15 20:10:08 +02:00
sfan5
2479d51cc6
Fix double-free of minimap textures
2023-09-13 15:27:07 +02:00
sfan5
033128d8dc
Show better description to users when std::bad_alloc happens
2023-09-13 13:58:59 +02:00
SmallJoker
4ef93fe25f
Allow place_param2 = 0 node placement predictions ( #13787 )
...
The placement prediction value 0 was accidentally ignored
and made the clients fall back to automatic rotation based
on the node paramtype2 value.
This now changes the internal representation to properly
indicate the disabled state (e.g. 'nil' in Lua).
2023-09-13 13:57:57 +02:00
Gregor Parzefall
833c324498
Make the crosshair DPI-aware ( #13772 )
2023-09-11 18:59:32 +02:00
rubenwardy
48ab1835da
Replace settings tab with button
2023-09-09 18:49:33 +02:00
Zughy
798b9eae4a
Add settings button icon
2023-09-09 18:49:33 +02:00
Desour
010d08f6a4
Fix -Wmissing-braces warnings in mapblock_mesh.cpp
2023-09-09 18:48:56 +02:00
Desour
7897450b27
Fix -Winconsistent-missing-override warnings
2023-09-09 18:48:56 +02:00
Desour
2ad4c9e0ce
Fix -Wunused-but-set-variable warnings
2023-09-09 18:48:56 +02:00
Gregor Parzefall
95056f9783
Higher default graphics settings on Android ( #13780 )
2023-09-07 17:55:11 +02:00
Gregor Parzefall
1a568cc491
Fix that negative integer values for float settings don't get a ".0" suffix ( #13779 )
2023-09-05 15:36:05 +02:00
Gregor Parzefall
83b85ba16a
Rewrite the gamebar ( #13768 )
2023-09-02 23:02:02 +02:00
chmodsayshello
294ad98776
Send ever lasting particle spawners to all players ( #13774 )
2023-09-02 22:58:11 +02:00
sfan5
f080aa29b5
Remove usage of obsolete HighPrecisionFPU field
2023-09-01 12:46:36 +02:00
Gregor Parzefall
4252f9d4d5
Restore the appearance of the "Start Game" tab after #13761 ( #13769 )
2023-08-30 14:45:44 +02:00
rubenwardy
0cbf96cc83
Use formspec version 6 in the main menu ( #13761 )
2023-08-28 22:36:54 +01:00
Gregor Parzefall
7b56daa236
Small setting-related fixes ( #13755 )
2023-08-27 20:18:41 +02:00
savilli
852d6a7976
Fix potential freeze in core.check_for_falling
2023-08-27 20:12:53 +02:00
SmallJoker
bf9f831cb2
Inventory: skip redundant stack movement
...
The list of dragged stacks includes the source stack, which
however does not need to be moved onto itself.
This is an optimization.
2023-08-27 20:12:10 +02:00
SmallJoker
0ba899e239
Inventory: Fix assertion caused by a no-op stack movement
2023-08-27 20:12:10 +02:00
Rising Leaf
660151572f
Do not render objects that are invisble into the shadow map
2023-08-26 20:12:17 +02:00
1F616EMO~nya
54eacca287
Use issue templates for creating issues ( #13222 )
2023-08-25 22:00:05 +07:00
Desour
f47b00426a
Revert "Get rid of guiroot"
...
This reverts commit 45e7a80057
.
2023-08-24 22:14:44 +02:00
Desour
7e4dccb3b5
Revert "Get rid of global guienv variable"
...
This reverts commit 16da954bd7
.
2023-08-24 22:14:44 +02:00
Desour
f98726c516
Revert "Use our GUIButton in touchscreengui"
...
This reverts commit f7f3aaf43c
.
Fixes #13743 .
2023-08-24 22:14:44 +02:00
Gregor Parzefall
aea9242a96
Allow nodes to have their post_effect_color affected by lighting ( #13637 )
...
Co-authored-by: DS <ds.desour@proton.me>
2023-08-24 20:16:36 +02:00
Gregor Parzefall
92b6ff4721
TouchScreenGUI: Fix only 9 hotbar slots being usable ( #13698 )
...
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
2023-08-24 17:45:51 +02:00
Gregor Parzefall
72ef90885d
Clean up texture filtering settings ( #13683 )
2023-08-24 10:50:47 +02:00
gamefreq0
d0ee63c766
Enable shift-click crafting ( #13729 )
2023-08-24 12:00:54 +07:00
fluxionary
587e2b2526
Set item description as infotext for item entities ( #13728 )
2023-08-24 12:00:18 +07:00
rubenwardy
a65cdbe66e
Settings GUI: Use language names rather than codes ( #13752 )
2023-08-24 00:33:23 +01:00
Montandalar
7b3ed32003
Persist text inputs in mainmenu local tab
...
Co-authored-by: archfan <33993466+archfan7411@users.noreply.github.com>
2023-08-14 18:17:53 +02:00
sfan5
2c987b66c1
Move implementations of some LuaVoxelManip functions to l_mapgen
2023-08-14 18:16:36 +02:00
sfan5
e48f15c135
Skip liquid updates in MapgenSinglenode if not applicable
2023-08-14 18:16:36 +02:00
sfan5
bf36a90579
Optimize Mapgen::updateLiquid()
...
-55% runtime in singlenode usage, which is the best case
2023-08-14 18:16:36 +02:00
sfan5
43c9c38a28
Fix itemdef defaults not being applied in async env
2023-08-14 18:16:36 +02:00
sfan5
f6bddc4e8d
Fix registered_craftitems not populated in async env
2023-08-14 18:16:36 +02:00
sfan5
f9c881eb5a
Add two missing classes to async environment
2023-08-14 18:16:36 +02:00
Desour
16da954bd7
Get rid of global guienv variable
...
(It can already be accessed via the renderingengine.)
2023-08-14 18:13:47 +02:00
Desour
45e7a80057
Get rid of guiroot
...
The guienvironment already provides a root gui element, we don't need to add another one.
(For CGUIEnvironment, the env itself is the root element.)
2023-08-14 18:13:47 +02:00
Desour
7e7aceb8c1
Replace all actual uses of irrlicht CGUIStaticText with our StaticText
2023-08-14 18:13:47 +02:00
Desour
d75c956dbc
Remove ugly hack in static_text.h
...
Just use the root element, like GUIButton:add().
2023-08-14 18:13:47 +02:00
Desour
f7f3aaf43c
Use our GUIButton in touchscreengui
2023-08-14 18:13:47 +02:00
Desour
91c0439922
Use our GUIButton in our GUIScrollBar
...
Note that GUIScrollBar needs an ISimpleTextureSource now due to button styling.
2023-08-14 18:13:47 +02:00
Desour
9d62abbe46
Replace any uses of CGUIScrollBar and IGUIScrollBar with GUIScrollBar
2023-08-14 18:13:47 +02:00
Desour
124d064015
GUIButton: Default BgColor to white, as opposed to unintialized
...
(Same as what CGUIButton uses (via colors=0).)
2023-08-14 18:13:47 +02:00
Desour
2903f692ba
GUIButton: Use default member initializers
2023-08-14 18:13:47 +02:00
Desour
7f9de5db0b
Make touchscreengui compile
2023-08-14 18:13:47 +02:00
jordan4ibanez
14441a289e
Document openSUSE Required Packages
2023-08-14 18:13:36 +02:00
rubenwardy
137e4ce866
Fix hypertext in the mainmenu ( #13731 )
2023-08-13 13:28:33 +01:00
Gregor Parzefall
526c5f2348
ContentDB GUI: Load package list asynchronously ( #13551 )
2023-08-13 13:28:24 +01:00
ROllerozxa
e4bedc7ea8
Make content tab use real coordinates and minor cleanups ( #13719 )
2023-08-13 13:28:16 +01:00
rubenwardy
c6a0ead72d
Add warning for initial properties directly inside definition ( #9650 )
2023-08-13 00:19:03 +01:00
Zughy
98f097dc2f
Warn about unsupported file extensions for media
2023-08-06 14:16:00 +02:00
ROllerozxa
c816aa5374
Settings GUI: Fix path settings on Windows
2023-08-06 14:15:49 +02:00
Zughy
4d9a67682d
DOCS: state that get_wielded_item returns a copy of the item
2023-08-06 14:15:34 +02:00
rubenwardy
d16d1a1341
Settings GUI: Add setting dependencies ( #13704 )
2023-08-05 17:55:27 +01:00
rubenwardy
752ce1a1b2
Settings GUI: Move shadow presets to Shaders, remove Most Used ( #13713 )
2023-08-05 17:33:18 +01:00
JosiahWI
28fce8aad5
Add dev stage to docker image ( #13573 )
2023-07-30 15:29:25 +01:00
Nikita K
e0948f42ab
Add Void Linux specifics to build documentation ( #13693 )
2023-07-30 14:55:06 +01:00
Joachim Stolberg
21ecdd5681
Fix textarea scrollbar inside border=false ( #13678 )
2023-07-30 14:54:52 +01:00
Wuzzy
20e9969313
Improve object documentation in lua_api.md ( #13239 )
...
Co-authored-by: DS <ds.desour@proton.me>
2023-07-30 14:54:01 +01:00
OgelGames
3f2a10bb4b
Fix decode_base64 returning nothing instead of nil ( #13697 )
2023-07-30 14:53:47 +01:00
doxygen-spammer
9f25378ddd
Add performance test nodes, using complex meshes. ( #13161 )
2023-07-30 14:53:08 +01:00
Gregor Parzefall
cc8280426f
Minor additions to the VoxelManip docs
2023-07-28 00:40:01 +02:00
Stvk imension
ba6de431a2
Android: Remove Migration Code ( #13590 )
...
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
2023-07-27 14:09:17 +02:00
Gregor Parzefall
c14e4d1795
Increase the resolution of the logo shown on the about tab
2023-07-22 17:20:12 +02:00
Desour
e0192e256f
Fix incorrect rounding in GUIInventoryList::getItemIndexAtPos
2023-07-22 17:19:57 +02:00
ndren
53c594abe0
Introduce and start using microsecond sleep on Linux ( #13445 )
2023-07-22 17:19:49 +02:00
sfan5
72ed8514c5
Use newer IrrlichtMt
2023-07-20 22:15:47 +02:00
Gregor Parzefall
6f0d36c41a
Fixes and improvements
2023-07-20 22:15:47 +02:00
Gregor Parzefall
7473e4cafd
Expose all OpenGL filtering modes, use OpenGL names for them
...
Because of a review comment on the Irrlicht PR by numberZero.
2023-07-20 22:15:47 +02:00
Gregor Parzefall
6bf63d4b41
Rename SMaterial::TextureLayer -> SMaterial::TextureLayers
...
It's not the "texture layer" of the material, but an array of texture layers.
2023-07-20 22:15:47 +02:00
Gregor Parzefall
05ebe2418b
Rename E_MATERIAL_FLAG -> E_MATERIAL_PROP
...
The enum values don't reference material flags, but material properties.
2023-07-20 22:15:47 +02:00
Gregor Parzefall
9bef3c136a
Split up texture filtering properties of SMaterialLayer into MinFilter and MagFilter
...
You can now set the filter used when scaling textures down and the filter used when scaling textures up separately.
2023-07-20 22:15:47 +02:00
Gregor Parzefall
307e380f30
Refactor the way you set material properties
...
Instead of using SMaterial::setFlag, you now set them directly on SMaterial or SMaterialLayer.
2023-07-20 22:15:47 +02:00
SmallJoker
128d22e6ee
GUI: Automatic scaling of checkboxes and scrollbars ( #13666 )
...
Mainly helpful on high-DPI screens or when 'gui_scaling' is changed
2023-07-17 20:46:15 +02:00
Nekobit
50234b8e5c
Fix string conversion for FreeBSD ( #13648 )
2023-07-17 20:46:06 +02:00
Gregor Parzefall
3552537fc4
Fix that transparent text still draws a text shadow ( #13649 )
...
Makes fade out animations of text more pleasant to look at.
2023-07-17 20:45:56 +02:00
DS
f41e9e3e0f
Add Irrlicht device info to the mainmenu About tab ( #13636 )
2023-07-17 20:44:54 +02:00
archfan
9b310a6e6f
Decrease sneak margin to combat phasing through thin walls ( #13607 )
...
A 1/16th-node-thick wall is 0.625 meters thick, and the previous margin of 0.1 meters meant that these walls could be phased through by sneaking against them. A margin lower than 0.625 prevents this.
2023-07-17 20:44:33 +02:00
Muhammad Rifqi Priyo Susanto
2061984313
Simplifies code by using Irrlicht's operator overloads
...
New variables are added to replace in-place calculations.
2023-07-14 21:00:29 +07:00
Muhammad Rifqi Priyo Susanto
3a47559e86
Fix some memory leaks and code style issues
...
Maximum line length is 95 characters.
Some members' name are changed.
Struct initialisations use brace syntax; eliminating the usage of the memset function.
Iterations use for-each-loop instead of while-loop+iterator.
char * -> std::string
button_info * -> std::shared_ptr<button_info>
2023-07-14 21:00:29 +07:00
Desour
8e09077de8
Fix sound manager not being stepped by GUIEngine
2023-07-14 14:42:00 +02:00
Gregor Parzefall
1837a11c22
Improve messages when changing viewing range and exceeding server-set limit ( #13647 )
2023-07-14 14:41:45 +02:00
sfan5
bf987bf58a
Handle blit_back_with_light with empty area
...
fixes #13306
2023-07-13 20:42:39 +02:00
sfan5
4a14a18799
Fix mapgen_v6 crashing
...
this variable was accidentally shadowed in 20b10b569
2023-07-09 20:59:57 +02:00
lhofhansl
136a93f628
Reverse eye-offset Z-coordinate in 3rd person front view ( #13369 )
2023-07-08 12:00:15 +07:00
Gregor Parzefall
0218963f1b
Fix max_formspec_size not taking gui_scaling into account ( #13493 )
2023-07-07 21:42:43 +02:00
SmallJoker
078bd95a49
Formspec: prevent infinite loop caused by negative background9[] size ( #13624 )
2023-07-07 21:42:10 +02:00
lhofhansl
869df17ddf
Server enforcement for fog_distance ( #13448 ) to block cheating ( #13643 )
...
This enforces the fog_distance (if set) at the server, so that a hacked client could not cheat and retrieve blocks beyond the set distance.
2023-07-06 09:36:46 -07:00
Gregor Parzefall
26453df2f7
Don't crash if a Lua error occurs inside get_staticdata
2023-07-03 20:34:02 +02:00
ROllerozxa
d71872af23
Fix texture paths for system-installed builds
...
* window icon
* custom touchscreen checkbox sprites
2023-07-03 20:31:03 +02:00
Lars Müller
25ef8f3934
Fix local animations not resetting
...
Converts `LocalPlayerAnimation` to a scoped enum to prevent such bugs in the future
2023-07-02 12:47:18 +02:00
Muhammad Rifqi Priyo Susanto
ff498fc206
Android: Reliably showing an IME for text input dialog ( #13521 )
...
This commit is inspired by this blog post: https://developer.squareup.com/blog/showing-the-android-keyboard-reliably/
2023-07-01 14:00:30 +07:00
lhofhansl
0ade097e99
Allow the server to control fog_distance and fog_start via the sky-api ( #13448 )
2023-06-30 19:11:17 -07:00
numzero
dde8f0e20a
Replace a non-aligned cuboid with a cylinder in client::ActiveObjectMgr::getActiveSelectableObjects
2023-06-29 18:58:10 +02:00
numzero
21035bf5d4
Add unit test on client::ActiveObjectMgr::getActiveSelectableObjects
2023-06-29 18:58:10 +02:00
numzero
d7291e0600
Update client::ActiveObjectMgr::getActiveSelectableObjects API
2023-06-29 18:58:10 +02:00
AFCMS
aaae9d5a77
Fix .clang-format
file config values
2023-06-29 18:57:55 +02:00
x2048
c09a3a52ac
Add antialiasing filters (FXAA, SSAA) ( #13253 )
2023-06-28 05:30:08 +02:00
sfan5
442d5fc75c
Add unit tests for isBlockInSight()
2023-06-26 22:51:49 +02:00
numzero
3b74cc4a41
Replace PP with direct printing
2023-06-26 22:51:32 +02:00
numzero
de77fe8ade
Allow printing irr::core::vector[23]d directly to an std::ostream
2023-06-26 22:51:32 +02:00
Vitaliy
2f6a9d12f1
Allow running individual unit tests
2023-06-25 11:13:48 +02:00
Vitaliy
aada2403c9
Try all known video drivers if the requested one fails to initialize
2023-06-25 11:13:23 +02:00
LoneWolfHT
35ad3dabab
Fix MSVC github action
2023-06-24 20:38:31 +02:00
s20
4fb6754903
Adding gettext in the compilation dependency packages list
2023-06-24 20:38:11 +02:00
Gregor Parzefall
7e51e2dea6
Fix compiler error on MSVC with ENABLE_TOUCH=TRUE
2023-06-24 20:37:59 +02:00
sfan5
84fb663d6c
Add VoxelArea::intersect()
2023-06-23 09:05:26 +02:00
sfan5
659828b142
Rename ModApiEnvMod and ModApiItemMod
...
The 'mod' could have meant module in the past but no other classes do this.
2023-06-23 09:05:26 +02:00
sfan5
610578e3e2
Use swapNode for set_node_level and add_node_level
...
While this is a behaviour change I don't think the old one made any sense.
It's possible that someone hit this before and wrote a workaround for it,
they won't be affected by this change.
It only makes things work that didn't before.
2023-06-23 09:05:26 +02:00
sfan5
62629939ff
Genericize find_node_near and find_node_in implementations in C++
2023-06-23 09:05:26 +02:00
sfan5
20b10b5691
Refactor EmergeParams owner
2023-06-23 09:05:26 +02:00
sfan5
32ff832108
Save Lua globals after mod loading
...
These are used for the async env currently and will be needed elsewhere soon.
2023-06-23 09:05:26 +02:00
sfan5
4fdd2dec59
Move core.run_callbacks and related to common folder
2023-06-23 09:05:26 +02:00
sfan5
524d446757
Minor script api fixes/cleanups
2023-06-23 09:05:26 +02:00
wsor4035
5b6bc8a12b
Remove unsupported media formats from client.cpp
2023-06-22 17:52:48 +02:00
LoneWolfHT
6a328197a5
MSVC CI job: Compile with gettext and LuaJIT
2023-06-22 17:52:35 +02:00
Gregor Parzefall
03ffc2618c
TouchScreenGUI: Add an exit / "ESC" button to the rare controls bar ( #13574 )
2023-06-22 17:50:36 +02:00
numzero
7c26cb1c35
Drop unused tile rotations
2023-06-22 17:50:20 +02:00
numzero
1102f92dac
Use a enum for tile rotation
2023-06-22 17:50:20 +02:00
numzero
729671d6ae
In getNodeTile, use a descriptive struct for the lookup table
2023-06-22 17:50:20 +02:00
numzero
d676520526
Optimize trigonometry out of MapblockMeshGenerator::drawCuboid
2023-06-22 17:50:20 +02:00
numzero
c29d897854
Optimize trigonometry out of MapblockMeshGenerator::drawLiquidTop
2023-06-22 17:50:09 +02:00
numzero
b8ddde0a96
Store liquid data as dimensionless fractions instead of BS multiplies
2023-06-22 17:50:09 +02:00
Vitaliy
43c9647fe5
Use absolute URL for the roadmap ( #13617 )
2023-06-21 16:00:04 +07:00
Desour
03dda13910
OpenALSoundManager: Fix a buffer overflow
2023-06-20 20:54:39 +02:00
AFCMS
531122ee86
Add .fleet folder to gitignore ( #13611 )
2023-06-20 22:00:15 +07:00
lhofhansl
8f25f487fe
Instrument touchMapBlocks and block loading/deserialization. ( #13314 )
2023-06-19 16:59:08 -07:00
Vitaliy
f1feeb319c
Cull liquid back face on liquid-glasslike interface ( #13594 )
2023-06-18 13:52:14 -07:00
DS
edcbfa31c9
Sound refactor and improvements ( #12764 )
2023-06-16 20:15:21 +02:00
Wuzzy
8e1af25738
DevTest: Add example nodes for disable_descend
2023-06-16 20:14:08 +02:00
Wuzzy
6b3deaa170
Add disable_descend to disable active node sinking
2023-06-16 20:14:08 +02:00
Muhammad Rifqi Priyo Susanto
a4e69d6843
TouchScreenGUI: Read coordinates directly for virtual joystick ( #13567 )
...
The movement's direction and speed are calculated directly from the button's relative screen coordinate. The previous method was to trigger the movement using a keyboard event.
The only virtual joystick status left is Aux1 button.
---------
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2023-06-16 22:40:16 +07:00
Desour
c549e84abb
Silence a -Wsign-compare warning for invlist indices
2023-06-15 13:55:20 +02:00
Desour
dade95e142
Fix curl deprecation warnings, and set minimum curl version to 7.56.0
2023-06-15 13:55:20 +02:00
Desour
f947e2afec
Fix some gcc -Wself-move warnings
2023-06-15 13:55:20 +02:00
Desour
6a05d63993
Use [[noreturn]]
2023-06-15 10:38:44 +02:00
Desour
5e6d144567
Enable -Wimplicit-fallthrough and use [[fallthrough]] attribute
2023-06-15 10:38:44 +02:00
Desour
9c348d057e
Replace the old STATIC_ASSERT macro with static_assert
2023-06-15 10:38:44 +02:00
Desour
8b108ed5f2
Use nicer syntax for nested namespace definitions
2023-06-15 10:38:44 +02:00
Desour
e700182f44
Replace Optional with std::optional
2023-06-15 10:38:44 +02:00
Desour
34ad551efc
Use MutexAutoLock for Thread::m_start_finished_mutex
2023-06-15 10:38:44 +02:00
Desour
5d863d7e9c
Bump C++ std to 17
2023-06-15 10:38:44 +02:00
Desour
28766d1879
Bump minimum gcc and clang versions
2023-06-15 10:38:44 +02:00
Pascal Abresch
ba80d1ce1f
Implement check_offset for decorations
2023-06-15 10:36:46 +02:00
DS
c91182e1b3
Move the platform-dependent stuff in renderingengine.cpp to irrlicht ( #13348 )
2023-06-11 14:17:39 +02:00
DS
553dc02deb
Fix some memleaks from GUIButtonImage ( #13564 )
...
* `m_foreground_image` was grabbed, but not dropped in the destructor.
* `m_image` was created with new. It is grabbed by itself and by the env (not only by the env!, so it's an owning ptr). This owning ptr also was never dropped.
2023-06-06 19:01:32 +02:00
Desour
1b51ff333a
Use unique_ptr for ServerInventoryManager::DetachedInventory::inventory
2023-06-05 20:43:33 +02:00
Desour
1780d1bbde
Use unique_ptrs for MapSector::m_blocks
2023-06-05 20:43:33 +02:00
Desour
08ea467bfe
Use unique_ptr for g_httpfetch_thread
2023-06-05 20:43:33 +02:00
Desour
cfb1b879e0
Use unique_ptrs for CurlFetchThread::m_all_ongoing
2023-06-05 20:43:33 +02:00
Desour
d0bcdff5ce
Use unique_ptrs for leveldb db and iterators
2023-06-05 20:43:33 +02:00
Zughy
8445c5fe60
Extend roadmap approval time from one week to one month
2023-06-05 12:02:59 +02:00
Gregor Parzefall
a1463263b5
Auto-detect locale on Android ( #13561 )
2023-06-05 12:02:10 +02:00
Gregor Parzefall
a857c46e6e
Make the settings GUI more usable on Android ( #13543 )
2023-06-05 12:01:54 +02:00
Desour
d9f478cbfb
Remove a misleading MutexAutoLock in l_to_table
...
The temporary is immediately destructed, so the mutex isn't locked
after the line.
Removed the lock, because the Settings member-functions used by
push_settings_table lock the mutex and are thread-safe, but would
cause a dead-lock.
2023-06-05 12:01:08 +02:00
OgelGames
252c79d53a
Inventory mouse shortcut improvements ( #13146 )
...
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
2023-06-05 12:00:32 +02:00
mazes-80
23f7aab354
Item Entity: prevent moveresult assert when attached ( #13353 )
2023-06-05 12:00:11 +02:00
Gregor Parzefall
e5a5d5a672
Fix various cases of double-escaped error messages
2023-06-05 11:59:37 +02:00
Riley Adams
29b7aea38b
Cavegen y biome check ( #13472 )
2023-06-05 11:59:22 +02:00
sfan5
1ef9fc9d1f
Bump used IrrlichtMt version
2023-06-04 20:36:46 +02:00
Muhammad Rifqi Priyo Susanto
7221de6ede
Option to invert direction or disable mouse wheel for hotbar item selection
...
More changed callbacks for the settings are added in readSettings(). Those are also deregistered when the Game object is destroyed.
2023-05-31 12:40:00 +07:00
Treer
8cd1296049
Add additional texture modifiers ( #10100 )
...
* Adjust hue, saturation, and lightness
* Colorize using hue, saturation, and lightness
* Adjust contrast & brightness
* Hard light
* Overlay
* Screen
* Create texture of a given size and color
2023-05-29 20:17:39 +01:00
lhofhansl
a8ec6092e2
Load blocks and objects behind player when in third-persion front-view ( #13431 )
2023-05-29 10:26:42 -07:00
Gregor Parzefall
fc3d6c1dd9
Place nodes with single tap on Android (+ bugfix) ( #13187 )
...
Don't place nodes when closing button bars.
Update docs (also in-game).
Rename "Default controls" -> "Controls" in Android pause menu since players can't change them (normally), so calling them "default" doesn't make sense.
2023-05-29 12:30:30 +07:00
lhofhansl
6832bf044e
Avoid jittering when player is attached ( #12439 )
...
* Avoid very jittering when player is attached.
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Vitaliy <numzer0@yandex.ru>
2023-05-28 11:36:34 -07:00
ROllerozxa
394dd9ffa5
Fix settings dialog not resetting filter when closed ( #13513 )
2023-05-27 15:35:01 +01:00
sfan5
8cccd75e81
Android build via CMake ( #13528 )
...
* the thing
* the thing 2
2023-05-26 15:21:23 +02:00
Thresher
00c647e4cc
Convert spaces to tabs ( #13506 )
...
* Convert spaces to tabs
* Desour reviews 1-3 fix
* Desour fixes
* Undo alignment changes
2023-05-26 15:13:57 +02:00
ROllerozxa
f4cb16cc2d
Disable desynchronize_mapblock_texture_animation
by default ( #13514 )
2023-05-26 13:48:37 +02:00
Zughy
d6eb6ff973
Reset player lighting when passing no arguments ( #13525 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2023-05-26 13:47:16 +02:00
Zughy
b60d38b7f9
Reset day/night ratio even when passing no arguments ( #13524 )
...
* reset day_night_ratio when passing zero fields
* Update lua_api.md
---------
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2023-05-26 13:45:42 +02:00
Thresher
180ec92ef9
Remove trailing whitespace ( #13505 )
2023-05-18 20:34:18 +02:00
SmallJoker
95a9f4ab7c
Inventory: Allow InvRef:set_list with new_size >= old_size ( #13497 )
...
Fixes a regression introduced by enforced checks to work with
valid pointers within inventory actions.
2023-05-18 20:32:55 +02:00
Gregor Parzefall
f393214fef
Settings menu improvements regarding default values ( #13489 )
...
The reset button now removes the setting from minetest.conf instead of setting it to its default value.
The reset button is now shown whenever a value is present in minetest.conf
Float settings now get a .0 suffix if they have no decimal places.
2023-05-18 20:32:26 +02:00
savilli
5ba70cf5ef
Fix crash on handling wallmounted nodes with invalid param2 ( #13487 )
2023-05-18 20:31:04 +02:00
Zemtzov7
35112f2453
Disable vertical movement when both jump and sneak keys are pressed ( #13426 )
2023-05-18 20:30:21 +02:00
Gregor Parzefall
15fb4cab15
Fix Android segfault when game exits before TouchScreenGUI is initalized
2023-05-11 22:51:16 +02:00
sfan5
15445a0fbe
Raise and clean up _WIN32_WINNT constant
2023-05-11 22:51:01 +02:00
Wuzzy
80574cdbe8
Fix rotation of 4dir in schematic placement ( #13432 )
2023-05-11 22:50:52 +02:00
Stvk imension
3de54039ae
Document Android controls ( #13061 )
2023-05-11 22:50:38 +02:00
Buckaroo Banzai
65692ad1b5
Add min/max protocol version to minetest.get_version()
( #13482 )
2023-05-06 16:16:21 +01:00
rubenwardy
bc4fc6d648
Fix shadows dropdown and clean up shader settings ( #13481 )
2023-05-03 22:28:02 +01:00
rubenwardy
ad37df7f2e
Fix crash when multiple mods with the same name provide settings
2023-05-01 21:39:12 +01:00
rubenwardy
d35672e78e
Redesign/unify mainmenu settings interface
2023-05-01 17:11:41 +01:00
Zughy
a421a1d764
Add setting icons
2023-05-01 17:11:41 +01:00
DS
bec9c68bf3
Release invlist resizelock while doing the recursive callback in move_somewhere mode ( #13470 )
...
Fixes a crash in popular creative inventory mods that set the list when you put
something into trash.
2023-04-30 18:20:48 +02:00
lhofhansl
b35aa10579
Guarantee ActiveObjectMgr::m_active_object is not modified while iterating ( #13468 )
...
Currently if a mod creates new active objects in on_deactivate the server could crash.
2023-04-28 11:17:48 -07:00
Desour
7f6b09dce8
Use json forward-declarations
2023-04-27 18:50:33 +02:00
Desour
8b73743baa
Reduce number of recursively included headers
...
This should improve compilation speed.
Things changed:
* Prefer forward-declarations in headers.
* Move header-includes out of headers if possible.
* Move some functions definitions out of headers.
* Put some member variables into unique_ptrs (see Client).
2023-04-27 18:50:33 +02:00
Desour
e9e8eed360
GUIChatConsole: Use primary selection
2023-04-27 18:50:17 +02:00
Desour
062b4d036a
GUIEditBox: Use primary selection
2023-04-27 18:50:17 +02:00
AFCMS
d197ff0f9d
Use Lua code blocks in lua_api.md
2023-04-26 20:09:08 +02:00
rubenwardy
9c90358912
Split compilation instructions from README.md ( #13457 )
2023-04-25 21:02:02 +01:00
SmallJoker
0fb6dbab36
InventoryManager: Disallow resizing or deleting inventory lists that are in use ( #13360 )
...
Naive solution to prevent InventoryList UAF and OOB ItemStack access caused by shrink/clear operations on InventoryLists within callbacks of an inventory action.
Co-authored-by: Desour <ds.desour@proton.me>
2023-04-22 17:42:36 +02:00
rubenwardy
4158b72971
Add ability to override item images using meta ( #12614 )
2023-04-17 19:44:41 +01:00
rubenwardy
8c2c7fadbf
Add lua_api.txt to point to new file
2023-04-16 20:23:53 +01:00
rubenwardy
b1786e88ac
Use .md extension for markdown files
...
Linking to line numbers is brittle, linking to sections/headings is better.
If you still want to link to a line number, you can append ?plain=1 to GitHub's URL
2023-04-16 20:23:53 +01:00
rubenwardy
5cd6a22dd3
Update settingtypes ( #13428 )
...
* Move settings to correct sections
* Improve titles and descriptions
* Make defaults in settingtypes.txt and defaultsettings.cpp match
Fixes #9002
2023-04-14 22:32:25 +01:00
rubenwardy
b89077187b
Fix ContentDB page not being reset when changing type
...
Fixes #13362
2023-04-14 20:34:03 +01:00
rubenwardy
c5fb50298a
Prevent installing mods when there is no base game ( #13429 )
2023-04-14 20:23:25 +01:00
Desour
ccd696c49a
Throw Hocroft-Karp onto shapeless recipes
2023-04-14 21:10:09 +02:00
Desour
50e91b882c
Add some simple unittests for shapeless recipes
...
Note: devtest also has craft unittests (see devtest/mods/unittests/crafting.lua),
but those aren't run at load-time.
2023-04-14 21:10:09 +02:00
DS
ae7271b725
Fix background[] pos-offset lower-right-corner being at least (1,1) ( #13320 )
...
IGUIElement has a MinSize for the RelativeRect, which is at least (1,1).
This means a pos offset of (0,0) will cause a seemingly off-by-1 error at the
lower right corner, and (0.1,0.1) for example will just not work on the lower
right corner.
Ergo, we can't use the AbsoluteRect for storing the pos offset.
2023-04-14 21:05:09 +02:00
DS
d49d80a4a0
Store whether window is maximized ( #12861 )
2023-04-14 21:04:03 +02:00
cat-master21
0b08e1b1d2
AppImageBuilder.yml: add script section and update to Jammy ( #13078 )
2023-04-14 13:00:20 +01:00
Lars
f9b1176fa9
Track server's max AsyncRunStep
2023-04-14 00:09:48 +01:00
Lars
3d232e2345
Add MAX profiler option
2023-04-14 00:09:48 +01:00
rubenwardy
9d1ae80e89
Add focused styling to buttons ( #13414 )
2023-04-14 00:09:29 +01:00
Gregor Parzefall
2a1bc82887
Fix black loading screen background if menu_clouds = false
( #13322 )
2023-04-13 18:12:48 +01:00
Wuzzy
d1e5dbefc7
Clarify documentation of punch key ( #13238 )
2023-04-13 18:12:26 +01:00
Desour
fc116ec950
Play object footstep sound at feet
2023-04-13 18:12:13 +01:00
Desour
7283d2495f
Devtest: Add bigfoot for footstep sounds
2023-04-13 18:12:13 +01:00
Zardshard
e139749b5c
Simulate all keys being released when when game loses focus ( #13336 )
2023-04-13 18:06:21 +02:00
sfan5
fe75ec8d0d
Update dependency libraries in buildbot
2023-04-13 18:05:39 +02:00
AFCMS
68f81ace97
Add vector.in_area()
utility function ( #13390 )
2023-04-12 10:46:26 +01:00
rubenwardy
2fc7eb3ea2
Remove formspec_default_bg_color/opacity settings ( #13419 )
...
These settings are unnecessary. They only apply when formspecs don't have a background/bgcolor set. In practice, most games do theme their GUIs. Removing low value settings simplifies code and improves UX by decluttering the settings menu
Split out from #12140
2023-04-11 19:57:36 +01:00
Desour
1dd13da37d
Get rid of global dummySoundManager
...
There is no need for this to be globally unique.
2023-04-11 20:06:15 +02:00
Desour
b201c03625
Use smart-ptrs in GUIEngine
2023-04-11 20:06:15 +02:00
Desour
ceec560779
Add make_irr
2023-04-11 20:06:15 +02:00
Stvk imension
d39a07efea
Android: Minor Code Improvements ( #13342 )
2023-04-10 23:05:01 +01:00
Riley Adams
73391013f7
Add node pos to node damage HP change reason ( #13196 )
2023-04-10 23:04:52 +01:00
David Leal
1d88d85f1c
Add progress_bar.png
and progress_bar_bg.png
to LICENSE file
2023-04-10 19:57:41 +02:00
Lars
4a742be73e
Do not call updateDrawList, updateDrawListShadow, and touchMapBlocks in the same frame
2023-04-09 07:10:17 -10:00
Lars
8982998681
Add a default direction light for shadows
2023-04-09 07:10:17 -10:00
sfan5
9d736e8b8b
Drop ENABLE_GLES option
...
ENABLE_GLES predates forking Irrlicht. Its primary use was to distinguish Irrlicht-ogles from upstream version as Minetest could be compiled with either.
That's not necessary anymore and gets in the way sometimes.
2023-04-08 20:19:35 +02:00
sfan5
c26e122485
Move video_driver default selection to runtime
2023-04-08 20:19:35 +02:00
Desour
67068cfaf4
Get rid of wgettext
2023-04-08 20:17:50 +02:00
Vitaliy
35929d27e3
Remove fast faces ( #13216 )
...
Co-authored-by: Lars <larsh@apache.org>
2023-04-08 20:17:15 +02:00
sfan5
c2a9ac24ac
Continue with 5.8.0-dev
2023-04-08 18:05:03 +02:00
sfan5
1b95998d11
Bump version to 5.7.0
2023-04-08 18:04:52 +02:00
Артём Котлубай
cc29bb473d
Translated using Weblate (Russian)
...
Currently translated at 99.1% (1343 of 1355 strings)
2023-04-08 17:37:31 +02:00
Денис Савченко
bdebacd3a5
Translated using Weblate (Ukrainian)
...
Currently translated at 54.8% (743 of 1355 strings)
2023-04-08 17:37:31 +02:00
Timofey Bezruchenko
036d08fb70
Translated using Weblate (Russian)
...
Currently translated at 99.1% (1343 of 1355 strings)
2023-04-08 17:37:31 +02:00
waxtatect
803a57a490
Translated using Weblate (French)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:31 +02:00
dreigiau
f2433c7b63
Translated using Weblate (Welsh)
...
Currently translated at 17.4% (237 of 1355 strings)
2023-04-08 17:37:31 +02:00
Walter Bulbazor
f9376ac763
Translated using Weblate (Occitan)
...
Currently translated at 23.6% (320 of 1355 strings)
2023-04-08 17:37:30 +02:00
109247019824
6885fd4fd0
Translated using Weblate (Bulgarian)
...
Currently translated at 33.1% (449 of 1355 strings)
2023-04-08 17:37:30 +02:00
Marian
cee1c5d11d
Translated using Weblate (Slovak)
...
Currently translated at 99.3% (1346 of 1355 strings)
2023-04-08 17:37:30 +02:00
Артём Котлубай
22041c5e8a
Translated using Weblate (Russian)
...
Currently translated at 99.0% (1342 of 1355 strings)
2023-04-08 17:37:30 +02:00
Julien Maulny
f0fcc150d0
Translated using Weblate (French)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:30 +02:00
dreigiau
469a2eb4a4
Added translation using Weblate (Welsh)
2023-04-08 17:37:30 +02:00
Rodion Borisov
7ae5c91d62
Translated using Weblate (Russian)
...
Currently translated at 98.9% (1341 of 1355 strings)
2023-04-08 17:37:30 +02:00
waxtatect
051102cde0
Translated using Weblate (Spanish)
...
Currently translated at 88.4% (1199 of 1355 strings)
2023-04-08 17:37:30 +02:00
Giov4
76b61f07c9
Translated using Weblate (Italian)
...
Currently translated at 96.1% (1303 of 1355 strings)
2023-04-08 17:37:30 +02:00
Wuzzy
52956464a5
Translated using Weblate (German)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:30 +02:00
grreby
046ca78dfa
Translated using Weblate (Czech)
...
Currently translated at 68.1% (924 of 1355 strings)
2023-04-08 17:37:30 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
aa28084604
Translated using Weblate (Malay (Jawi))
...
Currently translated at 58.2% (789 of 1355 strings)
2023-04-08 17:37:30 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
a3a4640257
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:30 +02:00
BreadW
87b3e9cc5f
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:30 +02:00
Muhammad Rifqi Priyo Susanto
4083fcf93a
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:30 +02:00
waxtatect
1036c2a639
Translated using Weblate (French)
...
Currently translated at 100.0% (1355 of 1355 strings)
2023-04-08 17:37:30 +02:00
sfan5
7bfea9b0fe
Disable ubuntu-18.04 CI workflows
...
the base image has been removed by Github, we can see how to fix these later
2023-04-08 17:27:28 +02:00
SmallJoker
ba2fee0751
Particle spawner: Fix missing parameters
...
The changes done to clientpackethandler.cpp and server.cpp move the
compatibility code into a protocol version check so that older code
parts can easily be removed in the future (e.g. bump of minimal version).
2023-04-08 17:23:17 +02:00
SmallJoker
f8e0778fc9
Particle spawner: Move definitions to source
...
Long functions were moved to the source file to keep the header
short to speed up compiling. This has no functional change.
2023-04-08 17:23:17 +02:00
SmallJoker
9c9309cdbb
Lua API: Catch serialization error for chat messages ( #13337 )
...
Prevents server errors caused by too long chat messages from the Lua API.
2023-04-07 12:49:35 +02:00
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 2a8becd650
.
2023-04-03 13:57:05 -07:00
SmallJoker
1c1f1b1615
Revert "Enable connected glass by default ( #13242 )"
...
This reverts commit a93f3542d9
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
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
6f53af2416
Translated using Weblate (Malay (Jawi))
...
Currently translated at 55.7% (753 of 1350 strings)
2023-03-09 15:31:35 +01:00
gnu-ewm
7e22d472a3
Translated using Weblate (Polish)
...
Currently translated at 83.3% (1125 of 1350 strings)
2023-03-09 15:31:35 +01:00
Pexauteau Santander
ecb1bd7ac8
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:35 +01:00
Jakub Z
78d5c95006
Translated using Weblate (Polish)
...
Currently translated at 83.3% (1125 of 1350 strings)
2023-03-09 15:31:35 +01:00
ROllerozxa
36c5ea2d5d
Translated using Weblate (Swedish)
...
Currently translated at 66.2% (894 of 1350 strings)
2023-03-09 15:31:35 +01:00
waxtatect
cd0801a4fa
Translated using Weblate (French)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:35 +01:00
Kristian
fb7bfb62d8
Translated using Weblate (Danish)
...
Currently translated at 52.8% (713 of 1350 strings)
2023-03-09 15:31:35 +01:00
Filip
bc2d863492
Translated using Weblate (Danish)
...
Currently translated at 52.5% (710 of 1350 strings)
2023-03-09 15:31:35 +01:00
Kristian
87d3c773bf
Translated using Weblate (Danish)
...
Currently translated at 52.5% (710 of 1350 strings)
2023-03-09 15:31:35 +01:00
Filip
22350290c5
Translated using Weblate (Danish)
...
Currently translated at 51.7% (698 of 1350 strings)
2023-03-09 15:31:35 +01:00
Kristian
9cb12e3565
Translated using Weblate (Danish)
...
Currently translated at 51.4% (695 of 1350 strings)
2023-03-09 15:31:35 +01:00
Filip
34097e3a6f
Translated using Weblate (Danish)
...
Currently translated at 50.1% (677 of 1350 strings)
2023-03-09 15:31:35 +01:00
Kristian
cbe35af9c9
Translated using Weblate (Danish)
...
Currently translated at 50.1% (677 of 1350 strings)
2023-03-09 15:31:35 +01:00
Gao Tiesuan
1ca1ea2ca9
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.5% (1222 of 1350 strings)
2023-03-09 15:31:35 +01:00
AFCMS
bf7478b0a8
Translated using Weblate (French)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:35 +01:00
BreadW
611f6b0cff
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:35 +01:00
Apika Luca
c1d2c0d4ec
Translated using Weblate (Spanish)
...
Currently translated at 86.3% (1166 of 1350 strings)
2023-03-09 15:31:35 +01:00
CouldBeMathijs
1e4b6ba1a3
Translated using Weblate (Dutch)
...
Currently translated at 89.7% (1212 of 1350 strings)
2023-03-09 15:31:35 +01:00
109247019824
880c2ecb3b
Translated using Weblate (Bulgarian)
...
Currently translated at 32.5% (440 of 1350 strings)
2023-03-09 15:31:34 +01:00
Marian
a5a991576f
Translated using Weblate (Slovak)
...
Currently translated at 99.7% (1346 of 1350 strings)
2023-03-09 15:31:34 +01:00
Linerly
b37886375f
Translated using Weblate (Indonesian)
...
Currently translated at 98.1% (1325 of 1350 strings)
2023-03-09 15:31:34 +01:00
waxtatect
7fa9dbccf3
Translated using Weblate (French)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:34 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
0fbdc58303
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:34 +01:00
Артём Котлубай
15239d1449
Translated using Weblate (Russian)
...
Currently translated at 99.7% (1347 of 1350 strings)
2023-03-09 15:31:34 +01:00
Wuzzy
6fd412c745
Translated using Weblate (German)
...
Currently translated at 100.0% (1350 of 1350 strings)
2023-03-09 15:31:34 +01:00
lhofhansl
1f0d042377
Reduce server CPU consumed by occlusion culling. ( #13260 )
...
Cache blocks already occluded at a specific distance. The RemoteClient typically visits the same distance multiple time - especially at larger distances, so this saves significant CPU from recalculating the occlusion state of blocks.
2023-03-05 21:33:41 -08:00
sfan5
9ef3c8ce38
Increase used IrrlichtMt version
2023-03-05 22:00:27 +01:00
Thomas Laubrock
4f06df719d
Kubernetes: Deployments are stable since v1.16
...
https://kubernetes.io/docs/reference/using-api/deprecation-guide/#deployment-v116
K8s Version v1.16 doesn't allow `extensions/v1beta1` as API version.
2023-03-05 15:10:22 +01:00
ROllerozxa
c91f3f99fd
Minor adjustments now that OpenGLES 2 is the default driver on Android ( #12391 )
2023-03-05 15:07:40 +01:00
SmallJoker
847ed04e0a
Tile: Fix segfault caused by invalid PNG data
2023-03-05 14:41:55 +01:00
Lars
e66e583f5e
Remove accidental emacs files.
2023-03-03 17:51:45 -08:00
lhofhansl
dcf6a6a67b
Log server map send cycle time. ( #13259 )
...
* Measure server map send time per player.
2023-03-03 17:41:30 -08:00
sfan5
915befecc5
Re-enable verbose logging on Android
...
Without recompiling, there's no way to see it in logcat otherwise.
2023-03-02 19:57:18 +01:00
sfan5
fee2e3ee27
Fix task ordering and more in Gradle Android build
2023-03-02 19:57:18 +01:00
PrairieWind
a93f3542d9
Enable connected glass by default ( #13242 )
2023-03-02 19:56:55 +01:00
lynx197
8c7276c9d4
Add git installation steps for Arch/Alpine to README
2023-03-01 09:09:58 +01:00
DS
514bf3582c
Document that item_image_button[] name is non-optional
2023-03-01 09:09:29 +01:00
numzero
d6be6682ec
Drop dependency on IrrCompileConfig
...
The only remaining thing is IRRLICHT_SDK_VERSION via irrlicht.h
2023-03-01 09:06:23 +01:00
rubenwardy
39f4d26177
Add minetest.get_player_window_information() ( #12367 )
2023-02-27 22:58:41 +00:00
lhofhansl
fbbdae93ee
Fix for #13255 : Check if client has a block even if the server has unloaded it. ( #13256 )
2023-02-27 09:57:03 -08:00
lhofhansl
fe3ea090d1
Don't expire blocks visible to the client. ( #13255 )
2023-02-26 14:18:18 -08:00
sofar
2083252c05
Sky: transmit body_orbit_tilt to client. ( #13193 )
...
This obsoletes the current client-side setting entirely. The server can
transmit the tilt to the client directly and will send 0.0f as default
value.
Co-authored-by: x2048 <codeforsmile@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2023-02-26 01:08:33 +01:00
DS
6e1c70e02b
Fix a -Wreorder warning
2023-02-22 11:06:48 +01:00
lhofhansl
63c378fb5b
Reduce client's packet processing budget per iteration from 100 to 10ms. ( #13237 )
2023-02-21 16:33:21 -08:00
x2048
2553db5c81
Fix rounding errors when slicing the shadow draw list ( #13226 )
2023-02-20 21:01:05 +01:00
Alex
af4009d924
Add chat HUD flag ( #13189 )
2023-02-20 21:00:37 +01:00
sofar
cf19167e99
Add jpeg and png libraries to the Fedora DNF install hint. ( #13191 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2023-02-19 00:52:30 +00:00
paradust7
aa5dc0968b
Fix typo and missing entry in serveropcodes
2023-02-18 16:47:08 +01:00
sfan5
3bafbaac49
Remove dead code behind Irrlicht version checks
2023-02-18 16:46:51 +01:00
Vitra Suchovich
2dafce6206
Say /setpassword is insecure
2023-02-18 00:04:52 +01:00
jordan4ibanez
0e721f7571
lua_api.txt: Explain what a float range is
2023-02-18 00:03:50 +01:00
Muhammad Rifqi Priyo Susanto
c1e430ef68
Android: Increase minimum SDK version to 21
...
Target/compiled SDK version is increased to 33.
Build Tools, NDK, and Gradle are also updated.
2023-02-18 00:03:28 +01:00
20kdc
75e6cc190a
Source image tracking in tile generation ( #12514 )
2023-02-18 00:03:03 +01:00
lhofhansl
2a8becd650
Add mesh-holding blocks to shadow drawlist. ( #13203 )
...
When mesh chunking and shadows are enabled, make sure that the mesh-holding blocks are added to the shadow drawlist.
Otherwise those portions of the shadows will not be rendered.
2023-02-16 15:43:08 -10:00
x2048
4cd6b773bb
Fix no color values on bloom texture ( #13197 )
...
Align meaning of 'exposure' variable across different stages
Put 'exposure' variable behind ENABLE_AUTO_EXPOSURE
2023-02-10 21:04:37 +01:00
lhofhansl
d3a6ee00e6
Generalize mesh chunking, and make it configurable. ( #13179 )
...
* Generalize mesh chunking. Set 3x3x3 chunks.
* Make mesh chunk size configurable... Default to 1 (off).
* Extract all mesh grid maths into a dedicated class
---------
Co-authored-by: x2048 <codeforsmile@gmail.com>
2023-02-08 13:42:12 -08:00
lhofhansl
56d2567b5d
Separate drawlist from non-rendered blocks. ( #13176 )
2023-02-01 08:41:23 -08:00
kab0u
8bbb673c0b
Improve the documentation for chat command definition in lua_api.txt ( #13168 )
2023-01-31 17:31:48 +01:00
x2048
69fc206109
8x block meshes ( #13133 )
...
Reduce the number of drawcalls by generating a mesh per 8 blocks (2x2x2). Only blocks with even coordinates (lowest bit set to 0) will get a mesh.
Note: This also removes the old 'loops' algorithm for building the draw list, because it produces visual artifacts and cannot be made compatible with the approach of having a mesh for every 8th block without hurting performance.
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
Co-authored-by: Lars <larsh@apache.org>
Co-authored-by: sfan5 <sfan5@live.de>
2023-01-31 17:30:59 +01:00
lhofhansl
cded6a3945
Display whole profiler numbers up to 999999 without scientific notation. ( #13155 )
2023-01-24 17:40:23 -08:00
x2048
b8aaad4f1e
Remove the 'loops' occlusion culler ( #13169 )
2023-01-23 10:58:29 +01:00
DS
8478796226
Decrease minimum for repeat_place_time ( #13165 )
2023-01-23 00:20:12 +01:00
sfan5
87d509e462
Implement --debugger option to improve UX when debugging crashes ( #13157 )
2023-01-23 00:19:30 +01:00
x2048
6f5703baf1
Clear exposure compensation state textures on creation ( #13151 )
2023-01-23 00:18:48 +01:00
veprogames
cf5add1472
Use default values from cpp_api/s_env.cpp for register_abm in lua_api.txt ( #13163 )
2023-01-21 09:43:20 +01:00
maxchen32
47c8b5d57a
Fix a README mistake on option SPATIAL_LIBRARY ( #13162 )
2023-01-21 09:42:55 +01:00
x2048
ca13c51024
Fix concurrency in texture source ( #13150 )
2023-01-19 21:44:27 +01:00
Wuzzy
e21d5613a6
Change DevTest header (font = "undefined medium") ( #13147 )
...
Font downloaded from https://undefined-medium.com/
2023-01-16 20:16:45 +01:00
SmallJoker
ecd6d61697
Revisit F6 statistics formatting ( #13126 )
2023-01-16 20:16:23 +01:00
Muhammad Rifqi Priyo Susanto
a2a280691c
Fix Enter key after creating a new world ( #12997 )
...
Prevents Enter key or "double-click" event to play the world just after creating a new world
2023-01-16 20:16:08 +01:00
Jude Melton-Houghton
2f9f0c0900
Improve chat history ( #12975 )
2023-01-14 16:14:37 -05:00
sfan5
8fded9d990
Disable Prometheus in singleplayer mode
2023-01-14 13:11:15 +01:00
Jude Melton-Houghton
3992a13f24
Improve MetaDataRef:{get,set}_float
precision ( #13130 )
2023-01-12 15:40:34 -05:00
Jude Melton-Houghton
5f2925c59c
Increase ftos
precision ( #13141 )
2023-01-12 14:12:31 -05:00
Jude Melton-Houghton
956026bb6b
Break long lines of option help ( #13136 )
2023-01-12 14:12:05 -05:00
Jude Melton-Houghton
ab1fe80150
Error when string.split is given empty separator ( #13132 )
2023-01-10 09:25:48 -05:00
Wuzzy
a3177b89d8
DevTest: chest_of_everything
mod: Add search, bag, improve formspec ( #13064 )
2023-01-09 21:40:41 +01:00
x2048
139db66901
Remove mapblock cache for mesh generation. ( #13124 )
...
Reduces memory consumption and improves performance
2023-01-09 21:40:08 +01:00
Jude Melton-Houghton
d69cb4fb5d
Always set globals in __newindex ( #13131 )
2023-01-09 15:00:49 -05:00
ROllerozxa
d0b6f217ae
Add option to exclude Development Test from release packages ( #13081 )
...
* `INSTALL_DEVTEST` is the option name
2023-01-09 20:34:13 +01:00
ROllerozxa
390b5caaaa
Fix crash on Android with IrrlichtMt9 ( #13123 )
...
Caused by mouse control
2023-01-08 14:04:17 +01:00
iliekprogrammar
fb28ca463e
Clamp player wieldindex when processing hotbar item selection ( #13098 )
2023-01-08 14:03:16 +01:00
lhofhansl
55804c56e9
Report collisionMoveSimple for client and server. ( #13105 )
2023-01-07 16:31:31 -08:00
David Leal
d82d18bfb1
Replace minetest_game with "Minetest Game" where appropriate
2023-01-07 12:58:16 +01:00
Desour
d603619ad3
Devtest: Add jukebox
2023-01-06 22:38:35 +01:00
Desour
4685849f89
Devtest: Rename soundstuff init.lua
2023-01-06 22:38:35 +01:00
Desour
07624125ef
Devtest: Add branding iron
...
Allows giving names to objects.
2023-01-06 22:38:35 +01:00
ROllerozxa
bb74da5903
Remove old rollback migration code ( #13082 )
2023-01-06 22:35:20 +01:00
x2048
6d45c243f8
Add dynamic exposure correction ( #12959 )
...
* Add uniform for frame delta time
* Adjust exposure in logarithmic (EV) space
* Add network support and LUA API
* Add testing mod
2023-01-06 22:33:25 +01:00
x2048
2715cc8bf6
Occlusion culling algorithm based on recursive descend ( #13104 )
...
Co-authored-by: DS <vorunbekannt75@web.de>
2023-01-06 22:31:06 +01:00
sfan5
059f62d7d6
Use consistent optimization flags for *BSD
...
This was added for seemingly no reason in c410e9182d
(2014)
2023-01-05 23:09:51 +01:00
Awkanimus
0dbb20fd63
Document mod storage psql settings in world_format.txt
2023-01-05 21:59:08 +01:00
sfan5
6377ce921d
Bump used IrrlichtMt version
2022-12-31 12:48:53 +01:00
x2048
89e7f72c92
Use multiple threads for mesh generation ( #13062 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-12-27 18:44:18 +01:00
SmallJoker
03e710160f
Lua API: Document shader dependencies of set_lighting() ( #13079 )
2022-12-26 21:59:55 +01:00
lhofhansl
1e7804aaf6
Allow saturation to be controlled by the server. ( #13075 )
2022-12-25 16:15:32 -08:00
ROllerozxa
afd5caa26a
Fully remove pageflip 3D mode ( #13074 )
2022-12-25 10:57:39 -05:00
ROllerozxa
7f01471141
Fix join game tab being slightly shorter than the others ( #13073 )
2022-12-25 10:57:21 -05:00
Jean-Patrick Guerrero
33363c2a7e
Fix progress bar look on HiDPI displays ( #13055 )
2022-12-24 12:26:56 -05:00
Jude Melton-Houghton
d13b12b791
Store MapEditEvent
blocks in a vector ( #13071 )
2022-12-24 12:21:59 -05:00
Jude Melton-Houghton
5c248c2d7d
Add callback on_mapblocks_changed
2022-12-24 08:24:59 -05:00
Jude Melton-Houghton
7701e70dc9
Make MapEditEvent more complete
...
SetBlocksNotSent is no longer used.
2022-12-24 08:24:59 -05:00
ndren
62ee02b8ba
Set and unset relative mouse mode where necessary ( #12636 )
...
* Set and unset relative mouse mode where necessary
Co-authored-by: sfan5 <sfan5@live.de>
2022-12-24 09:38:30 +01:00
Gregor Parzefall
475f85fc91
Document the gain of auto-selected dig sounds
2022-12-21 13:29:43 +01:00
Jude Melton-Houghton
0fc97a1483
Use a Lua error handler that calls tostring ( #11913 )
2022-12-15 07:37:49 -05:00
Jude Melton-Houghton
1f3b5e553b
Fix plantlike_rooted
world-aligned node base textures ( #12994 )
...
Co-authored-by: Wuzzy <Wuzzy@disroot.org>
2022-12-12 08:45:09 -05:00
updatepo.sh
981d79157a
Update translation files
2022-12-10 15:38:30 +01:00
updatepo.sh
111d047b0a
Update minetest.conf.example
2022-12-10 15:35:46 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
024c99fc47
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
Артём Котлубай
219904dc54
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
Emmily
0bff85f7b0
Translated using Weblate (Esperanto)
...
Currently translated at 88.2% (1290 of 1462 strings)
2022-12-10 15:30:43 +01:00
runs
b30e0681a0
Translated using Weblate (Galician)
...
Currently translated at 97.2% (1422 of 1462 strings)
2022-12-10 15:30:43 +01:00
Mikitko
8cba08d423
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
waxtatect
6ae870b27d
Translated using Weblate (Spanish)
...
Currently translated at 88.6% (1296 of 1462 strings)
2022-12-10 15:30:43 +01:00
Muhammad Rifqi Priyo Susanto
f004432ec2
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
Nicolae Crefelean
5cfe76bb60
Translated using Weblate (Romanian)
...
Currently translated at 46.5% (680 of 1462 strings)
2022-12-10 15:30:43 +01:00
LL Productions FR
866fbf9149
Translated using Weblate (Esperanto)
...
Currently translated at 87.8% (1285 of 1462 strings)
2022-12-10 15:30:43 +01:00
Tianshu Feng
8660f90868
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.7% (1371 of 1462 strings)
2022-12-10 15:30:43 +01:00
Nyuh Nyash
569c83a8e7
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
runs
4a1ca5e16c
Translated using Weblate (Spanish)
...
Currently translated at 88.5% (1295 of 1462 strings)
2022-12-10 15:30:43 +01:00
Темак
49183e3555
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
Kisjuhász Attila
1fb1a9e211
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
Wuzzy
f858bb9a75
Translated using Weblate (German)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:43 +01:00
Alex B
fbe97a1b08
Translated using Weblate (Italian)
...
Currently translated at 96.2% (1407 of 1462 strings)
2022-12-10 15:30:43 +01:00
Gao Tiesuan
d1055aa8d8
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.5% (1339 of 1462 strings)
2022-12-10 15:30:43 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
1dde03dfec
Translated using Weblate (Malay (Jawi))
...
Currently translated at 61.1% (894 of 1462 strings)
2022-12-10 15:30:43 +01:00
Abdou-31
5240febeef
Translated using Weblate (Arabic)
...
Currently translated at 38.6% (565 of 1462 strings)
2022-12-10 15:30:43 +01:00
109247019824
c6aea54497
Translated using Weblate (Bulgarian)
...
Currently translated at 29.5% (432 of 1462 strings)
2022-12-10 15:30:43 +01:00
tryvseu
15aac97790
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 37.4% (547 of 1462 strings)
2022-12-10 15:30:43 +01:00
Bright Geyser
68493bd14a
Translated using Weblate (Lithuanian)
...
Currently translated at 15.5% (228 of 1462 strings)
2022-12-10 15:30:43 +01:00
Ács Zoltán
41960c0019
Translated using Weblate (Hungarian)
...
Currently translated at 98.7% (1443 of 1462 strings)
2022-12-10 15:30:43 +01:00
Ritwik
eb6c88f8c0
Translated using Weblate (Hindi)
...
Currently translated at 29.7% (435 of 1462 strings)
2022-12-10 15:30:43 +01:00
Hraponssi
928b6d659c
Translated using Weblate (Finnish)
...
Currently translated at 23.4% (343 of 1462 strings)
2022-12-10 15:30:43 +01:00
Jiri Grönroos
058bf1e6ec
Translated using Weblate (Finnish)
...
Currently translated at 23.4% (343 of 1462 strings)
2022-12-10 15:30:43 +01:00
daudiffa
7e793438a3
Translated using Weblate (Indonesian)
...
Currently translated at 98.2% (1437 of 1462 strings)
2022-12-10 15:30:43 +01:00
Văn Chí
c476bc3772
Translated using Weblate (Vietnamese)
...
Currently translated at 42.2% (618 of 1462 strings)
2022-12-10 15:30:43 +01:00
Davide Giuliano
5a9982b7e0
Translated using Weblate (Italian)
...
Currently translated at 96.3% (1408 of 1462 strings)
2022-12-10 15:30:43 +01:00
Yic95
08279a7565
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 75.5% (1104 of 1462 strings)
2022-12-10 15:30:43 +01:00
Simone Starace
baac5459c4
Translated using Weblate (Italian)
...
Currently translated at 95.2% (1393 of 1462 strings)
2022-12-10 15:30:43 +01:00
Pietro Cappuccino
4f77005614
Translated using Weblate (Italian)
...
Currently translated at 95.2% (1393 of 1462 strings)
2022-12-10 15:30:42 +01:00
Muhammad Rifqi Priyo Susanto
ee2d3bc293
Translated using Weblate (Indonesian)
...
Currently translated at 98.2% (1436 of 1462 strings)
2022-12-10 15:30:42 +01:00
ahdplayer
8797c5bea4
Translated using Weblate (Turkish)
...
Currently translated at 92.4% (1351 of 1462 strings)
2022-12-10 15:30:42 +01:00
Ian giestas pauli
9d6a2bda24
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Giov4
1cdd690630
Translated using Weblate (Italian)
...
Currently translated at 93.6% (1369 of 1462 strings)
2022-12-10 15:30:42 +01:00
Batkhuyag Bavuudorj
692163275d
Translated using Weblate (Mongolian)
...
Currently translated at 2.3% (35 of 1462 strings)
2022-12-10 15:30:42 +01:00
Andrei Stepanov
042c7490ed
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Kauã Maia
c1aed7b4d3
Translated using Weblate (Portuguese)
...
Currently translated at 98.4% (1439 of 1462 strings)
2022-12-10 15:30:42 +01:00
marcin
bebf1d1f3e
Translated using Weblate (Polish)
...
Currently translated at 80.6% (1179 of 1462 strings)
2022-12-10 15:30:42 +01:00
Adam Jagoda
db7151be53
Translated using Weblate (Polish)
...
Currently translated at 80.6% (1179 of 1462 strings)
2022-12-10 15:30:42 +01:00
Темак
e160505595
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Andrei Stepanov
9bfbe80d06
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Темак
4159b2860f
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Andrei Stepanov
c86adf87ae
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Batkhuyag Bavuudorj
fb738ae85a
Added translation using Weblate (Mongolian)
2022-12-10 15:30:42 +01:00
Walter Bulbazor
0aae94ba7e
Translated using Weblate (Occitan)
...
Currently translated at 14.3% (210 of 1462 strings)
2022-12-10 15:30:42 +01:00
Conight
73c8e1f03a
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.4% (1337 of 1462 strings)
2022-12-10 15:30:42 +01:00
Темак
3cd99d8e6d
Translated using Weblate (Russian)
...
Currently translated at 96.1% (1405 of 1462 strings)
2022-12-10 15:30:42 +01:00
Hugo Carvalho
3e6098f5c6
Translated using Weblate (Portuguese)
...
Currently translated at 97.7% (1429 of 1462 strings)
2022-12-10 15:30:42 +01:00
Artur Adamczyk
56fc164fdd
Translated using Weblate (Polish)
...
Currently translated at 77.5% (1134 of 1462 strings)
2022-12-10 15:30:42 +01:00
Andrés Morgensen
8f881b04f4
Translated using Weblate (Spanish)
...
Currently translated at 88.3% (1291 of 1462 strings)
2022-12-10 15:30:42 +01:00
Valentino
80c9c66e16
Translated using Weblate (Spanish)
...
Currently translated at 88.3% (1291 of 1462 strings)
2022-12-10 15:30:42 +01:00
waxtatect
5d68026c2d
Translated using Weblate (Spanish)
...
Currently translated at 88.3% (1291 of 1462 strings)
2022-12-10 15:30:42 +01:00
waxtatect
ed8dce4e72
Translated using Weblate (French)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-12-10 15:30:42 +01:00
Adam Jagoda
af8151d827
Translated using Weblate (Polish)
...
Currently translated at 76.2% (1115 of 1462 strings)
2022-12-10 15:30:42 +01:00
Jude Melton-Houghton
c18c082059
Prevent air acceleration with 0 jump speed ( #13036 )
2022-12-10 09:08:50 -05:00
Jude Melton-Houghton
1798ad0ec4
Avoid out-of-bounds memory access in attached node placement prediction ( #13038 )
2022-12-10 09:00:27 -05:00
sfan5
504e43e0da
Remove Irrlicht documentation URL from key settings ( #13010 )
2022-12-04 12:35:28 +01:00
sfan5
37386b9c3c
Expose dtime_s to LBM handler
2022-12-04 12:35:14 +01:00
Tamara Schmitz
aa3505a9e4
Add missing optional dependencies to Container Image ( #12914 )
2022-12-04 12:35:03 +01:00
Jude Melton-Houghton
b85831e389
Fix startup after removing last game ( #13015 )
2022-12-03 11:35:38 -05:00
Jude Melton-Houghton
291c42ed57
Let mods choose a forceload limit ( #13002 )
2022-12-03 10:41:45 -05:00
Jude Melton-Houghton
f80ea73bfb
Let mods choose a forceload limit ( #13002 )
2022-12-03 10:41:34 -05:00
Jude Melton-Houghton
b3ffc4b327
Add minetest.get_mapgen_edges
( #12999 )
2022-12-03 10:40:46 -05:00
lhofhansl
e84d259ec7
Remove shader caching hack. ( #12991 )
2022-11-30 13:56:14 -08:00
Muhammad Rifqi Priyo Susanto
281f9a9f88
Android: Segmentation fault fix, PendingIntent flag, and other fixes ( #12960 )
...
* Android: Segmentation fault fix, PendingIntent flag, and other fixes
- Information about the crosshair is sent after camera initialization.
- Since API 31, PendingIntent requires mutability flag.
- super (class) is called in onRequestPermissionsResult().
- GameActivity suppresses "unused" warning since most of its methods are called from native code.
- Non-null safety is added for nullable function calls.
- Warning/error logging is added for various function calls' return value.
* Move utility functions into Utils.java
- Some nullable functions are changed to be non-null functions.
- Some null checking outside it is removed.
- More annotations are added to functions and parameters.
2022-11-30 10:50:06 -05:00
Jude Melton-Houghton
055fc69c11
Handle num lock in chat ( #12984 )
2022-11-30 10:43:12 -05:00
Jude Melton-Houghton
3ff8adf599
Avoid resetting music when dialog opens ( #13003 )
2022-11-30 10:42:30 -05:00
Jude Melton-Houghton
da4a4086cf
Fix /help privs checks ( #13008 )
2022-11-29 18:25:47 -05:00
Jude Melton-Houghton
aac1635bf7
Have minetest.debug call tostring ( #13004 )
2022-11-29 07:12:08 -05:00
Jude Melton-Houghton
38169db765
Wrap debug text on screen ( #12978 )
2022-11-28 12:17:36 -05:00
Jude Melton-Houghton
d0a118f5b1
Add minetest.get_game_info
and allow reading game.conf
( #12989 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-11-28 07:21:43 -05:00
Jude Melton-Houghton
3fd5bff128
Abort active ABM iteration when content changes ( #12998 )
2022-11-27 15:55:10 -05:00
Muhammad Rifqi Priyo Susanto
40a45b8c99
Virtual joystick: Use s32 when using m_screensize as a subtrahend ( #12814 )
...
If still uses u32, m_screensize will yield a big value (underflow) when used as a subtrahend.
ETIE_MOVED is allowed to be run if joystick's ID is available and virtual joystick is fixed.
Add .0f for some float values.
2022-11-26 09:16:14 -05:00
savilli
f04d4d0291
Fix touchscreen crash due to missing rangeselect
2022-11-25 19:57:03 +01:00
Jude Melton-Houghton
8b26bab37d
Remove unnecessary bool return types
2022-11-24 17:58:25 -05:00
Jude Melton-Houghton
7c21347a40
Rename "mod metadata" to "mod storage" everywhere
2022-11-24 17:58:25 -05:00
Jude Melton-Houghton
8817af07fb
Deprecate special handling of ${key}
syntax in metadata values ( #12970 )
2022-11-24 17:56:43 -05:00
Wuzzy
3c7f26d937
Add support for attached facedir/4dir nodes ( #11432 )
2022-11-24 17:56:07 -05:00
x2048
1c10988d6a
Fix entity visiblity in bright artificial light ( #12906 )
2022-11-23 22:40:26 +01:00
Jude Melton-Houghton
9527cc3fa0
avoid clearChildAttachments iterator invalidation ( #12987 )
2022-11-23 14:48:12 -05:00
Jude Melton-Houghton
386bfcda2b
Fix reading schematics after their resolution ( #12985 )
2022-11-23 11:53:21 -05:00
Jude Melton-Houghton
4da8a18c8c
Check specific outputs for isatty ( #12980 )
2022-11-21 12:08:40 -05:00
x2048
70a82b0784
Avoid shadow flicker at certain angles ( #12961 )
...
Change the way look direction and camera position are quantized when calculating light frustum
2022-11-20 21:28:01 +01:00
DS
5f24a3c0c7
Object selection: Improve distance checks ( #12974 )
2022-11-20 21:27:47 +01:00
Jude Melton-Houghton
475005012a
Improve ABM and LBM registration error handling ( #12969 )
2022-11-20 21:26:54 +01:00
lhofhansl
7bf64fc61a
Add configurable saturation ( #12865 )
...
* Add configurable saturation
Co-authored-by: Pevernow <3450354617@qq.com>
Co-authored-by: x2048 <codeforsmile@gmail.com>
Author: Lars <larsh@apache.org>
2022-11-18 11:49:52 -08:00
Abdou-31
dac05a500e
Fix menu_lua_api.txt
formatting ( #12971 )
2022-11-18 11:45:16 -05:00
Jude Melton-Houghton
b89eb605b7
Warn about potential infinite loop in on_construct ( #12967 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-11-16 13:11:36 -05:00
StrajnarFilip
6b6cd42ce4
Added copy of LGPL-2.1 ( #12950 )
2022-11-16 13:09:53 -05:00
Riceball LEE
6bf662cb9e
set_nametag_attributes: don't reset nametags if text param is not touched
...
fixes #12901
2022-11-15 16:46:26 +01:00
SmallJoker
8de9e2ac84
game.conf: Add setting to use volatile a map backend ( #12956 )
2022-11-15 16:45:48 +01:00
Jude Melton-Houghton
cd8a7fe472
Add MetaDataRef:get_keys ( #12841 )
2022-11-15 16:45:12 +01:00
lhofhansl
1a045da0dd
Reduce active mgmt interval for a bit when a player joins. ( #12925 )
2022-11-10 15:25:38 -08:00
Jude Melton-Houghton
00eb65915f
Add PostgreSQL helper pg_to_string
2022-11-10 18:56:48 +01:00
Jude Melton-Houghton
f8c781b46c
Test PostgreSQL in CI
2022-11-10 18:56:48 +01:00
Jude Melton-Houghton
aaa05f901a
Add mod storage PostgreSQL backend
2022-11-10 18:56:48 +01:00
Jude Melton-Houghton
9dbac989bd
Improve testListMods
2022-11-10 18:56:48 +01:00
Jude Melton-Houghton
408af9d17d
Test metadata value changing
2022-11-10 18:56:48 +01:00
Gregor Parzefall
88b04eadc9
Fix get_tool_wear_after_use for one use (insta-break) ( #12945 )
2022-11-09 11:58:53 -05:00
olive
042f7917e7
Flip player_back.png ( #12940 )
2022-11-09 11:58:21 -05:00
x2048
81bfc9c7a2
Resize hotbar immediately before drawing ( #12930 )
2022-11-09 11:57:55 -05:00
Abdou-31
d1b80b462e
Fix typos and en_US/en_GB inconsistency in various files ( #12902 )
2022-11-09 11:57:19 -05:00
Tamara Schmitz
6191bafcad
Dockerfile: refactoring and addition of entrypoint ( #12939 )
...
Previously source files were copied first, then build dependencies were
installed, then libraries cloned and built.
This was reordered to be:
1. install dependencies
2. clone and build libraries
3. Pull in minetest source and minetest_game
4. Build minetest
In addition the peristent volumes are now declared.
Also an entrypoint added making it possible to append command line
parameters.
2022-11-08 16:34:58 +01:00
Loïc Blot
322c8cf270
Reduce exposure of various internals ( #12885 )
...
* refactoring(StaticObjectList): don't expose m_active and m_stored anymore
This prevents our old crap code where anyone can access to StaticObjectList. use proper modifiers. It also permits to do a short cleanup on MapBlock using a helper
* refactoring(MapBlock): reduce a bit exposed m_active_blocks variable
* refactoring: MapBlock::m_node_timers is now private
We already had various helpers to perform this privatization, just use it. Also factorize the MapBlock stepping code for timers using already existing code and importing them from ServerEnvironment to MapBlock.
It's currently done pretty straight forward without any inheritance as MapBlock is just used everywhere, maybe in a future we'll have ServerMapBlock over MapBlock. Currently for a simple function let's just use proper objects and add a comment warning
* refactoring(Server): fix duplicated function for add/remove node
* refactoring(guiFormSpecMenu): add removeAll function to prevent duplicated code
* refactoring(ShadowRenderer) + perf: code quality + increase performance
* All callers are already using the point and we should never test a function with nullptr node, it's a bug. Removed workaround which was hacky and fix the bug
* Drop clientmap lookup from shadowrendered, just use directly its
pointer and forbid to push it in the generic list
* Reduce memory pressure on the renderShadowObject by preventing
deallocating and reallocating multiple vectors on each node
* refactoring(MapBlock): reduce exposure of MapBlock::m_static_objects
It's not complete as some parts of the code are pretty nested, but it's better than before :)
* fix: better working on new functions & drop unwanted 2 lines
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-11-03 17:35:31 +01:00
x2048
957a3e52fe
Return correct variable when debugging bloom.
...
Fixes #12922
2022-11-03 08:43:31 +01:00
x2048
9b24041394
Improve bloom effect ( #12916 )
...
* Remove the built-in exposure factor of 2.5
* Add physics-based bloom (https://learnopengl.com/Guest-Articles/2022/Phys.-Based-Bloom )
* Add luminance scaling for bloom layer to simulate HDR
* Add setting to control bloom strength
2022-11-02 09:09:48 +01:00
Muhammad Rifqi Priyo Susanto
fb3085a2c5
Android: Increase target/compiled SDK version to 32 ( #12911 )
...
Build Tools, NDK, and Gradle are also updated.
Repositories is changed from jcenter() to mavenCentral().
2022-10-31 14:19:30 +01:00
Muhammad Rifqi Priyo Susanto
987277de52
Send crosshair setting after the touch screen GUI has been initialized ( #12910 )
2022-10-31 14:17:50 +01:00
Lars Mueller
88af36dd10
Fix node placement regression
2022-10-31 14:17:28 +01:00
x2048
260de1c2b5
Enable negative values for sun/moon orbit tilt (Northern hemisphere) ( #12904 )
2022-10-30 16:54:06 +01:00
x2048
485b3b1203
Add comments explaining use of entity glow
2022-10-30 16:53:45 +01:00
x2048
bf1cc1bb84
Apply entity glow before translating to color space
2022-10-30 16:53:45 +01:00
x2048
3e7ee499d6
Always add increment when getting node interior light
2022-10-30 16:53:45 +01:00
x2048
a075d83752
Use the same light level for non-solid draw types as for solid
2022-10-30 16:53:45 +01:00
DS
fcd670e6f7
Add a worlds_here.txt file in the worlds folder and update .gitignore ( #12720 )
2022-10-30 16:53:31 +01:00
Lars Müller
077627181e
Allow rotating entity selectionboxes ( #12379 )
2022-10-30 16:53:14 +01:00
lhofhansl
b829231992
Fix incorrect culling introduced by ##12710 ( #12887 )
2022-10-28 09:52:54 -07:00
lhofhansl
9aaed75eea
Safety check the map's blocksize ( #12895 )
2022-10-27 19:31:42 -07:00
x2048
88820cd31c
Shadow list improvements ( #12898 )
...
* Remove redundant checks when attaching SM texture to entities.
Some of the checks were broken, leading to crashes when shadow intensity is set to 0
* Avoid memory leak in shadow casters list when wield mesh changes item stacks
2022-10-26 22:26:09 +02:00
Jean-Patrick Guerrero
16266397ed
GUIInventoryList: Keep item size while moving ( #12896 )
2022-10-24 13:58:56 +02:00
Wuzzy
02c293ec63
Fix some outdated stuff about falling node docs
2022-10-23 21:59:24 +02:00
Jude Melton-Houghton
e86d23daed
Check sizeof(int) and sizeof(size_t)
2022-10-23 21:59:12 +02:00
Wuzzy
0a82cb4072
DevTest: Colorize 2 nodebox nodes
2022-10-23 21:58:56 +02:00
Wuzzy
7a8ac00f9c
DevTest: Cleanup callback logging
2022-10-23 21:58:56 +02:00
Wuzzy
9e186a42bd
DevTest: Fix rendering of 2 texture test nodes
2022-10-23 21:58:56 +02:00
Wuzzy
c73d79841c
DevTest: More node textures to tell them apart
2022-10-23 21:58:56 +02:00
Wuzzy
11d1a9cc37
DevTest: Use 4dir for chests
2022-10-23 21:58:56 +02:00
Wuzzy
9f11753930
DevTest: Restore callback item descriptions
2022-10-23 21:58:56 +02:00
Wuzzy
fd1930142e
DevTest: Fix callback item textures
2022-10-23 21:58:56 +02:00
Wuzzy
a852ebe993
Remove credits for 2 images no longer in use
2022-10-23 21:58:56 +02:00
Wuzzy
0152d39215
DevTest: Refactor testhud features
2022-10-23 21:58:56 +02:00
Wuzzy
c761aa268d
DevTest: Move 2 HUD commands to testhud & improve
2022-10-23 21:58:56 +02:00
Wuzzy
72b83acadc
DevTest: No use privatizer on chest of everything
2022-10-23 21:58:56 +02:00
Wuzzy
998e50725c
DevTest: Remove experimental mod
2022-10-23 21:58:56 +02:00
Wuzzy
a23701b5e6
DevTest: Move detached inv tests to chest mod
2022-10-23 21:58:56 +02:00
Wuzzy
c1e732448c
DevTest: /test_place_node skips dummy/cb nodes
2022-10-23 21:58:56 +02:00
Wuzzy
23ef0d0916
DevTest: Clean up callback textures
2022-10-23 21:58:56 +02:00
Wuzzy
2da92ed81e
DevTest: Move callback entities to callbacks mod
2022-10-23 21:58:56 +02:00
Wuzzy
cb7b96fc90
DevTest: Move callback items to callbacks mod
2022-10-23 21:58:56 +02:00
Wuzzy
68df0fb2ea
DevTest: Move experimental items to other mods
2022-10-23 21:58:56 +02:00
Wuzzy
3a7fffc587
DevTest: Move more logging to log mod
2022-10-23 21:58:56 +02:00
Wuzzy
48530ccbc0
DevTest: Move benchmark commands to new mod
2022-10-23 21:58:56 +02:00
Wuzzy
6b9984b7e7
DevTest: Move /test_place_nodes to testnodes mod
2022-10-23 21:58:56 +02:00
Wuzzy
97a80b4816
DevTest: Move chat command logging to separate mod
2022-10-23 21:58:56 +02:00
Jude Melton-Houghton
8f1593e4e8
Add VoxelArea() constructor ( #12886 )
2022-10-22 08:05:45 -04:00
Abdou-31
7e11b8eb72
Fix typos and en_US/en_GB inconsistency in files inside doc directory ( #12882 )
2022-10-21 17:12:39 +02:00
Jude Melton-Houghton
c78d565e01
Fix use of unassigned global "check"
2022-10-21 17:12:21 +02:00
Riceball LEE
8bdedd2bcf
guiChatConsole: fix the unicode characters crowded together on prompt ( #12867 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-10-21 17:12:07 +02:00
DS
7153cb8a0b
Fix formspec focus ( #12795 )
2022-10-21 17:11:41 +02:00
sfan5
9f0d88407d
Revise bump_version.sh script to address shortcomings ( #12789 )
2022-10-21 17:09:44 +02:00
Jude Melton-Houghton
dafdb3edb4
Check for falling float
nodes in liquid transform ( #12862 )
2022-10-18 18:03:05 -04:00
Jude Melton-Houghton
b38ffdec27
Implement vector and node conversion in Lua ( #12609 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-18 18:01:44 -04:00
sfan5
23e9f5db43
Fix list sorting behaviour with missing geoip
2022-10-17 20:16:39 +02:00
Abdou-31
862419c76f
Fix en_US/en_GB inconsistency in lua_api.txt
2022-10-17 07:56:52 -04:00
Abdou-31
4586f3342f
Fix typos in lua_api.txt
2022-10-17 07:56:52 -04:00
sfan5
87051fca26
Take geographic distance into account for server list ordering ( #12790 )
2022-10-17 07:56:28 -04:00
SmallJoker
5d8a4917c5
LocalPlayer: Fix sneaking on nodes with large collisionboxes ( #12626 )
2022-10-17 07:56:04 -04:00
sfan5
25c5400250
Exclude MSVC from new Lua sanity check
2022-10-15 12:02:02 +02:00
sfan5
f680d10259
Other minor CMake improvements
2022-10-13 23:02:11 +02:00
sfan5
e8ee4cb40d
Defer searching for libintl to CMake
...
resolves #12800
2022-10-13 23:02:11 +02:00
sfan5
af38bae57f
Get rid of LuaJIT linking workarounds
...
...and replace them with a cautionary warning message if someone uses an old version.
The detection is kind of a hack but no choice as upstream is not interested in version numbering.
2022-10-13 23:02:11 +02:00
sfan5
558cbd89fb
Add extra check in case someone tries to unbundle Lua
2022-10-13 23:02:11 +02:00
Jude Melton-Houghton
cb725a4555
Speed up find_nodes_in_area ( #12845 )
2022-10-13 09:35:19 -04:00
fluxionary
6b6f886bcd
object ids are u16, not s16 ( #12848 )
2022-10-13 08:46:48 -04:00
Jude Melton-Houghton
f7ae70c3d9
Use enum to define custom registry indices
2022-10-13 08:46:16 -04:00
Jude Melton-Houghton
f073e37d2f
Test on-lighting node param1 in lighting test
2022-10-13 08:46:16 -04:00
Jude Melton-Houghton
b3503e7853
Embed data directly in mapblocks
2022-10-09 13:43:48 -04:00
Jude Melton-Houghton
8f996e4a7c
Remove unused MapBlock functionality
2022-10-09 13:43:48 -04:00
sfan5
7a28f2c4fa
Fix tone mapping being always enabled
...
broke in 579fc93c24
2022-10-09 19:11:04 +02:00
Jude Melton-Houghton
9676364c1f
Optimize lighting calculation ( #12797 )
2022-10-09 10:50:26 -04:00
fluxionary
440d966b93
add an 'equals' method to ItemStack and compatibility w/ lua '==' ( #12771 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-09 08:06:09 -04:00
Wuzzy
b2a3f53b29
Improve documentation for liquid_alternative_*
( #12810 )
2022-10-09 08:05:40 -04:00
Wuzzy
c1c68775b2
DevTest: Explain purpose of most items in tooltips ( #12833 )
2022-10-09 08:05:22 -04:00
Wuzzy
804a318189
DevTest: Change texture for node-aligned node ( #12831 )
2022-10-06 17:25:40 +01:00
ROllerozxa
be5c675263
Only set quicktune keybinds in debug builds ( #12779 )
2022-10-06 17:07:57 +01:00
x2048
1e96403954
Use legacy call when rendering to a single texture
...
Fixes depth buffer in when undersampling > 1
2022-10-04 21:02:42 +02:00
x2048
579fc93c24
Make bloom shaders compatible with GLES2 ( #12834 )
...
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
2022-10-04 13:52:56 +01:00
Jude Melton-Houghton
7632af3c73
Consolidate API object code ( #12728 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-04 08:31:36 -04:00
Jude Melton-Houghton
b21fb18379
Disable -ffinite-math-only ( #12832 )
2022-10-03 12:13:35 -04:00
Wuzzy
b10d6542db
DevTest: Reject buggy "/hp inf" command ( #12830 )
2022-10-03 12:13:23 -04:00
DS
22cbc05808
Add an item pick up callback (2) ( #7712 )
...
Co-authored-by: SmallJoker <mk939@ymail.com>
Co-authored-by: Jude Melton-Houghton <jwmhjwmh@gmail.com>
2022-10-01 15:21:06 -04:00
Wuzzy
977f656e09
Improve crafting recipe documentation ( #12806 )
2022-10-01 15:20:28 -04:00
sfan5
525fc3833c
Implement tool use sounds
2022-09-30 14:02:14 +02:00
sfan5
bbdb1929c6
Clean up Game::handleDigging() and some related parts
2022-09-30 14:02:14 +02:00
Muhammad Rifqi Priyo Susanto
13a8948edd
Improve double tap for jump detection ( #12793 )
2022-09-30 14:02:06 +02:00
Jude Melton-Houghton
e832cee1e6
Avert collision static detection rounding error ( #12822 )
2022-09-30 06:31:24 -04:00
Wuzzy
6eb7d57ed3
Fix inconsistent craft replacements ( #9250 ) ( #12819 )
2022-09-30 06:30:39 -04:00
Wuzzy
5e7ea0664a
Fix error msg if craft replacement w/ full inv ( #12820 )
2022-09-29 20:34:51 +02:00
x2048
9df79a4b2d
Bloom ( #12791 )
...
Adds configurable light exposure control and bloom effect (light bleeding) with client-side settings.
2022-09-29 20:34:05 +02:00
Muhammad Rifqi Priyo Susanto
3978b9b8ed
Add crosshair support for Android ( #7865 )
...
If enabled, a crosshair will be shown to select object.
This will give Android players a way to play like they play on desktop.
On third-person back camera mode, player is forced to use crosshair.
On third-person front camera mode, player is unable to select anything.
Co-authored-by: ROllerozxa <temporaryemail4meh+github@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-09-29 20:30:33 +02:00
20kdc
b1233056b7
Add zstd compression support ( #12515 )
2022-09-28 09:06:14 -04:00
DS
0251b01da6
Pause shader animation timer in singleplayer pause menu ( #12766 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-27 16:23:07 -04:00
pecksin
6ac38aa2c8
Restore and enhance bouncy behavior ( #11939 )
2022-09-27 16:22:36 -04:00
savilli
907dcdcf7b
Add unittests for item movement code ( #11885 )
2022-09-27 16:22:11 -04:00
Wuzzy
3f801bc096
Fix liquid drawtype faces sometimes not rendering ( #12807 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-09-26 19:27:47 -04:00
Jude Melton-Houghton
f4a01f3a5d
Avoid duplication of mod metadata in memory ( #12562 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-26 17:03:43 -04:00
Jude Melton-Houghton
03428d9825
Modify PUC Lua to wrap C++ exceptions ( #12445 )
2022-09-26 07:23:48 -04:00
Jude Melton-Houghton
f916398a54
Add lighting test and benchmark ( #12802 )
2022-09-26 06:49:08 -04:00
Lars Mueller
8dec3a5ecb
Fix double escape in update checker dialog
2022-09-25 13:45:37 +02:00
Tobias Frost
7069d99aa6
Fix two spelling mistakes
...
Co-authored-by: Tobias Frost <tobi@debian.org>
2022-09-25 13:45:27 +02:00
Aritz Erkiaga
5ced5c9b27
Briefly explain how facedir rotations work ( #11934 )
2022-09-25 13:45:02 +02:00
Lars Müller
1317cd12d7
Fix formula used for acceleration ( #12353 )
2022-09-20 10:55:51 +02:00
DS
11905a6db6
Rename a variable in localplayer.h, resolves a TODO
2022-09-20 10:55:11 +02:00
ndren
2c3f641e0b
Simplify bit flip in sha1.cpp
2022-09-20 10:54:35 +02:00
Wuzzy
9acf2d3db7
Document minetest.parse_relative_number ( #12576 )
2022-09-18 18:38:55 +02:00
Jude Melton-Houghton
310b12b5ed
Content ID caching in Lua ( #12444 )
...
* Cache content IDs in Lua
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-18 17:46:48 +02:00
Jude Melton-Houghton
006d974c58
Catch exceptions in SQLite3 callback
2022-09-18 17:39:09 +02:00
Jude Melton-Houghton
b89608c624
Compile bitop library as C++
2022-09-18 17:39:09 +02:00
Jude Melton-Houghton
6f5a68b7f7
Allow getmetatable in CSM ( #12776 )
2022-09-18 17:32:18 +02:00
DS
c9ed059d91
Client map: do frustum culling via planes ( #12710 )
2022-09-18 15:28:53 +02:00
sfan5
a428a0cf37
Bump used IrrlichtMt version
2022-09-16 19:54:59 +02:00
savilli
9428917870
Fix UAF in craft recipes ( #12763 )
...
If you call minetest.clear_craft after minetest.register_alias_force, the craft definition reference may not be removed from m_output_craft_definitions leading to UAF.
2022-09-16 13:20:14 +02:00
William Breathitt Gray
19e936362a
Add support for MINETEST_USERDATA environment variable ( #12639 )
...
The MINETEST_USER_PATH environment variable can be used to define a
custom path for Minetest user data. If MINETEST_USER_PATH is empty or
unset, the HOME (or APPDATA on Windows) environment variable is used as
the default user data path; this ensures backwards compatibility with
existing user setups.
2022-09-16 13:19:44 +02:00
Wuzzy
1d04903c19
Add paramtype2s for 4 horizontal rotations and 64 colors ( #11431 )
...
4dir is like facedir, but only for 4 horizontal directions: NESW. It is identical in behavior to facedir otherwise. The reason why game makers would want to use this over facedir is 1) simplicity and 2) you get 6 free bits.
It can be used for things like chests and furnaces and you don't need or want them to "flip them on the side" (like you could with facedir).
color4dir is like colorfacedir, but you get 64 colors instead of only 8.
2022-09-16 13:18:55 +02:00
SmallJoker
b5e7280708
Content tab: Fix content download broken by bc3dccc
2022-09-16 13:01:23 +02:00
DS
f3f3b752f2
Fix tooltips for dropdown, scrollbar and more ( #12747 )
2022-09-13 12:48:28 +01:00
SmallJoker
cea5fd56a4
Content tab: Change uninstall icon to trash bin ( #12761 )
...
A red cross might indicate 'cancel download' whereas the trash bin is generally a symbol for deletion.
2022-09-12 19:25:34 +02:00
wsor4035
482cc99b2c
Fix trivial get_armor_groups documentation issue ( #12760 )
2022-09-12 19:25:25 +02:00
SmallJoker
bc3dccca5c
Mainmenu: Properly sort mods and games ( #12758 )
...
This also removes trivial and unused pkgmgr functions
Fixes a bug caused by sorting in 2133fc8
2022-09-12 19:24:54 +02:00
Jude Melton-Houghton
fe13f9dfd1
Fix potential use-after-free with item metadata ( #12729 )
...
This fixes a use-after-free bug in the case where itemstack metadata is accessed after the itemstack has been garbage-collected.
2022-09-11 19:28:37 +02:00
Lars Mueller
7486f184c3
Serialize: Restore forward compatibility
2022-09-11 19:27:18 +02:00
Lars Mueller
6c24dc4e23
Serialize: Use numbers for refs to work around LuaJIT limits
2022-09-11 19:27:02 +02:00
sfan5
c607bee19e
Allow looped animation to be used safely with old clients
...
fixes #12657
2022-09-10 12:21:29 +02:00
pecksin
adb03ccc6d
Chat weblink: remove comma as delimiter ( #12730 )
2022-09-10 12:21:15 +02:00
ROllerozxa
2133fc84c4
Fix texture pack sorting in content tab ( #12727 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-09-10 12:20:33 +02:00
DS
643971c948
Add documentation of sun/moon orientation/scale differences ( #12145 )
2022-09-06 11:21:55 +01:00
Herman Semenov
038da00e79
Code optimizations / refactor ( #12704 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-06 11:21:09 +01:00
x2048
ff6dcfea82
Implement rendering pipeline and post-processing ( #12465 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: lhofhansl <lhofhansl@yahoo.com>
2022-09-06 08:25:18 +02:00
x2048
464043b8ab
Convert entity glow value to color space before adding to the light
2022-09-04 16:00:13 +02:00
Niklp
2854c19792
Fix incorrectly placed label in tab_online ( #12732 )
2022-09-02 01:05:40 +01:00
savilli
75d88dcae2
Fix and enable x86 build for Android ( #12700 )
2022-08-25 22:48:49 +01:00
fluxionary
0ab9bf926d
Fix texture_min_size
2022-08-24 22:38:14 +02:00
rubenwardy
2d10fa7867
Prevent loading a world with unresolved dependencies ( #12542 )
2022-08-19 12:31:36 +01:00
x2048
8c29c4f620
Use Sky class to obtain directional light source position for shadows ( #12662 )
...
* Also remove unused Sky::getSkyBodyOrbitTilt method
Fixes misalignment of sun position and shadow direction at high tilt values.
2022-08-17 16:30:05 +02:00
celeron55
3f67215df9
Log sockets into tracestream instead of dstream ( #12701 )
2022-08-16 15:18:11 +01:00
rubenwardy
c4ffe630f1
Add package title to ContentDB error messages ( #12705 )
2022-08-16 13:46:11 +01:00
Elliott Lester
7c5e3cac6a
Apply DPI Scaling to GUIModalMenu ( #12693 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-15 21:19:47 +01:00
rubenwardy
adc89f7977
Add unit tests for pkgmgr.install_dir
2022-08-15 21:19:24 +01:00
rubenwardy
db612c10ee
Refactor pkgmgr.install_dir to simplify logic
2022-08-15 21:19:24 +01:00
rubenwardy
0090446ccf
Fix crash when trying to overwrite a package
...
Before #11646 , core.copy_dir would overwrite the target if it exists. Adding core.delete_dir restores the exact same behaviour
Fixes #12303
2022-08-15 21:19:24 +01:00
sfan5
cae7ec1eb4
Cut back on Gitlab-ci & misc pipeline updates
2022-08-15 10:47:47 +02:00
Fábio Rodrigues Ribeiro
bce1078ced
Remove resolution of appstream screenshots ( #12652 )
...
resolves Appdata not valid #12597
2022-08-15 10:47:09 +02:00
x2048
aa2fdc6ef6
Limit force shadow update to urgent blocks ( #12692 )
2022-08-14 20:29:20 +02:00
Lion
2690585e99
Add handling of environment variables to control terminal/logging colors ( #12641 )
2022-08-14 20:27:28 +02:00
Zughy
760242c076
Docs: add "flip moon texture" into breakage file ( #12417 )
2022-08-14 20:25:52 +02:00
sfan5
c7059c4981
Move some CI jobs to newer compiler versions
2022-08-14 00:18:15 +02:00
x2048
d1cbb4bd8a
Reduce the use of porting::getTimeMs() when rendering frames ( #12679 )
...
* Avoid calling TimeTaker too frequently in renderMapXXX
* Calculate animation timer once per frame
* Remove code that breaks rendering frame at 2000ms
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-13 22:33:26 +02:00
Lars Müller
0e439b2fa3
Check hp_max > 0 for entities ( #12667 )
2022-08-13 15:35:41 +01:00
Zughy
3132efcc01
Reassure previous nil behaviour for tiles and special_tiles ( #12678 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-08-13 15:35:28 +01:00
Jude Melton-Houghton
ab8dfb45b4
Allow buffer argument to VoxelManip:get_light_data ( #12682 )
2022-08-13 08:53:47 +02:00
fluxionary
59601eb922
Remove default keybind for range select ( #12632 )
...
Reason: accidental key presses, few use-cases.
2022-08-13 08:53:30 +02:00
SmallJoker
023a1c2427
Textures: introduce world-align overrides ( #12540 )
...
Many games do not care about world align textures, however texture packs should have the capabilities to change that if they have suitable textures. This commmit now introduces a node property override for world-align in particular to force a certain scale on the selected override tiles.
2022-08-13 08:52:16 +02:00
Zughy
8bf1609ccc
Fix crash when crafting callbacks return strings ( #12685 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-08-12 10:17:37 +01:00
SmallJoker
c8ee755c05
Physics overrides: Move values to a common struct ( #12591 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-12 10:17:02 +01:00
DS
df1d215f48
Node vertex shader: Properly use the waved world position ( #12665 )
2022-08-10 18:04:12 +02:00
Zughy
bcc56803d7
Fix crash when stars are reset
2022-08-10 18:03:57 +02:00
sfan5
4fbcc33ee0
Enable C++ stdlib assertions in debug flags
2022-08-05 13:04:01 +02:00
sfan5
ec778508df
Continue with 5.7.0-dev
2022-08-04 22:46:02 +02:00
sfan5
53dd648c96
Bump version to 5.6.0
2022-08-04 22:46:00 +02:00
sfan5
c4277877b6
Bump protocol version
...
Better late than never.
2022-08-04 22:45:52 +02:00
ROllerozxa
eb49b6d85c
Disable dynamic shadow dropdown on OGLES2 ( #12637 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-04 20:42:43 +02:00
sfan5
b91063daef
Improve look of credits list
2022-08-04 10:31:32 +02:00
sfan5
7c14b434e0
Update credits tab
2022-08-04 10:31:32 +02:00
x2048
644f145ff2
Explicitly initialize value of particle parameter. Fixes #12621 .
2022-08-02 23:51:50 +02:00
SmallJoker
a81259d19a
Run Minetest update checker on startup ( #7629 )
...
This feature is enabled by default for non-Android release builds. Package
maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it.
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-02 21:34:17 +02:00
sfan5
f22d40975e
Switch MeshUpdateQueue to better data structure
2022-08-02 11:58:26 +02:00
sfan5
4c1ef1b72b
Ratelimit MeshUpdateQueue::cleanupCache() runs
2022-08-02 11:58:26 +02:00
AFCMS
6ec6acc539
Add minetest.settings
to CSM API and allow CSMs to provide settingtypes.txt
( #12131 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2022-08-02 11:58:08 +02:00
x2048
839600ed70
Use legacy image implementation (no NNAA filter) when not using 9-slice image ( #12608 )
2022-07-31 21:57:13 +02:00
sfan5
a2bf3a2aa8
Fix some issues in German translation
2022-07-31 20:02:27 +02:00
Fixer
9542ab5efb
Translated using Weblate (Ukrainian)
...
Currently translated at 57.3% (839 of 1462 strings)
2022-07-31 19:35:57 +02:00
BreadW
68a273102f
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-07-31 19:35:57 +02:00
Fjuro
13bb815b32
Translated using Weblate (Czech)
...
Currently translated at 68.6% (1004 of 1462 strings)
2022-07-31 19:35:57 +02:00
Hùng Nguyễn
ccb982513a
Translated using Weblate (Vietnamese)
...
Currently translated at 41.4% (606 of 1462 strings)
2022-07-31 19:35:57 +02:00
Fábio Rodrigues Ribeiro
ef6ca6319b
Translated using Weblate (Portuguese)
...
Currently translated at 92.6% (1354 of 1462 strings)
2022-07-31 19:35:57 +02:00
Walter Bulbazor
5192ce4330
Translated using Weblate (Occitan)
...
Currently translated at 5.6% (82 of 1462 strings)
2022-07-31 19:35:57 +02:00
Marian
62624722d8
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-07-31 19:35:57 +02:00
ROllerozxa
b2d82125ec
Translated using Weblate (Swedish)
...
Currently translated at 61.1% (894 of 1462 strings)
2022-07-31 19:35:57 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
e80f695bb9
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-07-31 19:35:57 +02:00
Valentino
d9d38d2172
Translated using Weblate (Spanish)
...
Currently translated at 83.0% (1214 of 1462 strings)
2022-07-31 19:35:57 +02:00
waxtatect
84e939193e
Translated using Weblate (Spanish)
...
Currently translated at 83.0% (1214 of 1462 strings)
2022-07-31 19:35:57 +02:00
Wuzzy
56811c63d1
Translated using Weblate (German)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-07-31 19:35:57 +02:00
waxtatect
a4b1e0d124
Translated using Weblate (French)
...
Currently translated at 100.0% (1462 of 1462 strings)
2022-07-31 19:35:57 +02:00
Gregor Parzefall
70b71c5013
Fix rotation of falling facedir nodes ( #12587 )
...
in some cases
2022-07-31 15:18:29 +02:00
Mantar
95d7fcb949
Apply NetBSD string conversion workaround to OpenBSD as well ( #12618 )
2022-07-31 15:18:19 +02:00
ROllerozxa
de509d05e6
Fix Android blank screen ( #12604 )
...
Hardcode the variables to 0 on Android
2022-07-31 15:18:04 +02:00
SmallJoker
c14b7536a4
HUD: Fix wrong minimum scale since 051181f
...
Caused by wrong interpretation of the settingtypes.txt format
2022-07-31 14:57:19 +02:00
rubenwardy
a871115889
Fix some warnings ( #12615 )
2022-07-30 12:51:23 +01:00
Wuzzy
6a269d58ef
Update German builtin translation
2022-07-29 22:20:48 +02:00
Wuzzy
3b37bcd994
Update builtin translation files
2022-07-29 22:20:48 +02:00
Lars Müller
99c8295e71
Fix media overriding regression ( #12602 )
2022-07-29 10:19:36 +02:00
sfan5
6611d7e1ee
Allow direction keys with autoforward again
...
This was unintentionally removed in commit 1d69a23
.
fixes #12048
2022-07-29 10:19:23 +02:00
Wuzzy
f0703f3c5b
Fix lua_api typo: animated_images
2022-07-29 10:18:30 +02:00
sfan5
7e78c0171e
Check minimum Irrlicht version before build
2022-07-23 22:27:19 +02:00
sfan5
175e132576
Centralize IrrlichtMt version used for builds
...
maybe a submodule would have really been easier...
2022-07-23 22:27:19 +02:00
sfan5
71f6a5f44e
Bump IrrlichtMt
2022-07-23 22:27:19 +02:00
Jude Melton-Houghton
d631f21024
Let core.get_mod_storage be called multiple times ( #12572 )
2022-07-23 22:27:07 +02:00
SmallJoker
2351c95612
Util: Use quotation marks for safe path handling
2022-07-22 20:13:10 +02:00
SmallJoker
8dcbca1068
Mainmenu: Escape server_favorite_delete path
...
No similar issues were found inside this file.
2022-07-22 19:04:19 +02:00
sfan5
2183b35ba4
Use newer NDK r23c for android build
2022-07-22 13:13:35 +02:00
updatepo.sh
2cf52642fa
Update translation files
...
strings from #12131 and #7629 included prematurely for sake of the release
2022-07-20 21:44:00 +02:00
updatepo.sh
eea2a97475
Update minetest.conf.example
2022-07-20 21:36:03 +02:00
Walter Bulbazor
71f083d4ad
Translated using Weblate (Occitan)
...
Currently translated at 1.3% (19 of 1416 strings)
2022-07-20 21:28:27 +02:00
Valentino
32ef0678e5
Translated using Weblate (Spanish)
...
Currently translated at 88.0% (1247 of 1416 strings)
2022-07-20 21:28:27 +02:00
Walter Bulbazor
e719690100
Added translation using Weblate (Occitan)
2022-07-20 21:28:27 +02:00
Tor Egil Hoftun Kvæstad
53fb958f45
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 36.7% (520 of 1416 strings)
2022-07-20 21:28:27 +02:00
Cow Boy
ea51073e87
Translated using Weblate (Latvian)
...
Currently translated at 26.2% (372 of 1416 strings)
2022-07-20 21:28:27 +02:00
OrbitalPetrol
116de34438
Translated using Weblate (Serbian (cyrillic))
...
Currently translated at 30.2% (429 of 1416 strings)
2022-07-20 21:28:27 +02:00
Oftox
816206321e
Translated using Weblate (Finnish)
...
Currently translated at 21.0% (298 of 1416 strings)
2022-07-20 21:28:27 +02:00
Marco Santos
eaa9ab754f
Translated using Weblate (Filipino)
...
Currently translated at 43.5% (616 of 1416 strings)
2022-07-20 21:28:27 +02:00
Темак
5bd09907a9
Translated using Weblate (Russian)
...
Currently translated at 90.1% (1277 of 1416 strings)
2022-07-20 21:28:27 +02:00
Raquel Fariña Agra
7a76a00b62
Translated using Weblate (Spanish)
...
Currently translated at 79.2% (1122 of 1416 strings)
2022-07-20 21:28:27 +02:00
Nikita Epifanov
cd96c6934d
Translated using Weblate (Russian)
...
Currently translated at 90.2% (1278 of 1416 strings)
2022-07-20 21:28:27 +02:00
Темак
356fdc3cf5
Translated using Weblate (Russian)
...
Currently translated at 98.5% (1396 of 1416 strings)
2022-07-20 21:28:27 +02:00
Ivon Huang
7001d3de60
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 79.8% (1130 of 1416 strings)
2022-07-20 21:28:27 +02:00
Giov4
b64e030e92
Translated using Weblate (Italian)
...
Currently translated at 99.7% (1412 of 1416 strings)
2022-07-20 21:28:27 +02:00
runs
9bb2cca842
Translated using Weblate (Spanish)
...
Currently translated at 79.2% (1122 of 1416 strings)
2022-07-20 21:28:27 +02:00
Raquel Fariña Agra
639bcd3cae
Translated using Weblate (Spanish)
...
Currently translated at 79.2% (1122 of 1416 strings)
2022-07-20 21:28:27 +02:00
Pietro Cappuccino
cdb9e3dea6
Translated using Weblate (Italian)
...
Currently translated at 99.5% (1410 of 1416 strings)
2022-07-20 21:28:27 +02:00
Igor Vinoski
4c15dcbe89
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 98.7% (1398 of 1416 strings)
2022-07-20 21:28:27 +02:00
Kenneth LNOR
cd2d25def7
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 61.7% (874 of 1416 strings)
2022-07-20 21:28:27 +02:00
Niskala Airaha
2e816c0c1a
Translated using Weblate (Malay (Jawi))
...
Currently translated at 64.6% (916 of 1416 strings)
2022-07-20 21:28:27 +02:00
GT-610
3888376be3
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.9% (1330 of 1416 strings)
2022-07-20 21:28:27 +02:00
Raquel Fariña Agra
71b8204652
Translated using Weblate (Portuguese)
...
Currently translated at 98.2% (1391 of 1416 strings)
2022-07-20 21:28:27 +02:00
OctoNeko
62d74507d4
Translated using Weblate (Russian)
...
Currently translated at 98.6% (1397 of 1416 strings)
2022-07-20 21:28:27 +02:00
Han So Ri
5d0235e757
Translated using Weblate (Korean)
...
Currently translated at 66.5% (943 of 1416 strings)
2022-07-20 21:28:27 +02:00
Ács Zoltán
29fa11ef4d
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:27 +02:00
Petter Reinholdtsen
919e5fbc5a
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 57.8% (819 of 1416 strings)
2022-07-20 21:28:27 +02:00
JonAnder Oier
259ceee478
Translated using Weblate (Basque)
...
Currently translated at 24.0% (341 of 1416 strings)
2022-07-20 21:28:27 +02:00
Raquel Fariña Agra
ef9cca2f6e
Translated using Weblate (Galician)
...
Currently translated at 0.6% (9 of 1416 strings)
2022-07-20 21:28:27 +02:00
Marian
ae58485b67
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Pexauteau Santander
731ac55a1b
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Marian
804fb825bb
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Pexauteau Santander
a0b966c5b4
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Elnaz javadi
001ad8e51b
Translated using Weblate (Greek)
...
Currently translated at 27.9% (396 of 1416 strings)
2022-07-20 21:28:26 +02:00
Gao Tiesuan
e0259b310b
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.4% (1323 of 1416 strings)
2022-07-20 21:28:26 +02:00
DeadManWalking
010694f64c
Translated using Weblate (Greek)
...
Currently translated at 26.9% (381 of 1416 strings)
2022-07-20 21:28:26 +02:00
Lesha Vel
398c7bded1
Translated using Weblate (Russian)
...
Currently translated at 98.1% (1390 of 1416 strings)
2022-07-20 21:28:26 +02:00
abidin toumi
1327039824
Translated using Weblate (Arabic)
...
Currently translated at 39.6% (562 of 1416 strings)
2022-07-20 21:28:26 +02:00
Jakub Z
1870c28397
Translated using Weblate (Polish)
...
Currently translated at 79.1% (1121 of 1416 strings)
2022-07-20 21:28:26 +02:00
Artur Adamczyk
a36d6b3688
Translated using Weblate (Polish)
...
Currently translated at 79.1% (1121 of 1416 strings)
2022-07-20 21:28:26 +02:00
Giov4
d066cd1ff6
Translated using Weblate (Italian)
...
Currently translated at 97.3% (1379 of 1416 strings)
2022-07-20 21:28:26 +02:00
Thomas Wiegand
7c4db9f425
Translated using Weblate (Thai)
...
Currently translated at 99.9% (1415 of 1416 strings)
2022-07-20 21:28:26 +02:00
TZTarzan
72a6724a46
Translated using Weblate (Thai)
...
Currently translated at 99.9% (1415 of 1416 strings)
2022-07-20 21:28:26 +02:00
Thomas Wiegand
df9b7f6b70
Translated using Weblate (Thai)
...
Currently translated at 69.1% (979 of 1416 strings)
2022-07-20 21:28:26 +02:00
THANOS SIOURDAKIS
3e122f3eff
Translated using Weblate (Greek)
...
Currently translated at 11.0% (157 of 1416 strings)
2022-07-20 21:28:26 +02:00
ROllerozxa
6dac32e165
Translated using Weblate (Swedish)
...
Currently translated at 58.1% (823 of 1416 strings)
2022-07-20 21:28:26 +02:00
Jun Nogata
24fd5c39f5
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Jakub Z
9f66974cd4
Translated using Weblate (Polish)
...
Currently translated at 69.7% (987 of 1416 strings)
2022-07-20 21:28:26 +02:00
MinecraftTAO
c0e03f7ce7
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.3% (1322 of 1416 strings)
2022-07-20 21:28:26 +02:00
109247019824
93247a8a35
Translated using Weblate (Bulgarian)
...
Currently translated at 31.2% (442 of 1416 strings)
2022-07-20 21:28:26 +02:00
debiankaios
efcd1ff707
Translated using Weblate (German)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
waxtatect
7b242d787e
Translated using Weblate (French)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
68ca317ec2
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Mivik
de76686bdc
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.2% (1321 of 1416 strings)
2022-07-20 21:28:26 +02:00
neinwhal
c792f3bf57
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.2% (1321 of 1416 strings)
2022-07-20 21:28:26 +02:00
Nikita Epifanov
3903a1b4af
Translated using Weblate (Russian)
...
Currently translated at 97.8% (1386 of 1416 strings)
2022-07-20 21:28:26 +02:00
Balázs Kovács
106f0e3af6
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:28:26 +02:00
Fábio Rodrigues Ribeiro
f275a66f91
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 98.4% (1394 of 1416 strings)
2022-07-20 21:28:26 +02:00
Jose Riha
37f559b4b1
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:27:20 +02:00
Linerly
1aec8ed330
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:27:20 +02:00
Y.W
b6f0ebf968
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.2% (1320 of 1416 strings)
2022-07-20 21:27:20 +02:00
Mateusz Mendel
3a60050ddd
Translated using Weblate (Polish)
...
Currently translated at 69.5% (985 of 1416 strings)
2022-07-20 21:27:20 +02:00
Metehan Özyürek
bfdbcf1955
Translated using Weblate (Turkish)
...
Currently translated at 98.2% (1391 of 1416 strings)
2022-07-20 21:27:20 +02:00
Wuzzy
e5e94070d6
Translated using Weblate (German)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-07-20 21:27:20 +02:00
x2048
70c54abc2a
Restore flags texture to fix interlaced stereo mode ( #12560 )
2022-07-19 20:26:57 +02:00
x2048
b270a46e53
Offset cuboid origin after scaling the cuboid. ( #12558 )
...
This avoids the problem of offset nodes with visual_scale > 1.
2022-07-19 10:48:00 +02:00
Lars Müller
d400a98ef0
Fix automatic rotate for attached entities ( #12392 )
2022-07-17 14:45:57 +01:00
x2048
7b6c4bf2e0
Remove workaround for normals not matching winding order ( #12460 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-17 14:45:42 +01:00
ROllerozxa
f090471022
Enable the gamebar on Android ( #12354 )
2022-07-17 14:45:30 +01:00
rubenwardy
4648d8f499
Deprecate loading a world with unresolved dependencies ( #12541 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-17 14:45:20 +01:00
sfan5
5cc7329717
More corrections to lua_api.txt ( #12505 )
2022-07-17 11:37:06 +02:00
rubenwardy
9f41b4f72d
Add check_mod_configuration to main menu
2022-07-14 22:12:54 +01:00
rubenwardy
06de82fd86
Refactor ModConfiguration
2022-07-14 22:12:54 +01:00
sfan5
1d512ef7f4
Reduce code duplication between c_converter.cpp and helper.cpp
2022-07-14 20:55:45 +02:00
sfan5
8ff3fadba0
Remove unnecessary float limits from script API
...
Leaves a check for NaN and inf.
2022-07-14 20:55:45 +02:00
sfan5
137eef6590
Move f1000 sanitizing to the places that still use this type
2022-07-14 20:55:45 +02:00
Lars Müller
b204655081
Fix regression & replace more occurrences of vector.new with vector.copy ( #12539 )
2022-07-14 20:51:42 +02:00
SmallJoker
f4c6ed863d
GUIFormSpecMenu: Fix label multiline translation ( #12527 )
2022-07-14 20:51:01 +02:00
Lars Müller
ac4eb746fe
Deserialization: Restore backwards compat ( #12519 )
2022-07-14 20:50:21 +02:00
Dmitry Kostenko
6df69f9b5b
Make BlendMode::alpha the fallback for unknown future blend modes
2022-07-13 22:45:05 +02:00
Lexi Hale
20bd6bdb68
Animated particlespawners and more ( #11545 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-13 11:57:12 +02:00
SmallJoker
8724fe6e3f
GUIFormSpecMenu: Fix parameter order
...
Fixes a regression caused by e51f47461
because C++ implicitly converts boolean to float. no matter what.
2022-07-10 15:34:53 +02:00
AFCMS
fae8726a76
Make VoxelArea:position()
return a vector with metatable ( #12521 )
2022-07-09 22:32:33 +02:00
SmallJoker
e51f474613
Sounds: Various little improvements ( #12486 )
...
Use SimpleSoundSpec where reasonable (OpenAL)
Ensure the sound IDs do not underflow or get overwritten -> loop in u16
Proper use of an enum.
2022-07-09 22:32:24 +02:00
SmallJoker
051181fa6e
Enforce limits of settings that could cause buggy behaviour ( #12450 )
...
Enforces the setting value bounds that are currently only limited by the GUI (settingtypes.txt).
2022-07-09 22:32:08 +02:00
x2048
7c261118e0
Release shadow mapping resources when not needed ( #12497 )
2022-07-09 22:26:39 +02:00
Lars Müller
b15393c2a5
Replace deprecated use of vector.new
with copy
2022-07-08 13:52:58 +02:00
sfan5
0e63f18a73
Add utility script to stress-test mapgen
2022-07-04 01:06:57 +02:00
sfan5
fc3460470a
Add missing item alias metatables to async environment ( #12458 )
2022-07-04 01:06:42 +02:00
Riley
34f15259fa
Fixed spelling inconsistency ( #12504 )
...
coloured -> colored
2022-07-03 08:52:40 -04:00
Vincent Robinson
f7bcf7fa46
FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )
...
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
2022-07-03 08:52:26 -04:00
Lars Müller
5a562a597c
Serialization spec: Fix number fuzzing ( #12496 )
2022-07-02 20:58:23 +01:00
Lars Müller
3e308584a3
Optimize strict.lua ( #12495 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-07-02 19:58:15 +01:00
Wuzzy
9ac3b52fdc
DevTest: Add item meta editor ( #12307 )
2022-07-02 19:58:00 +01:00
Wuzzy
142928e944
Allow to set maximum star opacity at daytime ( #11663 )
2022-07-02 19:57:48 +01:00
rubenwardy
b095dc4f2b
Fix error when item
isn't provided to core.hud_replace_builtin ( #12484 )
2022-07-02 18:28:11 +01:00
rubenwardy
45da0d43fd
Reorganise settingtypes.txt ( #12490 )
...
This organises the settingstype.txt file to use a logical/user-friendly structure. Advanced settings are also demoted to an advanced section at the end.
At most 3 levels of hierarchy are used, as that's the most allowed by the settings redesign
2022-06-30 20:18:09 +01:00
Wuzzy
7494ff2917
Add many limits to settingtypes ( #11463 )
2022-06-30 19:22:11 +01:00
SmallJoker
de8ce9a8ff
Lua API: Refer to the update_translations tool ( #12419 )
...
Lost the link too often. This is much needed.
2022-06-29 22:21:00 +02:00
ROllerozxa
17709d7d0f
Improve warnings when no games or only devtest is installed ( #11955 )
2022-06-29 22:20:12 +02:00
sfan5
a5f385917d
Remove an unused method and header includes
2022-06-28 12:21:12 +02:00
Zughy
18fbc0394b
Remove tile_images and special_materials obsolete code ( #12455 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2022-06-28 00:55:01 +01:00
ROllerozxa
35ad006234
Increase max FPS on Android to 60 ( #12373 )
2022-06-26 14:38:11 +01:00
JosiahWI
4163c872af
Fix two memleak reports from Coverity ( #12466 )
2022-06-26 14:37:50 +01:00
Zughy
4b087a0de2
Docs: remove background9 incorrect example ( #12464 )
2022-06-26 14:37:04 +01:00
SmallJoker
a463620edb
Re-order sound-related code ( #12382 )
...
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated
'fade' and 'pitch' values on server-side where only one was used anyway.
SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included.
Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the
future. Per-type version numbers are kept for now as a safety rope in a special case.
2022-06-20 21:56:12 +02:00
sfan5
0b41533763
Annotate light spread functions with comments
2022-06-20 21:24:28 +02:00
sfan5
e92a217bd1
Fix CAO light calculation issue
2022-06-19 13:30:11 +02:00
sfan5
a83d81ff45
Fix updating glow on entities
...
was broken in #10021 more than 2 years ago(!)
2022-06-17 20:50:24 +02:00
savilli
ae555465ba
Fix zlib (de)compressor memory leaks
2022-06-16 23:53:23 +02:00
Nathanaël Courant
622d857bed
Update my name
2022-06-16 21:38:32 +02:00
x2048
0530ec11c0
Add description of privileges ( #12021 )
...
* Add description of privileges
* Restructure Privileges section based on feedback
* Suggestion by sfan5
Co-authored-by: sfan5 <sfan5@live.de>
* Suggestion by sfan5
Co-authored-by: sfan5 <sfan5@live.de>
* Incorporate comments by sfan5
Co-authored-by: sfan5 <sfan5@live.de>
2022-06-15 21:39:39 +02:00
sfan5
46e7b51352
Add unittests for entity lifecycle and callbacks
2022-06-15 17:20:07 +02:00
sfan5
e9e721b937
Fix entity related bugs
...
* Make minetest.add_entity() binary-safe
* Fix on_death pushing dummy ObjectRef instead of nil
2022-06-15 17:20:07 +02:00
ROllerozxa
992f501159
Fix Android input box crash
2022-06-14 19:22:22 +02:00
Zughy
0f3f1a001c
lua_api.txt: add missing backticks
2022-06-13 18:31:33 +02:00
sfan5
804c255941
Improve lua_api.txt a bunch
2022-06-13 18:31:03 +02:00
Shane Liesegang
c10fe7ec18
Fix permissions on workflow-generated macOS builds ( #12422 )
2022-06-13 18:30:48 +02:00
paradust7
7ffc0268df
Inline triLinearInterpolationNoEase and triLinearInterpolation ( #12421 )
...
Performance profiling on Linux AMD64 showed this to be a significant bottleneck. The non-inlined functions are expensive due to XMM registers spilling onto the stack.
2022-06-11 20:01:30 +02:00
Lars Müller
e7d4ec6834
on_deactivate: distinguish removal and unloading ( #11931 )
...
Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
2022-06-11 20:01:14 +02:00
Lars Müller
f4a53f7ee6
No damage effects on hp_max change ( #11846 )
2022-06-11 20:00:40 +02:00
Lars Müller
3eafcab64e
Builtin: Redo serialize.lua ( #11427 )
...
Features:
* Support for arbitrary references, including self-referencing
* Short output, references "long" strings as a bonus
* Around the same speed, potentially slower if long, short keys are present
* Properly works with NaN and inf
2022-06-11 20:00:26 +02:00
Jude Melton-Houghton
ba65e0ace7
Fix LBM docs
2022-06-11 00:41:26 +02:00
sfan5
213d3562bd
Fix Gitlab-CI pipelines
2022-06-07 22:56:22 +02:00
sfan5
3ac5a24b12
Sanitize player position and speed server-side ( #12396 )
2022-06-07 21:27:05 +02:00
x2048
3107c98591
Mapblock Mesh BspTree: Increase the depth of block-level splits
...
... before going node-level triangle search.
Fixes transparent grass on transparent land
2022-06-07 21:26:31 +02:00
Lars Müller
edc7df5480
core.formspec_escape: Restore backwards compat
...
Support numbers as arguments by using `string.gsub(text, ...)` instead of `text:gsub(...)` which will coerce `text` to a string
2022-06-06 18:32:28 +02:00
paradust7
951604e29f
Remove invalid fps_max on Mac
2022-06-06 12:03:28 +02:00
Zughy
381f84ee27
Bug report template: ask contributors to provide a code snippet ( #12405 )
2022-06-05 16:12:39 -04:00
sfan5
14c283a623
Fix crash in commit a69b7abe00
2022-06-05 19:00:14 +02:00
rubenwardy
4baf56520d
Android: Add support for sharing debug.txt ( #12370 )
2022-06-05 17:42:09 +01:00
sfan5
a69b7abe00
Improve LBMManager::applyLBMs() code
...
Fixes a possible bug for lbms on content ID zero and removes unsafe casts.
2022-06-05 17:48:51 +02:00
rubenwardy
03d86ea0b4
Add register dialog to separate login/register ( #12185 )
...
New users find Minetest's account system confusing.
This change moves username/password to a new dialog,
with login and register buttons added to the Join Game tab.
The old registration confirmation dialog is removed in
favour of the new dialog.
Fixes #8138
2022-06-05 17:47:38 +02:00
ROllerozxa
21323ef1ff
Hide "Autosave Screen Size" on Android
2022-06-05 15:20:39 +02:00
savilli
1f39948bc3
Fix BSD iconv declaration
2022-06-05 15:20:29 +02:00
Lars Mueller
e82985c0a1
Document itemstrings with metadata
2022-06-05 15:20:13 +02:00
JosiahWI
8e5bd82c4d
fix integer overflow in mapgen ( #11641 )
...
* fix integer overflow in mapgen
Some calculations involving the magic seed had overflow because the result of an intermediate arithmetic step could not fit in an s32. By making the magic seed unsigned, the other operand in the equation will be cast to unsigned, and possibly other operands or intermediate operands. This will result in unexpected behavior if an operand is negative, which is technically possible, but logically should not happen.
* comment noise2d bitshift
While working through the code I was momentarily concerned that the right bitshift in noise2d could fill ones in some cases. It turns out that with signed integers, this is indeed true, but this one is shifting an unsigned integer, so the behavior is as expected. I put a comment here to clarify this, in case someone else wonders the same thing down the line.
* noise2d and noise3d unittests
I have added 3 tests each for noise2d and noise3d, testing all zero inputs, a very large seed (case which caused UB in the old implementation) and some fun primes I picked for no particular reason. This should be sufficient to demonstrate that the behavior of the new implementation has not changed. I used uniform initialization because it is a good feature of C++11. Please do not explode.
* uncomment the noise2d bitshift
This reverts commit 583b77ee9f
. It's a
well-defined language semantic; it doesn't need to be commented.
* code cleanliness
2022-06-03 20:51:58 -04:00
sfan5
575caa8015
Properly keep noclip state in Game and ClientMap
2022-06-03 21:48:52 +02:00
sfan5
5f3af7d18b
Remove obsolete eye_height related workaround
...
This was added a long time ago in 42bbd5c9ae
and meant to fix prevent the view becoming black when jumping into a
ceiling, this no longer happens today.
2022-06-03 21:48:52 +02:00
Wuzzy
6a6b579c54
Add helper functions to make tool usable n times ( #12047 )
2022-06-03 21:47:04 +02:00
ROllerozxa
6d163b72dc
Rework main menu confirmation dialogs ( #12356 )
2022-06-03 21:46:37 +02:00
Zughy
b72932b445
Docs: remove unimplemented preserve
field in crafting recipes
2022-06-03 21:46:26 +02:00
sfan5
9fc018ded1
Fix use-after-free in node meta cleanup
...
bug introduced in 8908a91016
2022-05-29 16:30:13 +02:00
sfan5
a9a207685a
Reject registering node with empty name
...
fixes #10769
2022-05-29 14:00:19 +02:00
sfan5
c1d03695d4
Minor code improvements around active block keeping
2022-05-29 14:00:19 +02:00
sfan5
ea74680df4
Immediately activate blocks when a player joins
...
issue: #10884
This makes it possible for objects to immediately be activated,
but doesn't guarantee it since blocks may still need be emerged.
2022-05-29 14:00:19 +02:00
stefan
bb671c3089
Remove debug.get/setmetatable from security whitelist
...
fixes #12216
2022-05-29 14:00:19 +02:00
sfan5
1b68fb7683
Don't allow banning in singleplayer
...
fixes #11819
2022-05-29 14:00:19 +02:00
sfan5
303329f2d6
Handle lua entity HP changes correctly (like punches)
...
fixes #11975
2022-05-29 14:00:19 +02:00
sfan5
85c824ed13
Make sure real disconnect reason isn't overwritten
...
bug introduced in 2f32044273
2022-05-29 14:00:19 +02:00
sfan5
998e4820c9
Fix linking with Postgres libs on older cmake versions
...
closes #12149
2022-05-29 14:00:19 +02:00
sfan5
5cd7b0c6e4
Remove remains of video mode querying
2022-05-29 14:00:19 +02:00
sfan5
8908a91016
Get rid of node metadata when it becomes empty
...
fixes #8943
2022-05-29 14:00:19 +02:00
sfan5
261a8db9dd
Optimize Server::sendMetadataChanged a bit
...
The distance check also never worked as intended, now fixed.
2022-05-29 14:00:19 +02:00
sfan5
f195db2d14
Add API function to invoke player respawn
...
closes #12272
2022-05-29 14:00:19 +02:00
sfan5
da71e86633
Protect a few more settings from being set from mods
...
Of those settings main_menu_script has concrete security impact, the rest are added out of abundance of caution.
2022-05-29 14:00:19 +02:00
sfan5
bccaf5fc2d
Map opaque waving leaves to allfaces drawtype
...
fixes #9842
2022-05-29 14:00:19 +02:00
sfan5
0c6a029413
Improve a translation string
...
fixes #11442
2022-05-29 14:00:19 +02:00
x2048
25ba9d848d
Default settings, presets and configuration for dynamic shadows ( #12359 )
2022-05-29 13:58:57 +02:00
Lars Müller
76000e676b
Lua workflow: Use Leafo's Luarocks action
...
instead of installing outdated packages which lead to failing workflows
2022-05-28 11:31:56 +02:00
Lars Müller
e8b2954586
Builtin: Optimize misc helpers ( #12377 )
...
Also add formspec_escape unit test
2022-05-27 21:40:38 +02:00
Wuzzy
fe299e24d6
DevTest: Add nodes and items for testing overlays ( #12304 )
2022-05-27 21:39:36 +02:00
x2048
ef22c0206f
Force-update shadows when the world is changed ( #12364 )
2022-05-26 22:28:34 +02:00
sfan5
8b74257bf3
Reduce size of ContentFeatures structure
...
On my system this is a reduction from 4664 to 3704 bytes.
This is not for the sake of saving RAM but ensuring
commonly used structures fit into caches better.
2022-05-26 15:49:12 +02:00
sfan5
9a01581cdd
Get rid of global buffer that would ruin concurrent MapBlock serialization
2022-05-26 15:49:12 +02:00
sfan5
5d26ac0088
Improve code in mapblock_mesh.cpp a bit
2022-05-26 15:49:12 +02:00
x2048
ed26ed5a1f
Quantize light frustum calculations ( #12357 )
...
* Quantize light frustum calculations
Reduces shadow flicker
* Fix function name to match conventions
2022-05-23 23:45:18 +02:00
sfan5
16a30556df
Formally drop support for building with upstream Irrlicht
...
It stopped working with (at least) the last commit.
2022-05-23 22:50:58 +02:00
sfan5
5daafc9d33
Fix hash implementation for SerializedBlockCache
2022-05-23 22:50:58 +02:00
Richard Try
e16a470d59
Use unordered_map instead of map for MapSectors
2022-05-23 22:50:49 +02:00
paradust7
367a2d4b29
Add missing concurrency protection in logger ( #12325 )
2022-05-23 22:50:25 +02:00
Wuzzy
0f9c78c3eb
Fix no_texture.png for unknown nodes with ID < 125 ( #12329 )
2022-05-23 22:50:10 +02:00
Zughy
c660218e43
Docs: clarify spawn_by for decorations
2022-05-23 22:49:48 +02:00
Wuzzy
fa682270a9
Add missing comma in example in lua_api.txt ( #12339 )
2022-05-22 15:23:04 -04:00
Wuzzy
ac5e8176b9
Add relative numbers for commands by prepending ~ ( #9588 )
...
* Add relative numbers for commands by prepending ~
* Some builtin code cleanup
* Disallow nan and inf in minetest.string_to_area
* Remove unused local variable teleportee (makes Luacheck happy)
* Clean up core.string_to_pos
* Make area parsing less permissive
* Rewrite tests as busted tests
* /time: Fix negative minutes not working
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
2022-05-22 10:28:24 -04:00
paradust7
9f338f5a56
Replace all uses of core::list with std::list ( #12313 )
2022-05-22 00:11:59 +02:00
paradust7
2742fef458
Fixes needed to use irrArray backed by std::vector ( #12263 )
2022-05-22 00:11:49 +02:00
sfan5
bc59fcf5c5
Bump IrrlichtMt version in CI
2022-05-22 00:11:22 +02:00
sfan5
2f32044273
Don't ignore server disconnects in client code
...
If the server stops talking to us without saying bye we
should actually end the in-game session with an error message.
2022-05-21 17:49:55 +02:00
paradust7
371f21fb35
Fixes to Android build + option to turn LuaJIT on/off for testing purposes ( #12334 )
2022-05-21 17:49:41 +02:00
Zughy
8edc0fae5f
Make no_screenshot image more clear ( #12346 )
2022-05-21 17:48:28 +02:00
paradust7
e1f707d7e1
Patch built-in Lua to fix miscompile on Android ( #12347 )
2022-05-21 17:46:50 +02:00
sfan5
9ee3dc71f1
Optimize JSON string (de)serialization routines
...
stringstreams were shown to be slow when reading/writing single characters
and there is lots of potential by having functions perform on existing
buffers whenever possible.
2022-05-21 17:46:10 +02:00
sfan5
70dc23f996
Improve testSerializeJsonString unit tests
...
this also removes the requirement that / is escaped, there is
no reason for doing so.
2022-05-21 17:46:10 +02:00
rubenwardy
4e9e230e34
Deprecate game.conf name, use title instead ( #12030 )
2022-05-21 16:23:30 +01:00
x2048
dc45b85a54
Improve shadow filters ( #12195 )
...
* Rewrite shadow filtering for the new distortion
* Calculate penumbra radius using a single sample
* Avoid peter-panning effect due to filtering of short shadows
* Add adaptive filter quality for soft shadows
* Avoid sharp shadows on surfaces without normals (e.g. plants)
* Increase default and maximum soft shadow radius
* Make line numbers in shader errors match the code
2022-05-21 16:49:30 +02:00
x2048
a4ef62f5b2
Fix lighting of upright_sprite entities ( #12336 )
...
Use MeshNode materials to set the light since ReadOnlyMaterials is now false
2022-05-20 22:35:03 +02:00
x2048
604fb2b738
Fix lighting of the wield mesh ( #12341 )
...
* Assign node light to player before final color blend.
Fixes day/night lightbank ratio for wield meshes
* Update wield mesh light when changing mesh
2022-05-20 22:33:52 +02:00
paradust7
273bfee9a1
Use std::map instead of core::map ( #12301 )
2022-05-18 12:31:49 +02:00
savilli
af37f9dc54
Remove confusing message in keybindings menu
2022-05-17 20:11:08 +02:00
JakobDev
db9b3aff75
Add vcs-browser and contribute URLs to Appdata
2022-05-17 20:08:32 +02:00
Wuzzy
eabf05758e
DevTest: Fix broken PNG textures
2022-05-17 20:06:15 +02:00
Dmitry Kostenko
8756b7a735
Initialize wield mesh color when wield_image is set
...
#12245
2022-05-15 21:44:55 +02:00
sfan5
ec9f157512
Use native packer to transfer globals into async env(s)
2022-05-10 22:37:42 +02:00
Jude Melton-Houghton
7f58887ae3
Support packing arbitrary graphs ( #12289 )
2022-05-10 22:37:33 +02:00
Jude Melton-Houghton
d17d7eba14
Fix cooking and fuel crafts with aliases
2022-05-10 22:37:05 +02:00
Zughy
4fb4991f5e
Add doc to list breaking changes for the next major release
2022-05-10 22:36:50 +02:00
Octavian
0f8c46771e
Fix possible unreliable behavior due to uninitialized variables
2022-05-10 22:36:25 +02:00
sfan5
f5a8593b11
Add more Prometheus metrics ( #12274 )
2022-05-09 21:20:58 +02:00
Lars Müller
c2898f53bc
HUD: Update selection mesh every frame ( #12270 )
...
Fixes outdated selection boxes after entity property changes.
2022-05-09 20:43:47 +02:00
Lars Müller
089797dbe6
Fix Minetest blaming the wrong mod for errors ( #12241 )
...
Covers the case where mods insert their callbacks manually into "minetest.registered_<callbacks>" (often to achieve a particular order of execution).
2022-05-09 20:42:43 +02:00
Lars Müller
53c70b5f27
Docs: Recommend self.name
( #12239 )
2022-05-09 20:41:47 +02:00
sfan5
a66e6d4dff
Consolidate some data structures in MapBlockMesh
2022-05-08 19:12:10 +02:00
sfan5
1fa4f58080
Cache serialized mapblocks during sending
...
This reduces the
(absolute) time spent in Server::SendBlocks() from 700ms to 300ms
(relative) share of MapBlock::serialize() from 80% to 60%
in a test setup with 10 players and many block changes
2022-05-08 19:12:10 +02:00
sfan5
7fff9da71d
item_entity: Cache collisionbox for use in on_step
...
I don't have absolute numbers but if calls to get_properties() take up
30%+ of on_step() execution time that's bound to matter.
2022-05-08 19:12:10 +02:00
ROllerozxa
f128f4cba1
Fix mapblock geometry optimisation not working
...
Caused by the depth sorting PR marking not only transparent nodes to be ignored but also opaque ones with the TILE_MATERIAL_BASIC material type
2022-05-08 19:11:44 +02:00
Zughy
6f0c966877
Remove unused variable WARN_INIT
2022-05-08 19:11:15 +02:00
Jude Melton-Houghton
f10a260301
Enable dependencies when enabling modpacks ( #12202 )
2022-05-08 16:21:59 +01:00
Jude Melton-Houghton
54bc8a7627
Fix enabling of dependencies with identical names ( #12253 )
2022-05-08 14:14:14 +01:00
rubenwardy
9824a451bb
Fix mods not being recursively enabled
...
Fixes #12290
2022-05-08 14:01:32 +01:00
rubenwardy
e0e897832c
Fix texture packs showing as "Nil (enabled)" in Content tab
...
Fixes #12285
2022-05-07 23:05:39 +01:00
paradust7
87472150bc
Add benchmarks for json string serialize/deserialize ( #12258 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06 21:17:16 +01:00
Froggo
45d318a773
Enable chat clickable weblinks by default ( #12115 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-06 21:15:16 +01:00
sfan5
4e1de06782
Bump IrrlichtMt to 1.9.0mt5 in CI
2022-05-06 15:16:04 +02:00
sfan5
8735a85a30
Declare all bundled libs as static
...
Otherwise it can happen that these are built as shared depending on the
options passed to CMake, which obviously isn't intended.
2022-05-06 15:16:04 +02:00
sfan5
e108954633
Sort out some issues with our CI setup
...
* add missing apt-get update where needed
* move some jobs to run on ubuntu-20.04
* update actions plugins to latest
* speed up the job that runs multiplayer tests
2022-05-06 15:15:53 +02:00
LoneWolfHT
47cf257c40
Fix Windows Visual Studio actions ( #11176 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-04 22:55:02 +01:00
x2048
cc56ebd90d
Avoid rendering invisible faces of simple nodeboxes ( #12262 )
...
* Skip rendering faces adjacent to opaque nodes
* Cancel out opposite faces of adjacent nodebox nodes of the same type
Fixes #6409
2022-05-04 23:44:55 +02:00
Lars Müller
89c82035d8
hud_get: Return precision field for waypoints ( #12215 )
2022-05-04 20:55:20 +02:00
SmallJoker
3ce5a68cd1
guiScalingFilter: Fix most memory leaks ( #12256 )
...
Calls to the cache function ended up creating a new texture regardless whether
the texture is already cached.
2022-05-04 20:55:13 +02:00
paradust7
0704ca0550
Make logging cost free when there is no output target ( #12247 )
...
The logging streams now do almost no work when there is no output target for them.
For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
2022-05-04 20:55:01 +02:00
Lars Müller
ae7664597e
Add vector.combine ( #11920 )
2022-05-04 07:44:14 -04:00
rubenwardy
e9e671078c
ContentDB: Fix ungraceful crash on aliases when list download fails
...
Fixes #12267 and fixes #12154
2022-05-03 20:00:29 +01:00
sfan5
71a56c3552
Fix broken FPS/dtime counters in debug info
...
was broken by a89afe1229
2022-05-03 20:17:43 +02:00
sfan5
e7659883cc
Async environment for mods to do concurrent tasks ( #11131 )
2022-05-02 20:56:06 +02:00
sfan5
663c936428
Fix synchronization issue at thread start
...
If a newly started thread immediately exits then m_running would
immediately be set to false again and the caller would be stuck
waiting for m_running to become true forever.
Since a mutex for synchronizing startup already exists we can
simply move the while loop into it.
see also: #5134 which introduced m_start_finished_mutex
2022-05-02 20:54:55 +02:00
sfan5
56a558baf8
Refactor some Lua API functions in preparation for async env
2022-05-02 20:54:55 +02:00
sfan5
e6385e2ab7
Reorganize some builtin functions in preparation for async env
2022-05-02 20:54:55 +02:00
sfan5
5362f472ff
Remove some unused variable from Lua class wrappers
2022-05-02 20:54:55 +02:00
JakobDev
41e79d902d
Add German translation to AppData file ( #12161 )
2022-05-02 18:22:23 +02:00
x2048
c7bcebb628
Initialize wield mesh colors when changing item. ( #12254 )
...
Fixes #12245
2022-05-01 17:21:00 +02:00
sfan5
a89afe1229
Deal with compiler warnings
2022-04-30 16:49:41 +02:00
sfan5
faecff570c
Enable additional warning flags
...
also make them work with the RelWithDebInfo build type
2022-04-30 16:49:41 +02:00
x2048
828461c193
Run automated tests when lua files change ( #12184 )
...
* Run automated tests when lua files change
* skip busted on devtest
* use newer build env
* Add .luacheckrc for games/devetest
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-30 15:54:07 +02:00
qwerty123a2
ec4a789b4f
Update mods_here.txt to mention installing mods via CDB ( #11876 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-04-29 17:15:19 +01:00
sfan5
a65f6f07f3
Clean up some auth packet handling related code
2022-04-28 20:05:26 +02:00
sfan5
00f71c3b9d
Fix password changing getting stuck if wrong password is entered once
2022-04-28 19:55:36 +02:00
sfan5
3d2bf8fb02
Apply disallow_empty_password to password changes too
2022-04-28 19:55:36 +02:00
sfan5
391eec9ee7
Fix race condition in registration leading to duplicate create_auth calls
2022-04-28 19:55:36 +02:00
Oblomov
0d91ef78dd
Refactor local time getter functions ( #12221 )
...
This commit introduces mt_localtime() in src/gettime.h, a wrapper
around the OS-specific thread-safe versions of localtime()
(resp. localtime_s on Windows and localtime_r in other systems).
Per the Open Group recommendation,
«portable applications should call tzset() explicitly before using
ctime_r() or localtime_r() because setting timezone information is
optional for those functions», so we also do a one-shot
call of tzset() (_tzset() on Windows to avoid warning C4996).
The function is used to replace the localtime() calls in
getTimestamp() and makeScreenshot().
(The only reminaing call to localtime() in the tree now is the one in
the local copy of the Lua source code.)
2022-04-28 18:53:33 +02:00
paradust7
7e18a1f1be
Remove HW_buffer_counter after IrrlichtMt fix to remove HWBufferMap ( #12232 )
...
Keep code and use version check instead, for backwards compatibility
2022-04-28 18:52:19 +02:00
Wuzzy
7f4fc6f8a7
Show unknown node in debug screen ( #12230 )
2022-04-28 18:51:46 +02:00
Wuzzy
a2f13e479b
DevTest: Fix armorball sprite ( #12228 )
2022-04-28 18:51:16 +02:00
Lars Müller
fccf1e2eac
Support CSS Color Module Level 4 ( #12204 )
2022-04-27 17:00:02 -04:00
rubenwardy
480d5f2d51
Fix texture packs not showing as enabled in mainmenu
...
Fixes #12219
2022-04-24 23:09:23 +01:00
Alex
a6170963b8
Fix invalid queued package element and path ( #12218 )
2022-04-24 22:49:07 +01:00
Wuzzy
77325b92fb
DevTest: Add more test weapons and armorball modes ( #11870 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-24 22:48:50 +01:00
Giuseppe Bilotta
b55d7cd45a
Fix worldaligned textures
...
As reported in #12197 , b0b9732359
introduces a regression in worldalign textures.
The specific change that seems to be responsible for this issue is the
change in order between the computation of the cuboid texture
coordinates and the box edge correction.
Fix #12197 by moving the box edge correction back to before the cuboid
texture coordinates, as it used to be.
2022-04-24 21:11:24 +02:00
Giuseppe Bilotta
23f981c458
Fix some textures not being sent correctly to older clients
...
Since b2eb44afc5
, a texture defined as
`[combine:16x512:0,0=some_file.png;etc`
will not be sent correctly from a 5.5 server to a 5.4 client due to the
overeager detection of unsupported base modifier `[` introducing a
spurious `blank.png^` before the modifier.
Fix this by whitelisting which base modifiers can be passed through
unchanged to the client, and prefix `blank.png` for the others
(which at the moment is just [png:, but the list may grow larger
as new base modifiers are added.)
2022-04-24 21:10:23 +02:00
Lars Müller
48d1bca9b8
Fix typo: vector.check() ought to be vector.check(v)
2022-04-24 21:10:03 +02:00
olive
a13cf0e3ce
Use mod names/titles instead of technical names ( #12192 )
2022-04-24 21:09:11 +02:00
SmallJoker
1c8614ac9a
Builtin: Allow to revoke unknown privileges
2022-04-24 21:08:33 +02:00
Lars Müller
4558793caf
Fix some debug info showing despite being disabled in the UI ( #12205 )
2022-04-21 21:45:47 +02:00
Lars Müller
583257f093
Update docs to reference CSS Color Module Level 3
...
as the named color "rebeccapurple" is unavailable, Level 4 clearly isn't supported; the link should not point to a dev version of the spec either
2022-04-21 21:45:20 +02:00
paradust7
7cea688a1c
Fix '[combine' when EVDF_TEXTURE_NPOT is disabled. ( #12187 )
...
Stop scaling images to POT immediately when loaded. The 'combine'
modifier hardcodes X and Y coordinates, and so behaves incorrectly
if applied to a scaled image. Images emitted by generateImage()
are already scaled to POT before being used as a texture, so
nothing should break.
2022-04-16 18:50:59 +02:00
olive
062dd8dabc
Send chat error when attemping to /set a secure setting ( #12193 )
...
Attempting to /set a secure setting will now say that is disallowed.
Previously this would shut down the server.
Reading secure settings via /set is still allowed.
2022-04-16 18:50:36 +02:00
SmallJoker
1d07a36552
upright_sprite: Fix walk animation in first person ( #12194 )
2022-04-15 18:55:08 +02:00
x2048
a5d29fa1d4
Implement shadow offsets for the new SM distortion function ( #12191 )
...
* Move shadow position calculation to vertex shaders
* Animate entire scene before rendering shadows to prevent lagging of shadows
* Remove unnecessary use of PolygonOffsetFactor
* Apply normal offset to both nodes and objects
* Rename getPerspectiveFactor -> applyPerspectiveDistortion
* Remove perspective distortion from fragment shaders
2022-04-14 22:49:30 +02:00
Lars Mueller
9aabd911eb
Fix item entity Z-fighting
2022-04-10 23:25:00 +02:00
Lars Müller
1f27bf6380
Remove unneeded ObjectRef setter return values ( #12179 )
2022-04-10 23:20:51 +02:00
ShadowNinja
2d8eac4e0a
Don't test overflow behavior for VoxelArea extents
2022-04-08 14:55:21 +01:00
ShadowNinja
833538cc90
Remove generate-texture-normals.sh
...
Minetest does not use normal maps any more.
2022-04-08 14:55:21 +01:00
ShadowNinja
80db8804c7
Fix typo and update settings files
2022-04-08 14:55:21 +01:00
ShadowNinja
d9effbb179
Fix spaces generated by settings file generator
2022-04-08 14:55:21 +01:00
ShadowNinja
24a0f55c9c
Use CMake's -B, --build, and --install options
2022-04-08 14:55:21 +01:00
ShadowNinja
f5e54cd398
Fix OOB read in trim("")
2022-04-08 14:55:21 +01:00
ShadowNinja
c9317a16c5
Remove duplicate test for trim
2022-04-08 14:55:21 +01:00
ShadowNinja
dae6fe91a1
Update directory name sanitization
...
Only ASCII spaces have to be handles specially, and leading spaces are
also disallowed.
2022-04-08 14:55:21 +01:00
ShadowNinja
65fdc7ae50
Add tests for sanitizeDirName
2022-04-08 14:55:21 +01:00
ShadowNinja
00ebedad93
Add additional reserved directory names
2022-04-08 14:55:21 +01:00
ShadowNinja
35bfffb556
Auto-detect level of parallelism
2022-04-08 14:55:21 +01:00
ShadowNinja
8af332c9a7
Remove duplication in config.h
2022-04-08 14:55:21 +01:00
ShadowNinja
7993909fab
Spacing fixes
2022-04-08 14:55:21 +01:00
ShadowNinja
88b21a72f1
Treat empty XDG_CACHE_HOME same as unset
...
This matches the XDG base directory spec.
2022-04-08 14:55:21 +01:00
ShadowNinja
ea2fba877a
Use build directory for builds
2022-04-08 14:55:21 +01:00
ShadowNinja
5683bb76cc
Fix compiler warnings
2022-04-08 14:55:21 +01:00
Dmitry Kostenko
3a87fab6c8
Remove reference to a removed file in devtest (followup to #12157 )
2022-04-07 23:13:09 +02:00
Dmitry Kostenko
23516acd0b
Remove obsolete commented code (follow up to #12166 )
2022-04-07 22:38:01 +02:00
x2048
48f7c5603e
Adjust shadowmap distortion to use entire SM texture ( #12166 )
2022-04-07 22:13:50 +02:00
Jude Melton-Houghton
0b5b2b2633
Disentangle map implementations ( #12148 )
...
Fixes violation of Liskov substitution principle
Fixes #12144
2022-04-07 21:58:04 +02:00
x2048
1348d9aaf8
Enable shadows by default in devtest ( #12157 )
...
* Move all shadow control to util_commands
* Shadows are now controlled with /set_shadow
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-07 21:55:19 +02:00
Jude Melton-Houghton
21f17e871e
Compile Lua as C++ ( #11683 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-04-07 15:54:17 +01:00
sfan5
837cea6b4a
Fix -mwindows flag not being applied anymore
...
closes #12165
2022-04-03 21:44:22 +02:00
x2048
b0b9732359
Add depth sorting for node faces ( #11696 )
...
Use BSP tree to order transparent triangles
https://en.wikipedia.org/wiki/Binary_space_partitioning
2022-04-02 10:42:27 +02:00
Dmitry Kostenko
26c046a563
Increase the ratio between shadow range and viewing range
2022-04-02 10:39:43 +02:00
Dmitry Kostenko
cf650fcaac
Avoid negation of comparison operator (luacheck warning)
2022-04-01 09:00:39 +02:00
x2048
3dd7d7867b
Limit shadow map to the viewing range ( #12158 )
2022-03-31 22:40:59 +02:00
x2048
31578303a4
Tune shadow perspective distortion ( #12146 )
...
* Pass perspective distortion parameters as uniforms
* Set all perspective bias parameters via ShadowRenderer
* Recalibrate perspective distortion and shadow range to render less shadow geometry with the same quality and observed shadow distance
2022-03-31 22:40:06 +02:00
Jude Melton-Houghton
06d197cdd0
Store vector metatable in registry
2022-03-29 18:07:00 +02:00
Jude Melton-Houghton
11aab4198b
Optimize swapping nodes with equivalent lighting
2022-03-29 18:06:44 +02:00
DS
8d387433b1
Fix the documentation of InvRef:get_lists() and clean up code ( #12150 )
2022-03-29 18:06:16 +02:00
x2048
0f25fa7af6
Add API to control shadow intensity from the game/mod ( #11944 )
...
* Also Disable shadows when sun/moon is hidden. Fixes #11972 .
2022-03-26 16:58:26 +01:00
DS
8d55702d13
Improve lua vector helper class doumentation ( #12090 )
2022-03-19 12:06:55 +01:00
Daroc Alden
e54f5e544f
Fix memory leak in EmergeManager
...
EmergeManager keeps a copy of the BiomeGen that it creates, but
never deletes it.
2022-03-14 21:01:36 +01:00
Gregor Parzefall
289c3ff377
Fix footsteps for players whose collision box min y != 0 ( #12110 )
2022-03-14 21:01:18 +01:00
Daroc Alden
11f3f72f1c
Fix undefined behavior in TileLayer ( #12125 )
...
Initialize the values properly
2022-03-11 21:22:49 +01:00
sfan5
ad7c72c164
Remove direct OpenGL(ES) dependency
...
IrrlichtMt now provides this for us (see last commit)
fixes #12041
2022-03-09 22:37:34 +01:00
sfan5
51294163bb
Use Irrlicht bindings for GL call
2022-03-09 22:37:34 +01:00
Daroc Alden
598efbf7f9
Fix memory leak from SpatialAreaStore ( #12120 )
2022-03-09 19:28:12 +01:00
Dmitry Kostenko
b651bbf446
Reuse normal offset calculation for nodes
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
4801bdf45a
Correct normal bias for entities
...
Remove use of magic constants.
Apply cameraOffset
Calculate distance projected on SM plane
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
25c1974e0d
Change normal bias for entities to avoid shadow acne
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
12896b22d8
Remove debugging code
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
e531c59606
Ensure nightRatio is greater than zero in object shader
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
8f652f4e31
Fix shadows for upright sprite nodes
...
Avoid using read only materials in mesh scene node, as
it confuses shadow renderer.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
97cb404822
Apply texture matrix when rendering shadowmap
...
Fixes shadows of animated sprite entities
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
d2a3bed240
Avoid possible buffer overflow when checking face normals
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
e4583cb9b7
Use correct indexes when checking mesh normals
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
a684a91bf5
Fix shadow rendering with filtering disabled
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
1175f48d05
Detect 'insane' normals in checkMeshNormals.
...
Detect non-zero normals which point in the opposite direction from the
face plane normal.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
54dccc480e
Improve lighting of entities.
...
Pass correct natural & artificial light to the shaders
Use natural/artificial light ratio for correct rendering of shadows
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
f2cccf8da7
Improve self-shadowing based on light/normal angle
...
Add compatibility with colored shadows.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
10be033791
Copy shadow mapping shader from nodes to objects
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
4e39cdef94
Apply shadow texture to wield-based entities
...
For example, dropped nodes and items.
2022-03-07 23:45:26 +01:00
Dmitry Kostenko
2bba53b2c3
Render shadows on entities.
...
Fixes problem with mod 'drawers'.
2022-03-07 23:45:26 +01:00
Lars Müller
b9e886726c
Readd basic_debug as a HUD flag ( #12020 )
2022-03-05 22:16:17 +01:00
Zughy
44fc888bd6
Allow get_sky to return a table ( #11963 )
2022-03-05 22:15:41 +01:00
sfan5
f2d1295fe6
Fix segfault with autoscale_mode (again)
...
closes #12100
This time add some asserts so there is no misunderstanding about the NULL-ness of layer->texture.
2022-03-02 17:49:45 +01:00
sfan5
04bd253390
Move the codebase to C++14
2022-02-26 14:39:41 +01:00
rubenwardy
7db751df3b
Fix broken dependency enabling due to missing enabled
field ( #12093 )
2022-02-24 16:01:22 +00:00
SmallJoker
f7311e0d97
Lua API documentation: Various fixes ( #12059 )
...
Change 1: Clarify when on_step collision information is provided
Change 2: Document PostgreSQL and Redis settings
Change 3: Overall AreaStore documentation improvements including consistent parameter naming based on community suggestions
2022-02-23 21:21:37 +01:00
DS
633e23bd65
FormspecMenu: make drawing of backgrounds less hacky ( #9517 )
2022-02-22 19:17:53 +01:00
Nils Dagsson Moskopp
7c227d2a00
Add TGA test nodes to devtest ( #11978 )
2022-02-22 19:17:40 +01:00
Lars Müller
0a0fb11c21
Lua API: Consistently use double vs. single quotes ( #12075 )
2022-02-22 19:17:08 +01:00
sfan5
c31b301722
Clean up ClientReady packet handling
...
fixes #12073
2022-02-17 23:20:33 +01:00
pecksin
5d0b18a0d0
Use absolute value for bouncy in collision ( #11969 )
...
* use abs(bouncy) in collision
* test case for negative bouncy
* send abs(bouncy) to old clients
2022-02-16 17:06:00 -05:00
ROllerozxa
258ae99491
Apply texture pack main menu textures immediately ( #12018 )
2022-02-12 20:24:20 +01:00
Wuzzy
10cf2f3edd
Add support for 'seed' in disallow_mapgen_settings ( #12023 )
2022-02-12 20:23:58 +01:00
Dennis Jenkins
0cd9c5b5be
Correct world_format.txt specification ( #12061 )
...
The node timers appear at the end of a mapblock for map format version >= 25, not just map format version 25.
2022-02-12 20:23:46 +01:00
DS
a8707158a5
Allow to set the displayed item count and its alignment via meta ( #8448 )
...
* Allow to set the displayed item count and its offset via meta
* fix rect constr call
* devtest: add dump_item chatcommand
* fix rect2 constr call (sdim is a position (typedef for v2s32), not a dimension) and remove background because it would work now
* add missing utf8 to wide conversion
* rename to count_meta
2022-02-10 06:17:52 -05:00
Lars Müller
ad1da994b2
Increase max objects per block defaults ( #12055 )
2022-02-08 19:33:10 +01:00
sfan5
ba6fbc417e
Remove awful Mingw32 workarounds
...
Instead a warning is triggered if an affected compiler is detected.
closes #12022
2022-02-08 19:31:24 +01:00
sfan5
ce199d6f9e
Update MinGW used by CI
...
This made a rebuild of 32-bit deps necessary.
They were updated in the process and this was done for 64-bit too for consistency.
2022-02-08 19:31:24 +01:00
Gaël C
0dd8e8c242
Noise params serialization fixup
2022-02-08 19:30:49 +01:00
Lars Müller
b9ee29a945
Send HUD flags only if changed
2022-02-08 19:28:32 +01:00
Zughy
be05c9022d
Update copyright year in README ( #12029 )
2022-02-04 20:29:39 +01:00
sfan5
afb061c374
Fix broken server startup if curl is disabled ( #12046 )
2022-02-04 20:29:28 +01:00
Lars Müller
1ee37148a8
Fix types of get_mapgen_setting_noiseparams ( #12025 )
2022-02-04 20:28:43 +01:00
Jude Melton-Houghton
1c73902005
Clean up ClientInterface locking
2022-02-03 11:43:51 +01:00
DS
d387e9b6d3
Add more documentation for the list[] fs element ( #11979 )
2022-02-03 11:43:28 +01:00
sfan5
163d3547e6
Fix macOS compile instructions
2022-01-31 22:48:29 +01:00
rubenwardy
c61998bd20
Revert "Disable dynamic shadows for the 5.5.0 release" ( #12032 )
2022-01-31 21:48:14 +00:00
Lars Mueller
1e4d6672be
Fix builtin statbar backgrounds
...
see #12000
2022-01-31 16:35:30 -05:00
Lars Mueller
80812b86d6
Document moon orientation relative to sun
2022-01-31 07:36:39 -05:00
rubenwardy
128f6359e9
Use virtual paths to specify exact mod to enable ( #11784 )
2022-01-30 22:40:53 +00:00
sfan5
8c0331d244
Continue with 5.6.0-dev
2022-01-30 22:58:19 +01:00
sfan5
54b805ffd0
Bump version to 5.5.0
2022-01-30 22:58:18 +01:00
sfan5
484a4b518f
Add another very awful workaround to prevent a crash on Mingw32
...
This appears to be the same issue as 70df3d54f3
.
Hopefully the next MinGW update will remove the need for this.
2022-01-30 22:57:44 +01:00
sfan5
5e4a01f2de
Update credits for 5.5.0 release ( #12001 )
2022-01-30 21:33:08 +01:00
sfan5
5da204f5bc
Get rid of basic_debug
last minute
...
This isn't a revert but rather just disables the codepaths. also see #12011
2022-01-30 21:32:49 +01:00
sfan5
b66477c29f
Abort raycasts that go out-of-bounds ( #12006 )
2022-01-30 21:31:18 +01:00
poi
a0e4b2bf54
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.4% (1323 of 1416 strings)
2022-01-30 19:53:29 +01:00
Nikita Epifanov
98982065ed
Translated using Weblate (Russian)
...
Currently translated at 97.8% (1386 of 1416 strings)
2022-01-30 19:53:29 +01:00
Wuzzy
49adce1a63
Translated using Weblate (German)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-01-30 19:53:29 +01:00
Andrij Mizyk
7c393f8658
Translated using Weblate (Ukrainian)
...
Currently translated at 48.7% (691 of 1416 strings)
2022-01-30 19:53:29 +01:00
waxtatect
fcd06d99c6
Translated using Weblate (French)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-01-30 19:53:29 +01:00
BreadW
f3e23ae972
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-01-30 19:53:29 +01:00
Marian
39f5b05ae9
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-01-30 19:53:29 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
9205f10208
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1416 of 1416 strings)
2022-01-30 19:53:29 +01:00
Balázs Kovács
8b9e5b47df
Translated using Weblate (Hungarian)
...
Currently translated at 86.0% (1219 of 1416 strings)
2022-01-30 19:53:29 +01:00
Thomas Wagner Nielsen
17bb2712cb
Translated using Weblate (Danish)
...
Currently translated at 39.9% (566 of 1416 strings)
2022-01-30 19:51:22 +01:00
Wuzzy
9d3135a21b
Update German builtin translation
2022-01-30 13:50:07 +01:00
Wuzzy
777fb616b6
Update builtin translation templates
2022-01-30 13:50:07 +01:00
ROllerozxa
172acce352
Fix Minetest logo when installed system-wide
2022-01-30 13:49:52 +01:00
sfan5
f69eead62e
Get rid of empty test file
2022-01-30 13:49:26 +01:00
sfan5
a9bccb964f
Raise max mapgen limit constant to align with mapblock size
2022-01-30 13:49:26 +01:00
SmallJoker
74a384de0a
Auto-update minetest.conf.example
2022-01-29 18:42:55 -05:00
SmallJoker
a27362de6a
Disable dynamic shadows for the 5.5.0 release
...
The dynamic shadows are yet not in the desired state to justify the
inclusion into version 5.5.0. A stable release is long overdue, hence
this allows fixes to continue in 5.6.0-dev to finally release an
acceptable version of the dynamic shadows feature.
Reverting this commit is highly recommended to proceed in development.
2022-01-29 18:42:55 -05:00
sfan5
66e8aae9f2
Get rid of legacy workaround in SQLite backend
...
tested on Android 11, fixes #11937
2022-01-28 17:16:02 +01:00
sfan5
91c6728eb8
Add game name to server status string
2022-01-28 17:15:10 +01:00
sfan5
22f0c66abb
Request execution on dedicated GPU on Windows
2022-01-27 22:30:02 +01:00
sfan5
7aea5cb88f
Enable high-res timers on Windows
...
This should fix issues like #11891 , caused by the fps limiting
code being unable to operate correctly.
2022-01-27 22:30:02 +01:00
sfan5
058846d687
Rework drawtime and related timekeeping code to use microseconds
2022-01-27 22:30:02 +01:00
Jude Melton-Houghton
fc161e757c
Automatically migrate client mod storage ( #11960 )
2022-01-27 22:24:30 +01:00
SmallJoker
47735c273c
Builtin: Sanity-check /time inputs ( #11993 )
...
This enforces the documented bounds for the /time command.
2022-01-27 22:23:14 +01:00
Lars Müller
fe0b2d02bf
Define control(bits) as "unset" for entities ( #11995 )
2022-01-27 22:22:58 +01:00
updatepo.sh
48e508052a
Update translations
2022-01-25 23:19:13 +01:00
updatepo.sh
0d0786e414
Update example config and translation .cpp
2022-01-25 23:18:50 +01:00
poi
4f0d7738b3
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 93.8% (1328 of 1415 strings)
2022-01-25 23:05:57 +01:00
Balázs Kovács
76d7816749
Translated using Weblate (Hungarian)
...
Currently translated at 85.5% (1210 of 1415 strings)
2022-01-25 23:05:57 +01:00
rubenwardy
8c486aaeae
Translated using Weblate (Spanish)
...
Currently translated at 79.5% (1125 of 1415 strings)
2022-01-25 23:05:57 +01:00
Gao Tiesuan
2c338032ed
Translated using Weblate (Chinese (Literary))
...
Currently translated at 0.6% (9 of 1415 strings)
2022-01-25 23:05:57 +01:00
Gao Tiesuan
94128924b2
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.4% (1308 of 1415 strings)
2022-01-25 23:05:57 +01:00
Gao Tiesuan
319c4d1274
Added translation using Weblate (Chinese (Literary))
2022-01-25 23:05:57 +01:00
Wuzzy
7a8efa7f4f
Translated using Weblate (German)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:57 +01:00
Mehmet Ali
6c3c2b3f92
Translated using Weblate (Turkish)
...
Currently translated at 98.6% (1396 of 1415 strings)
2022-01-25 23:05:57 +01:00
Yiu Man Ho
f1ac573e9a
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 79.9% (1131 of 1415 strings)
2022-01-25 23:05:57 +01:00
Kisbenedek Márton
0be76c0bf5
Translated using Weblate (Hungarian)
...
Currently translated at 79.9% (1131 of 1415 strings)
2022-01-25 23:05:57 +01:00
pampogo kiraly
c07aeb0075
Translated using Weblate (Hungarian)
...
Currently translated at 79.7% (1129 of 1415 strings)
2022-01-25 23:05:57 +01:00
Sebastian Jasiński
4e5de9607b
Translated using Weblate (Polish)
...
Currently translated at 69.8% (988 of 1415 strings)
2022-01-25 23:05:57 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
c6f3dcc009
Translated using Weblate (Malay (Jawi))
...
Currently translated at 65.3% (925 of 1415 strings)
2022-01-25 23:05:57 +01:00
Mikitko
620ba51375
Translated using Weblate (Russian)
...
Currently translated at 98.5% (1394 of 1415 strings)
2022-01-25 23:05:57 +01:00
Imre Kristoffer Eilertsen
1a98351212
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 56.5% (800 of 1415 strings)
2022-01-25 23:05:57 +01:00
Muhammad Rifqi Priyo Susanto
d4746b349d
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:57 +01:00
AFCMS
d9caa1bd48
Translated using Weblate (French)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
Joaquín Villalba
c3a82b9a49
Translated using Weblate (Spanish)
...
Currently translated at 79.6% (1127 of 1415 strings)
2022-01-25 23:05:56 +01:00
debiankaios
c4b47269a4
Translated using Weblate (German)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
109247019824
b4cc25f25b
Translated using Weblate (Bulgarian)
...
Currently translated at 30.6% (434 of 1415 strings)
2022-01-25 23:05:56 +01:00
Allan Nordhøy
7645c95110
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 54.7% (775 of 1415 strings)
2022-01-25 23:05:56 +01:00
Minetest-j45
4decded6ab
Translated using Weblate (Spanish)
...
Currently translated at 79.6% (1127 of 1415 strings)
2022-01-25 23:05:56 +01:00
waxtatect
471031e516
Translated using Weblate (French)
...
Currently translated at 99.9% (1414 of 1415 strings)
2022-01-25 23:05:56 +01:00
AFCMS
c8d621e0b4
Translated using Weblate (French)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
ssantos
b1ea3a6199
Translated using Weblate (Portuguese)
...
Currently translated at 98.9% (1400 of 1415 strings)
2022-01-25 23:05:56 +01:00
Mateusz Mendel
bb2d79f930
Translated using Weblate (Polish)
...
Currently translated at 69.6% (985 of 1415 strings)
2022-01-25 23:05:56 +01:00
Gert-dev
c416394ab2
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
pesder
02478d2db6
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 70.3% (996 of 1415 strings)
2022-01-25 23:05:56 +01:00
Stas Kies
9740a35685
Translated using Weblate (Russian)
...
Currently translated at 98.5% (1394 of 1415 strings)
2022-01-25 23:05:56 +01:00
xerxstirb
7f1db70919
Translated using Weblate (Swedish)
...
Currently translated at 58.5% (828 of 1415 strings)
2022-01-25 23:05:56 +01:00
ROllerozxa
02c288fa13
Translated using Weblate (Swedish)
...
Currently translated at 58.5% (828 of 1415 strings)
2022-01-25 23:05:56 +01:00
Nikita Epifanov
f6ae8b6350
Translated using Weblate (Russian)
...
Currently translated at 97.6% (1382 of 1415 strings)
2022-01-25 23:05:56 +01:00
Linerly
e59e16161f
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
IAmOlive
7b46bcbbb8
Translated using Weblate (Vietnamese)
...
Currently translated at 20.3% (288 of 1415 strings)
2022-01-25 23:05:56 +01:00
Gabriel Cardoso
9b2dd0c7b3
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 99.2% (1404 of 1415 strings)
2022-01-25 23:05:56 +01:00
BreadW
8eeab37473
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
Marian
c745e711ec
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
abidin toumi
f022f030d0
Translated using Weblate (Arabic)
...
Currently translated at 37.8% (535 of 1415 strings)
2022-01-25 23:05:56 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
8ab369475f
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
Oğuz Ersen
9d1aed01fc
Translated using Weblate (Turkish)
...
Currently translated at 98.6% (1396 of 1415 strings)
2022-01-25 23:05:56 +01:00
Andrei Stepanov
a2cdc6de33
Translated using Weblate (Russian)
...
Currently translated at 96.5% (1366 of 1415 strings)
2022-01-25 23:05:56 +01:00
Simone Starace
828ecac826
Translated using Weblate (Italian)
...
Currently translated at 97.9% (1386 of 1415 strings)
2022-01-25 23:05:56 +01:00
Muhammad Rifqi Priyo Susanto
a0edf2849a
Translated using Weblate (Indonesian)
...
Currently translated at 99.9% (1414 of 1415 strings)
2022-01-25 23:05:56 +01:00
Wuzzy
e7fe20ada6
Translated using Weblate (German)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
waxtatect
37aa8468a0
Translated using Weblate (French)
...
Currently translated at 100.0% (1415 of 1415 strings)
2022-01-25 23:05:56 +01:00
Jude Melton-Houghton
1b2176a426
Cancel emerge callbacks on shutdown
2022-01-23 00:56:17 +01:00
Vincent Robinson
95a775cd3a
Bump formspec version ( #11980 )
2022-01-23 00:55:43 +01:00
Dmitry Kostenko
71317b8579
Make sure nightRatio is always greater than zero.
...
To avoid underfined behavior of GLSL pow()
2022-01-22 18:52:12 +01:00
sfan5
f8cef52ea0
Fix consistency of sky sun/moon texture behaviour
...
Also cleans up related code somewhat.
2022-01-22 11:18:34 -05:00
Zughy
37d80784dd
Allow resetting celestial vault elements by leaving its arguments empty ( #11922 )
2022-01-22 12:42:49 +01:00
sfan5
f66ed2c27f
Fix local animation not instantly updating after being set
2022-01-19 23:30:18 +01:00
sfan5
4f6f09590c
Free arguments of cancelled minetest.after() jobs
2022-01-19 23:30:18 +01:00
SmallJoker
7c321ad7f5
Main menu: Fix automatic dependency enables on doubleclick
...
When mods were toggled by double-click, the hard dependencies were no longer enabled automatically.
However, the 'Enabled' checkbox did still work. This commit restores the behaviour as seen before commit c401a06
2022-01-19 18:52:27 +01:00
sfan5
42839fa1db
Optimize folder handling in 'files' mod storage backend
...
This regressed in bf22569019
.
2022-01-17 21:49:18 +01:00
sfan5
b02b381af2
Bump IrrlichtMt to 1.9.0mt4 in CI
2022-01-16 15:54:08 +01:00
Dmitry Kostenko
b6555ee6af
Reset override material in anaglyph
...
Reset override material properties before applying the color filter.
2022-01-16 13:10:33 +01:00
Alex
7c93b2d7a3
Give the ASCII console splash a facelift
2022-01-15 17:45:33 +01:00
sfan5
9a12e4499e
Minor improvements to Lua sandbox
2022-01-15 17:45:08 +01:00
sfan5
379473b670
Improve situation around race condition with dynamic_add_media during client join
2022-01-15 17:45:08 +01:00
savilli
72b14bd994
Don't call on_dieplayer callback two times ( #11874 )
2022-01-15 17:44:55 +01:00
sfan5
76e97e85a0
Update compiler versions in CI
...
downgrade gcc 6 -> 5 to better match our minimum
upgrade gcc and clang by moving two images to ubuntu 20.04
2022-01-15 17:44:22 +01:00
sfan5
a90b2a4d4f
Raise minimum compiler versions
...
Supporting these is not reasonable anymore and effectively we didn't
do that anyway, brokenness was only noticed by chance and a PR to restore
support for gcc 5.x is ready now.
2022-01-15 17:44:22 +01:00
Dmitry Kostenko
97248c6957
Add client/mod_storage.sqlite to .gitignore
2022-01-13 20:43:02 +01:00
SmallJoker
b2eb44afc5
Fix NodeDef backwards compatibility to 5.3.0 ( #11942 )
...
1. Fixes crashes on older clients when [png is used as base image
2. Fixes liquid type assertion fails on debug builds
2022-01-12 18:49:14 +01:00
sfan5
4c8c649779
Mainmenu game-related changes ( #11887 )
...
fixes:
* Switching between games does not immediately hide creative mode / damage buttons if so specified
* World creation menu has a game selection list even though the menu already provides a gamebar
* Showing gameid in world list is unnecessary
* Choice of mapgen parameters in menu persists between games (and was half-broken)
2022-01-09 21:15:35 +01:00
Lars Mueller
b164e16d1b
Copy smoothing note to gui_scaling_filter description
2022-01-09 21:13:54 +01:00
SmallJoker
8fab406c28
Formspec: Fix bgcolor and set_focus checks
2022-01-09 18:47:12 +01:00
sfan5
5eb45e1ea0
Restore pass-through of direction keys ( #11924 )
...
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2022-01-09 18:46:36 +01:00
sfan5
76dbd0d2d0
Fully remove bitmap font support ( #11863 )
...
Freetype is now a build requirement.
2022-01-08 14:53:25 +01:00
Jude Melton-Houghton
bf22569019
Use a database for mod storage ( #11763 )
2022-01-07 20:28:49 +02:00
Wuzzy
b81948a14c
Fix damage wraparound if very high damage ( #11872 )
2022-01-06 21:16:35 +01:00
Aritz Erkiaga
85da2e284b
Fix incorrect bit positions in paramtype documentation
2022-01-06 21:16:23 +01:00
Vincent Robinson
e39b159845
Base formspec coordinate size on padded screensize
2022-01-04 17:47:32 -08:00
SmallJoker
d33ab97434
Inventory: Add ServerEnv checks for calls during script init
...
This fixes 'minetest.get_inventory' calls to players or nodes during the load phase.
2022-01-04 18:39:27 +01:00
Desour
1965628705
Fix vector.from_string returning a table without vector metatable
2022-01-02 22:15:41 -05:00
Wuzzy
84fdd369d4
Cap damage overlay duration to 1 second ( #11871 )
2022-01-02 22:14:02 -05:00
x2048
835524654e
Fix shadow mapping when PCF is disabled ( #11888 )
2022-01-02 13:45:55 -08:00
x2048
e030d9cff0
Recalculate normals before adding mesh to the scene
2022-01-02 14:32:13 +01:00
Zughy
8910c7f8ae
Better document sky_color scope ( #11892 )
2022-01-01 22:46:00 +01:00
ShadowNinja
29d2b2ccd0
Print announce error response ( #11878 )
...
Fix HTTPFetch caller and request ID to 64 bits
Check that allocated caller ID is not DISCARD
Print body if serverlist request returns error
Don't print control characters from HTTP responses
Document special HTTPFetch caller IDs
Allow unicode to be printed
2022-01-01 22:44:56 +01:00
Vincent Robinson
544b9d5c72
Add padding[] element to formspecs ( #11821 )
2021-12-30 12:54:47 -08:00
Vincent Robinson
4a16ab3585
Improve TTF support for pixel-style fonts ( #11848 )
2021-12-30 12:54:21 -08:00
SmallJoker
14c7fae378
Formspec: Unify argument checks ( #11851 )
2021-12-29 23:58:26 +01:00
sfan5
0ea8df4d64
Socket-related cleanups
...
Improve error handling on Windows and reduce the size of the `Address` class
2021-12-29 23:01:26 +01:00
ROllerozxa
05573d6d8d
Remove unused (de)serializeAttributes() methods
2021-12-29 23:00:16 +01:00
Vitaliy
9b650b9efb
Add more neighbors on mesh update ( #6765 )
2021-12-29 22:59:53 +01:00
SmallJoker
481bb90eac
Fix segfault in drawItems() due to missing inventory list
...
This fixes a nullptr dereference when the specified inventory list is not known.
Happens when HUD elements are sent before the required inventory list is created.
2021-12-29 19:20:49 +01:00
savilli
0fa54531d4
Fix check that denies new clients from a singleplayer session
2021-12-28 14:08:21 +01:00
William L. DeRieux IV
cc64a0405a
Automatically use SSE registers for FP operations on i386 ( #11853 )
...
use SSE for floating-point operations to avoid issues with improper fp-rounding and
loss of precision when moving fp-data to incompatible or less-precise
registers/storage locations
https://gcc.gnu.org/wiki/FloatingPointMath
https://gcc.gnu.org/wiki/x87note
2021-12-28 14:06:24 +01:00
JosiahWI
7f6306ca96
Restore GCC 5 compatibility ( #11778 )
2021-12-28 14:05:49 +01:00
sfan5
0c4929f025
Remove wrong function from lua_api.txt
2021-12-19 17:03:16 +01:00
Jude Melton-Houghton
1b664dd870
Use defined evaluation order in profiler
...
See https://github.com/LuaJIT/LuaJIT/issues/238
2021-12-19 17:03:07 +01:00
sfan5
49f7d2494c
Protect font initialization with mutex
...
fixes #4532
2021-12-18 20:38:33 +01:00
sfan5
b2409b14d0
Refactor trusted mod checking code
2021-12-18 20:37:13 +01:00
sfan5
f405459548
Remove setlocal and setupvalue from debug
table whitelist
...
It's likely that these could be used trick mods into revealing the insecure
environment even if they do everything right (which is already hard enough).
2021-12-18 20:37:13 +01:00
sfan5
8c99f2232b
Don't let HTTP API pass through untrusted function
...
This has been a problem since the first day, oops.
2021-12-18 20:37:13 +01:00
sfan5
8472141b79
Restructure devtest's unittests and run them in CI ( #11859 )
2021-12-18 20:36:43 +01:00
sfan5
1c5ece8334
Fix eat sound not playing if eating last of stack
2021-12-15 15:36:19 +01:00
sfan5
378175497a
Fix some issues with buildbot scripts ( #11860 )
2021-12-15 14:36:27 +01:00
ROllerozxa
fcf86ded8f
Disable inventory if player's inventory formspec is blank ( #11827 )
2021-12-13 17:43:29 +01:00
sfan5
84efe279bb
Fix URL escaping in content store
2021-12-13 17:33:35 +01:00
Wuzzy
f71091bf52
Remove creative/damage info in Esc/Pause menu
2021-12-13 17:33:21 +01:00
Wuzzy
76aa6103e3
Update German locale translation
2021-12-10 12:24:53 +01:00
Wuzzy
1ab3eadd87
Update builtin locale
2021-12-10 12:24:53 +01:00
Francisco
a8c58d5cbb
Add pauloue's ItemStack example to docs ( #9853 )
2021-12-10 12:24:42 +01:00
sfan5
d9d219356a
Fix get_bone_position() on unset bones modifying their position
...
closes #11840
2021-12-06 00:06:49 +01:00
sfan5
ff934d538c
Fix various code & correctness issues ( #11815 )
2021-12-05 14:40:30 +01:00
Richard Liu
7a043b3ebb
Fix wireshark packet dissector wrong coordinates ( #11826 )
2021-12-05 14:34:40 +01:00
Wuzzy
80c3c7e642
Improve error message if using "/help --" ( #11796 )
2021-12-01 20:22:46 +01:00
SmallJoker
57a59ae92d
Network: Delete copy constructor and use std::move instead ( #11642 )
...
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
2021-12-01 20:22:33 +01:00
updatepo.sh
1dc1305ada
Update translation files
2021-11-27 19:42:26 +01:00
updatepo.sh
a157256706
Update minetest.conf.example and dummy cpp file
2021-11-27 19:41:45 +01:00
ROllerozxa
3ac102c93b
Translated using Weblate (Swedish)
...
Currently translated at 46.0% (643 of 1396 strings)
2021-11-27 19:33:53 +01:00
Ondřej Pfrogner
3332592905
Translated using Weblate (Czech)
...
Currently translated at 62.9% (879 of 1396 strings)
2021-11-27 19:33:53 +01:00
Johann Lau
42b8167f3d
Added translation using Weblate (Yue)
2021-11-27 19:33:53 +01:00
Molly
fc0897682d
Translated using Weblate (Dutch)
...
Currently translated at 97.0% (1355 of 1396 strings)
2021-11-27 19:33:53 +01:00
Vancha March
8d99cddecc
Translated using Weblate (Dutch)
...
Currently translated at 95.3% (1331 of 1396 strings)
2021-11-27 19:33:53 +01:00
Joaquín Villalba
6f9d803d67
Translated using Weblate (Spanish)
...
Currently translated at 81.8% (1142 of 1396 strings)
2021-11-27 19:33:53 +01:00
Manuel González
c24b02852b
Translated using Weblate (Spanish)
...
Currently translated at 81.8% (1142 of 1396 strings)
2021-11-27 19:33:53 +01:00
109247019824
88731631ab
Translated using Weblate (Bulgarian)
...
Currently translated at 12.6% (177 of 1396 strings)
2021-11-27 19:33:53 +01:00
phlostically
714d4e4a81
Translated using Weblate (Esperanto)
...
Currently translated at 97.2% (1357 of 1396 strings)
2021-11-27 19:33:53 +01:00
Markus Mikkonen
1935783cc6
Translated using Weblate (Finnish)
...
Currently translated at 20.9% (292 of 1396 strings)
2021-11-27 19:33:53 +01:00
Ronoaldo Pereira
9f5d35e2aa
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 99.7% (1392 of 1396 strings)
2021-11-27 19:33:53 +01:00
Jiri Grönroos
6569056bfc
Translated using Weblate (Finnish)
...
Currently translated at 20.9% (292 of 1396 strings)
2021-11-27 19:33:53 +01:00
Heitor
62c3c90120
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 97.0% (1355 of 1396 strings)
2021-11-27 19:33:53 +01:00
Tirifto
7d2c99e2c2
Translated using Weblate (Esperanto)
...
Currently translated at 95.9% (1340 of 1396 strings)
2021-11-27 19:33:53 +01:00
A M
dc73d441b5
Translated using Weblate (Polish)
...
Currently translated at 71.4% (998 of 1396 strings)
2021-11-27 19:33:53 +01:00
GunChleoc
4866e06e62
Translated using Weblate (Gaelic)
...
Currently translated at 17.0% (238 of 1396 strings)
2021-11-27 19:33:53 +01:00
Zhaolin Lau
cd3a8f96c6
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.3% (1331 of 1396 strings)
2021-11-27 19:33:53 +01:00
Thiago Carmona Monteiro
0eb829f5de
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 94.4% (1319 of 1396 strings)
2021-11-27 19:33:53 +01:00
Marian
c062daccc9
Translated using Weblate (Slovak)
...
Currently translated at 95.2% (1329 of 1396 strings)
2021-11-27 19:33:53 +01:00
phlostically
f57b8f3e8a
Translated using Weblate (Esperanto)
...
Currently translated at 95.2% (1329 of 1396 strings)
2021-11-27 19:33:53 +01:00
Allan Nordhøy
efc99a8d42
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 56.0% (783 of 1396 strings)
2021-11-27 19:33:53 +01:00
abidin toumi
ecd4fbc0de
Translated using Weblate (Arabic)
...
Currently translated at 27.1% (379 of 1396 strings)
2021-11-27 19:33:53 +01:00
Oğuz Ersen
3590261c78
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (1396 of 1396 strings)
2021-11-27 19:33:53 +01:00
Emily Ellis
f8dba7e5cf
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.4% (1319 of 1396 strings)
2021-11-27 19:33:53 +01:00
David Leal
dd23991a19
Translated using Weblate (Spanish)
...
Currently translated at 81.2% (1134 of 1396 strings)
2021-11-27 19:33:53 +01:00
Riceball LEE
6328b2274a
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.5% (1292 of 1396 strings)
2021-11-27 19:33:53 +01:00
Yangjun Wang
2e0780b437
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.5% (1292 of 1396 strings)
2021-11-27 19:33:53 +01:00
Чтабс
dfb1e62bc3
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1396 of 1396 strings)
2021-11-27 19:33:53 +01:00
Stefan Vukanovic
c264e47ee7
Translated using Weblate (Serbian (cyrillic))
...
Currently translated at 30.4% (425 of 1396 strings)
2021-11-27 19:33:53 +01:00
BreadW
19d5a5066c
Translated using Weblate (Japanese)
...
Currently translated at 99.4% (1389 of 1396 strings)
2021-11-27 19:33:53 +01:00
Lin Happy 666
82f8e24d83
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.3% (1289 of 1396 strings)
2021-11-27 19:33:53 +01:00
Liet Kynes
756261bafe
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 56.0% (783 of 1396 strings)
2021-11-27 19:33:53 +01:00
Petter Reinholdtsen
a8745948c4
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 55.4% (774 of 1396 strings)
2021-11-27 19:33:53 +01:00
Liet Kynes
0ce549f49e
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 55.4% (774 of 1396 strings)
2021-11-27 19:33:52 +01:00
Er2
7445a72f76
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1396 of 1396 strings)
2021-11-27 19:33:52 +01:00
Ács Zoltán
5cb9a36916
Translated using Weblate (Hungarian)
...
Currently translated at 81.9% (1144 of 1396 strings)
2021-11-27 19:33:52 +01:00
Mateusz Mendel
3dbf52a871
Translated using Weblate (Polish)
...
Currently translated at 70.3% (982 of 1396 strings)
2021-11-27 19:33:52 +01:00
ResuUman
9ca08800e1
Translated using Weblate (Polish)
...
Currently translated at 70.3% (982 of 1396 strings)
2021-11-27 19:33:52 +01:00
Mateusz Mendel
1556e7eb09
Translated using Weblate (Polish)
...
Currently translated at 70.3% (982 of 1396 strings)
2021-11-27 19:33:52 +01:00
ResuUman
f5ab059c0f
Translated using Weblate (Polish)
...
Currently translated at 70.3% (982 of 1396 strings)
2021-11-27 19:33:52 +01:00
Mateusz Mendel
8ac17b877a
Translated using Weblate (Polish)
...
Currently translated at 68.7% (960 of 1396 strings)
2021-11-27 19:33:52 +01:00
ResuUman
9da60be08e
Translated using Weblate (Polish)
...
Currently translated at 68.7% (960 of 1396 strings)
2021-11-27 19:33:52 +01:00
Mateusz Mendel
0fc3684613
Translated using Weblate (Polish)
...
Currently translated at 68.7% (960 of 1396 strings)
2021-11-27 19:33:52 +01:00
ResuUman
c0b977bf32
Translated using Weblate (Polish)
...
Currently translated at 68.7% (960 of 1396 strings)
2021-11-27 19:33:52 +01:00
Mateusz Mendel
d3fab295ad
Translated using Weblate (Polish)
...
Currently translated at 68.7% (960 of 1396 strings)
2021-11-27 19:33:52 +01:00
ResuUman
58170e36ef
Translated using Weblate (Polish)
...
Currently translated at 68.7% (960 of 1396 strings)
2021-11-27 19:33:52 +01:00
Чтабс
60d6be1329
Translated using Weblate (Russian)
...
Currently translated at 95.4% (1333 of 1396 strings)
2021-11-27 19:33:52 +01:00
Janar Leas
5929c8f5ca
Translated using Weblate (Estonian)
...
Currently translated at 44.1% (616 of 1396 strings)
2021-11-27 19:33:52 +01:00
Wuzzy
28851ca9b2
Translated using Weblate (German)
...
Currently translated at 100.0% (1396 of 1396 strings)
2021-11-27 19:33:52 +01:00
Nicolae Crefelean
5f79e9552d
Translated using Weblate (Romanian)
...
Currently translated at 47.6% (665 of 1396 strings)
2021-11-27 19:33:52 +01:00
Jordan Irwin
891290a79f
Translated using Weblate (Spanish)
...
Currently translated at 80.6% (1126 of 1396 strings)
2021-11-27 19:33:52 +01:00
Riceball LEE
e1fbf4795b
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.2% (1274 of 1396 strings)
2021-11-27 19:33:52 +01:00
Yangjun Wang
48bb0bb5bb
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.2% (1274 of 1396 strings)
2021-11-27 19:33:52 +01:00
waxtatect
b9c1a999ff
Translated using Weblate (French)
...
Currently translated at 94.9% (1325 of 1396 strings)
2021-11-27 19:33:52 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
70ece73da9
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1396 of 1396 strings)
2021-11-27 19:31:02 +01:00
rubenwardy
51cfb57b4d
Update to Android target SDK 30 ( #11746 )
2021-11-27 00:10:13 +00:00
Corey Powell
413be76c63
Implemented disconnect_player ( #10492 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-26 19:19:40 +00:00
ROllerozxa
c85aa0030f
Remove unused Direct3D shader error/warning ( #11793 )
2021-11-26 19:33:24 +01:00
sfan5
87ab97da2a
Fix find_nodes_in_area misbehaving with out-of-map coordinates ( #11770 )
...
This ensures that no overflows (side-effects) happen within the find_nodes_in_area function by limiting coordinates like done in the map generation code.
2021-11-26 19:32:41 +01:00
Lejo
b9051386ae
Add Lua bitop library ( #9847 )
2021-11-26 19:31:05 +01:00
HybridDog
7a1464d783
Minimap: gamma-correct average texture colour calculation ( #9249 )
...
This calculates the average texture colour while heeding the sRGB colourspace.
2021-11-26 19:30:49 +01:00
sfan5
206e131854
Add backwards-compatible behaviour if too few CAO textures specified
...
(#11766 )
2021-11-22 17:27:49 +00:00
ExeVirus
52bfbf6ed0
Allow for Game-Specific Menu Music ( #11241 )
2021-11-22 17:26:46 +00:00
Andrew Kerr
e35cfa589a
Add macOS build docs ( #11757 )
2021-11-19 22:31:15 +00:00
savilli
c9070e54bc
Fix local digging animation ( #11772 )
2021-11-19 22:31:04 +00:00
sfan5
c510037e9a
Fix compiler detection in buildbot
...
it was just half-broken before...
2021-11-10 19:10:32 +01:00
Elijah Duffy
cbf658f83d
Lua API: Add rmdir
, cpdir
and mvdir
( #9638 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-10 19:10:20 +01:00
sfan5
6db914780e
Fix typo in buildbot scripts
2021-11-05 11:12:56 +01:00
Riceball LEE
693f98373b
Localize error messages in mainmenu ( #11495 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-11-01 12:27:46 +00:00
Wuzzy
6910c8d920
Fix number of tool uses being off by 1..32767 ( #11110 )
2021-10-31 22:33:33 +00:00
JosiahWI
38ba813c55
Add variable to use existing IrrlichtMt build ( #11656 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2021-10-31 22:33:11 +00:00
sfan5
0b95da7ad3
Automatically package MinGW runtime in buildbot
2021-10-31 22:32:48 +00:00
sfan5
ea1396f856
Replace uses of which(1) with command -v
2021-10-31 22:32:48 +00:00
sfan5
4114e3047b
Update Android to new dependency repo ( #11690 )
2021-10-31 22:32:25 +00:00
x2048
cef016d393
Apply shadow only to the naturally lit part of the fragment color ( #11722 )
...
Fragment color for nodes is now calculated from:
* Texture color, highlighted by artificial light if present (light color conveyed via vertex color).
* Texture color highlighted by natural light (conveyed via vertex color) filtered by shadow.
* Reflected day/moonlight filtered by shadow (color and intensity), assuming some portion of the light is directly reflected from the materials.
2021-10-31 19:18:30 +01:00
Isabelle COWAN-BERGMAN
532d5b21fd
Add joystick layout for DragonRise GameCube controller ( #11467 )
2021-10-31 19:17:47 +01:00
rubenwardy
8dfeba02b9
Fix crash on hypertext[] with not enough parts
...
The length check used < rather than <=, disabling the check when the formspec version
matches the client's FORMSPEC_API_VERSION.
Additionally, it was possible to have fewer parts than required if the formspec version
was greater than the client's FORMSPEC_API_VERSION.
2021-10-25 21:39:40 +01:00
sfan5
4ee643f472
Fixes around emerge handling
2021-10-25 20:31:52 +02:00
Jude Melton-Houghton
1e26e45530
Limit stepheight smoothing to the stepheight and stop smoothing during jumps ( #11705 )
2021-10-25 20:31:14 +02:00
sfan5
660e63dbae
Fix item duplication if player dies during interact callback (alternative) ( #11662 )
2021-10-25 20:30:27 +02:00
Wuzzy
d4b89eb106
Fix no_texture.png activation w/ simple leaves
2021-10-22 11:01:42 +02:00
sfan5
a78124831f
Fix incorrect error message in core.encode_png
2021-10-22 10:55:18 +02:00
Lars Müller
0d345dc1bd
Fix view bobbing not resetting when resting
...
partially fixes #11694 , also fixes #11692
2021-10-20 21:51:21 +02:00
Wuzzy
86b44ecd82
Add no_texture.png as fallback for unspecified textures
2021-10-20 21:50:16 +02:00
LoneWolfHT
c82ec8b210
Fix compiling on Windows with Visual Studio
2021-10-15 18:16:09 +02:00
rubenwardy
6901c5fae5
Use scoped app storage on Android ( #11466 )
...
From November 2021, the Play Store will no longer be accepting
apps which use the deprecated getExternalStorageDirectory() API.
Therefore, this commit replaces uses of deprecated API with the new
scoped API (`getExternalFilesDir()` and `getExternalCacheDir()`).
It also provides a temporary migration to move user data from the
shared external directory to new storage.
Fixes #2097 , #11417 and #11118
2021-10-15 18:14:48 +02:00
Wuzzy
fe7195badb
Make /status message easier to read
2021-10-15 18:13:57 +02:00
hecks
02292e03e4
Add embedded PNG texture modifier ( #11498 )
2021-10-13 17:51:37 +02:00
sfan5
fe5cb2cdfb
Remove broken timeout behaviour
...
Code that relies on `resend_count` was added in 7ea4a03
and 247a1eb
, but never worked.
This was fixed in #11607 which caused the problem to surface.
Hence undo the first commit entirely and change the logic of the second.
2021-10-12 20:13:09 +02:00
savilli
6ea558f8ac
Fix player HP desync between client and server
2021-10-12 20:12:49 +02:00
SmallJoker
ecc6f4ba25
Remove a few unused functions reported by callcatcher ( #11658 )
2021-10-12 20:12:20 +02:00
sfan5
6de8d77e17
Move instead of copy during content install if possible
2021-10-07 00:20:01 +02:00
sfan5
2b5075f0e2
Move archive extraction in content store to async job
2021-10-07 00:20:01 +02:00
sfan5
2d5b7b5fb4
Make fs::extractZipFile thread-safe
2021-10-07 00:20:01 +02:00
emixa-d
9fab5d594c
Add "MINETEST_MOD_PATH" environment variable ( #11515 )
...
This adds an environment variable MINETEST_MOD_PATH.
When it exists, Minetest will look there for mods in addition to ~/.minetest/mods/.
2021-10-07 00:19:41 +02:00
HybridDog
53e126ac49
List only jpg and png as screenshot format options ( #11675 )
...
The other formats are no longer supported in Minetest Irrlicht.
2021-10-05 21:54:13 +02:00
lhofhansl
b4b9bee5f2
Reduce shadow jitter ( #11668 )
2021-10-05 21:54:01 +02:00
Wuzzy
bc71622d21
Fix crash when calling remove/kick/ban_player on start ( #11672 )
2021-10-05 21:53:47 +02:00
Jude Melton-Houghton
5aa95fef10
Make MetaDataRef:get return nil instead of nothing ( #11666 )
2021-10-05 15:38:33 +03:00
Wuzzy
4fca601e0c
Add get_server_max_lag() ( #11671 )
2021-10-05 15:35:55 +03:00
Pedro Gimeno
d7e7ade0f6
Add an option -t
to force text output in /help
...
This also improves detection of whether formspecs are available.
2021-10-01 16:22:05 +02:00
x2048
982e03f60d
Improvements to colored shadows ( #11516 )
2021-10-01 16:21:53 +02:00
Wuzzy
21113ad410
Split liquid_viscosity to liquid_viscosity and move_resistance ( #10810 )
2021-10-01 16:21:24 +02:00
x2048
f5040707fe
Order drawlist by distance to the camera when rendering ( #11651 )
2021-09-27 17:46:08 +02:00
SmallJoker
d51d0f3a5a
Various code improvements
...
* Camera: Fix division by 0 after view bobbing
* Remove ignored constness
* Connection: Improve window size range limits
2021-09-27 17:45:44 +02:00
Wuzzy
918fbe3ec1
Update builtin locale files ( #11650 )
2021-09-26 18:04:39 +02:00
nia
2dc73d239a
Use CMake's GNUInstallDirs for install directories on Unix ( #11636 )
...
This makes the installation process honor system-specific
directories (e.g. ${PREFIX}/man instead of ${PREFIX}/share/man on
BSD).
2021-09-26 18:04:30 +02:00
Wuzzy
bc7d05581b
Fix several typos in settingtypes.txt ( #11623 )
2021-09-26 18:04:19 +02:00
TheBrokenRail
3dcf9e963e
Touch UI support for desktop builds ( #10729 )
2021-09-26 18:04:09 +02:00
sfan5
9f85862b7c
Fix "Could not create ITexture, texture needs to have a non-empty name" warning
2021-09-22 18:43:40 +02:00
nia
2628316842
Fix src/util/string.cpp on NetBSD
...
- iconv() prototype changed from traditional Unix defintion
to POSIX definition in 9.99.x.
- wchar_t is not a valid character set for iconv. Share code
with Android for using UTF-32.
2021-09-19 20:23:52 +02:00
DS
e79d6154fc
Fix client-side performance of chat UI ( #11612 )
2021-09-19 20:23:35 +02:00
Lars Müller
40ea4ddef1
Fix HUD multiline text alignment ( #10795 )
2021-09-19 20:23:22 +02:00
sfan5
e0529da5c8
Fix trivial typos
2021-09-19 13:54:20 +02:00
sfan5
16a62426d6
Add feature table entry for new dynamic media API
2021-09-19 13:54:06 +02:00
sfan5
ad076ede85
Add preprocessor check for weird (incorrect) build configurations
2021-09-19 13:53:44 +02:00
sfan5
fd8a8501bc
Shave off buffer copies in networking code ( #11607 )
2021-09-17 18:14:25 +02:00
sfan5
ea250ff5c5
Fix GLES2 discard behaviour (texture transparency)
2021-09-17 18:13:50 +02:00
HybridDog
d1e0f73b77
Hide Wself-assign-overloaded and Wself-move unittest compilation warnings
...
The warnings occured with the clang compiler
2021-09-17 18:13:04 +02:00
ROllerozxa
6fedee16f0
Readd TGA to the list of valid texture formats. ( #11598 )
2021-09-15 11:12:24 +01:00
Lars Müller
719a12ecac
Chop game background in mainmenu ( #10796 )
2021-09-14 20:46:02 +02:00
sfan5
4feb799b7e
Add Windows-specific CreateTempFile() implementation
...
Once again MSVC is the only compiler not supporting basic POSIX functionality.
2021-09-14 20:45:41 +02:00
sfan5
b480a3e9fd
Fix broken handling of NodemetaChanged packets
...
fixes #11610
2021-09-12 14:42:01 +02:00
sfan5
75bf9b75ca
Make sure relevant std::stringstreams are set to binary
2021-09-11 21:06:57 +02:00
sfan5
766e885a1b
Clean up/improve some scriptapi error handling code
2021-09-10 23:16:46 +02:00
Jude Melton-Houghton
7423c4c11e
Send to clients node metadata that changed to become empty ( #11597 )
2021-09-10 23:16:34 +02:00
DS
2cefe51d3b
Split vector.new into 3 constructors
2021-09-10 23:16:16 +02:00
sfan5
bbfae0cc67
Dynamic_Add_Media v2 ( #11550 )
2021-09-09 16:51:35 +02:00
Buckaroo Banzai
bcb6565483
Add missing zstd-libs to final Docker image
...
Also add `minetestserver --version` command to verify docker build in CI
2021-09-07 15:29:57 +02:00
NeroBurner
7f3401412e
Fix movement in random_input mode ( #11592 )
2021-09-05 19:58:50 +02:00
20kdc
a3e32d81c5
Add hint to error message on how to build with in-tree Irrlicht
2021-09-05 19:57:40 +02:00
Wuzzy
ff9945dc6e
Fix falling mesh nodes being half size ( #11389 )
2021-09-01 22:20:57 +02:00
sfan5
e912008cb3
Update README for zstd changes
2021-09-01 22:20:38 +02:00
sfan5
31d2b9edcd
Don't look for zlib and zstd manually on Windows
2021-09-01 22:20:38 +02:00
sfan5
e5edda28ce
Drop Ubuntu 16.04 from gitlab-ci, add 20.04 instead
2021-09-01 22:20:38 +02:00
sfan5
70dafcf5da
Check for required libzstd APIs in cmake
...
It's very unlikely that anyone uses a zstd version this old, but if they do fail early.
2021-09-01 22:20:38 +02:00
lhofhansl
d1624a5521
Switch MapBlock compression to zstd ( #10788 )
...
* Add zstd support.
* Rearrange serialization order
* Compress entire mapblock
Co-authored-by: sfan5 <sfan5@live.de>
2021-08-31 17:32:31 -07:00
sfan5
beac4a2c98
CI: Bump IrrlichtMt to 1.9.0mt3
2021-08-31 23:57:39 +02:00
pecksin
040aed37ab
Remove closing paren as weblink delimiter
2021-08-29 19:30:33 +02:00
sfan5
6a1424f2b1
Async-related script cleanups
2021-08-28 12:15:12 +02:00
fn ⌃ ⌥
0f8a6d78a7
CI: Add macOS workflow ( #11454 )
2021-08-28 12:14:55 +02:00
savilli
3f1adb49ae
Remove redundant on_dieplayer calls
2021-08-28 12:14:16 +02:00
NeroBurner
1d69a23ba4
Joystick sensitivity for player movement ( #11262 )
...
This commit deprecates the forward, backward, left, and right binary
inputs currently used for player movement in the PlayerControl struct.
In their place, it adds the movement_speed and movement_direction
values, which represents the player movement is a polar coordinate
system.
movement_speed is a scalar from 0.0 to 1.0. movement_direction is
an angle from 0 to +-Pi:
FWD
0
_
LFT / \ RGT
-Pi/2 | | +Pi/2
\_/
+-Pi
BCK
Boolean movement bits will still be set for server telegrams and
Lua script invocations to provide full backward compatibility.
When generating these values from an analog input, a direction is
considered active when it is 22.5 degrees away from either
orthogonal axis.
Co-authored-by: Markus Koch <markus@notsyncing.net>
Co-authored-by: sfan5 <sfan5@live.de>
2021-08-27 20:24:24 +02:00
Treer
149d8fc8d6
Add group-based tool filtering for node drops ( #10141 )
...
Supports both AND and OR requirements, e.g.
* "a tool that's in any of these groups"
* "a tool that's in all of these groups"
2021-08-27 20:23:20 +02:00
Lean Rada
d36dca3aba
Optimize vector length calculations ( #11549 )
2021-08-27 20:22:35 +02:00
Loïc Blot
a7188bd6f5
Add debian 11 to Gitlab-CI ( #11571 )
...
* feat(gitlab-ci): add debian 11 support
2021-08-27 11:19:15 +02:00
Loïc Blot
ff3aa18436
fix: update to alpine 3.14 ( #11570 )
2021-08-24 14:52:05 +02:00
JosiahWI
ef84c3b8b9
Set policies through CMake 3.9 to allow enabling IPO ( #11560 )
2021-08-23 22:13:47 +02:00
Wuzzy
63e8224636
Fix 6th line of infotext being cut off in half ( #11456 )
2021-08-23 22:13:17 +02:00
SmallJoker
eea488ed75
Inventory: Fix rare out-of-bounds access
...
Co-authored-by: Thomas--S <info@thomas-stangl.de>
2021-08-23 14:10:17 +02:00
DS
dad87a360b
Use utf-8 for the Irrlicht clipboard ( #11538 )
2021-08-23 14:09:50 +02:00
sfan5
fad835cf64
Fix server-only builds on older CMake versions ( #11566 )
...
closes #11564
2021-08-23 13:33:25 +02:00
SmallJoker
0c1e9603db
HUD: Reject and warn on invalid stat types ( #11548 )
...
This comes into play on older servers which do not know the "stat" type.
Warnings are only logged once to avoid spam within globalstep callbacks
2021-08-21 20:04:04 +02:00
sfan5
a72d13064f
Allow lib/irrlichtmt to work for server builds (headers-only)
2021-08-21 13:53:59 +02:00
Wuzzy
6fd8aede48
Show status message when changing block bounds ( #11556 )
2021-08-21 13:53:49 +02:00
sfan5
e7b05beb7d
Validate staticdata and object property length limits ( #11511 )
...
Some games provide users with enough freedom to create items
with metadata longer than 64KB, preventing this from causing
issues is on them but we'll still do the minimum not to abort
the server if this happens.
2021-08-19 20:14:22 +02:00
Wuzzy
1320c51d8e
Fix scaled world-aligned textures being aligned inconsistently for non-normal drawtypes
2021-08-19 20:14:04 +02:00
rubenwardy
24b66dede0
Add fwgettext util function
2021-08-19 20:13:25 +02:00
SmallJoker
3b842a7e02
Fix inconsistent integer comparison warnings
2021-08-17 20:00:47 +02:00
Wuzzy
2eec997e97
Clarify the meaning of "rightclick"/"use" in documentation ( #11471 )
2021-08-16 17:57:07 +02:00
Lean Rada
328d949225
Start sprite animation at the beginning ( #11509 )
...
When setting a sprite animation, do not keep the last animation's frame number. Setting a new animation should start the animation at the start of the new animation.
2021-08-16 17:56:38 +02:00
sfan5
4419e311a9
Cap iterations of imageCleanTransparent sanely
...
fixes #11513 performance regression with 256x textures
2021-08-16 17:56:11 +02:00
Treer
963fbd1572
Fix access violation in create_schematic() ( #11534 )
...
fixes #11533
Schematics saved from y locations greater than 0 would cause an access violation if layer probabilities were specified
2021-08-16 17:55:35 +02:00
SmallJoker
b3b075ea02
Fix segfault caused by shadow map on exit
2021-08-12 20:08:39 +02:00
Hugues Ross
47c146120a
Add disable_settings to game.conf to get rid of "Enable Damage"/"Creative Mode"/"Host Server" checkboxes ( #11524 )
...
This adds support for disable_settings to game.conf. In this you can specify a list of settings that should not be visible in the "local game" (or however it is called nowadays) tab. Enable Damage, Creative Mode and Host Server are supported.
Co-authored-by: Wuzzy <Wuzzy2@mail.ru>
Co-authored-by: Aaron Suen <warr1024@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-08-12 20:08:12 +02:00
x2048
442e48b84f
Move updating shadows outside of RenderingCore::drawAll. ( #11491 )
...
Fixes indirect rendering modes such as some 3D modes mentioned in #11437 and undersampled rendering.
Does not fully fix anaglyph 3d mode.
2021-08-12 20:07:09 +02:00
DS
0709946c75
Fix a segfault caused by wrong textdomain lines in translation files ( #11530 )
...
* The problem were lines like these:
"# textdomain:"
* str_split does not add an empty last part if there is a delimiter
at the end, but this was probably assumed here.
2021-08-12 20:06:18 +02:00
hecks
eefa39e47b
Remove statement semicolons from a lua script
2021-08-09 21:03:18 +02:00
DS
1ab29f1716
Fix GUIEditBoxWithScrollBar using a smaller steps than intlGUIEditBox ( #11519 )
2021-08-08 18:59:45 +02:00
Pevernow
c6eddb0bae
Gettext support on Android ( #11435 )
...
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: =?UTF-8?q?Olivier=20Samyn=20=F0=9F=8E=BB?= <code@oleastre.be>
2021-08-08 18:59:07 +02:00
SmallJoker
4a3728d828
OpenAL: Free buffers on quit
2021-08-03 20:29:55 +02:00
rubenwardy
bee50ca7fa
ContentDB: Add support for package aliases / renaming ( #11484 )
2021-08-02 20:05:10 +01:00
SmallJoker
32cb9d0828
Mods: Combine mod loading checks and deprection logging ( #11503 )
...
This limits the logged deprecation messages to the mods that are loaded
Unifies the mod naming convention check for CSM & SSM
2021-07-31 19:54:52 +02:00
Wuzzy
e7cd4cfa25
Fix /emergeblocks crashing in debug builds ( #11461 )
...
The reason for the bug was an u16 overflow, thus failing the assert. This only happened in Debug build but not in Release builds.
2021-07-31 19:54:40 +02:00
sfan5
0257e7150f
Update IrrlichtMt-related stuff in README
2021-07-31 13:26:17 +02:00
hecks
1e2b638881
Remove unsupported formats from the media enumerator
2021-07-29 22:42:47 +02:00
hecktest
28c98f9fa5
Remove unsupported extensions from list in tile.cpp
2021-07-29 21:47:08 +02:00
hecks
80d12dbedb
Add a simple PNG image encoder with Lua API ( #11485 )
...
* Add a simple PNG image encoder with Lua API
Add ColorSpec to RGBA converter
Make a safety wrapper for the encoder
Create devtest examples
Co-authored-by: hecktest <>
Co-authored-by: sfan5 <sfan5@live.de>
2021-07-29 05:10:10 +02:00
sfan5
2866918f32
buildbot: Readd missing IrrlichtMt DLLs
2021-07-27 20:37:51 +02:00
sfan5
6e8aebf432
Add bold, italic and monospace font styling for HUD text elements ( #11478 )
...
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2021-07-27 19:11:46 +02:00
JosiahWI
cf136914cf
Take advantage of IrrlichtMt CMake target ( #11287 )
...
With the CMake changes to IrrlichtMt, it's now possible to use a target for IrrlichtMt.
Besides greatly improving the ease of setting up IrrlichtMt for users building the client, it removes the need for Minetest's CMake to include transitive dependencies such as image libraries, cleaning it up a tiny bit. The PR works by finding the IrrlichtMt package and linking to the target it provides. If the package isn't found and it isn't building the client, it will still fall back to using just the headers of old Irrlicht or IrrlichtMt.
2021-07-27 19:11:27 +02:00
Wuzzy
216728cc5e
Improve documentation of tools ( #11128 )
2021-07-27 19:09:14 +02:00
rubenwardy
9c145ba0d8
ContentDB: Add reason to downloads ( #10876 )
2021-07-27 19:08:49 +02:00
x2048
bf3acbf388
Distribute shadow map update over multiple frames to reduce stutter ( #11422 )
...
Reduces stutter and freezes when playing.
* Maintains double SM and SM Color textures
* Light frustum update triggers incremental generation of shadow map into secondary 'future' textures.
* Every incremental update renders a portion of the shadow draw list (split equally).
* After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen.
Co-authored-by: sfan5 <sfan5@live.de>
2021-07-25 12:36:23 +02:00
x2048
ff2d2a6e93
Add smooth light-shadow transition at noon ( #11430 )
...
Node faces with normals pointing East/West (+X/-X) will transition between light
and shadow at noon. This code makes the transition smooth.
2021-07-25 12:35:12 +02:00
random-geek
5d27cc5096
Document glasslikeliquidlevel merge bits ( #11479 )
2021-07-25 12:34:53 +02:00
hecks
a049e8267f
Remove unused ITextSceneNode header ( #11476 )
...
Co-authored-by: hecktest <>
2021-07-22 00:55:20 +02:00
hecks
850293bae6
Remove unused header includes
2021-07-21 22:07:13 +02:00
sfan5
6caed7073c
Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0
...
Also enable `ky` which appears to work fine.
2021-07-20 17:58:47 +02:00
SmallJoker
40bee27e56
CSM: Do not index files within hidden directories
...
CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore
2021-07-17 16:44:06 +02:00
Wuzzy
f4d8cc0f0b
Add wallmounted support for plantlike and plantlike_rooted nodes ( #11379 )
2021-07-15 21:19:59 +02:00
Hugues Ross
68143ed8ec
Fix documented default colors for set_sky
2021-07-14 17:14:45 +02:00
Wuzzy
6cdb150c8b
Remove hardcoded "You died." message in chat ( #11443 )
2021-07-12 20:32:27 +02:00
Wuzzy
b7b5aad027
Fix revoke debug privs not reliably turn off stuff ( #11409 )
2021-07-12 20:32:18 +02:00
sfan5
5c89a0e12a
Fix build on Ubuntu 16.04 and macOS
...
Apparently the C++ standard library is supposed to provide
specializations of std::hash for enums (even in C++11)
but those don't always work for whatever reason.
2021-07-12 12:03:39 +02:00
x2048
effb5356ca
Avoid draw list and shadow map update in the same frame to reduce dtime jitter ( #11393 )
...
* Separate draw list and shadows update to reduce jitter
* Avoid draw list update and shadow update in the same frame
* Force-update shadows when camera offset changes
2021-07-11 10:57:29 -07:00
x2048
f5706d444b
Improve shadow rendering with non-default camera FOV ( #11385 )
...
* Adjust minimum filter radius for perspective
* Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp
* Read shadow_soft_radius setting as float
* Use adaptive filter radius to accomodate for PSM distortion
* Adjust filter radius for texture resolution
2021-07-11 08:15:19 -07:00
hecks
1d25d1f7ad
Refactor video driver name retrieval ( #11413 )
...
Co-authored-by: hecktest <>
2021-07-11 09:50:34 +02:00
hecktest
29522017a3
Fix typo in lua_api.txt
2021-07-10 16:37:18 -07:00
SmallJoker
b93bbfde2c
Script API: Fix segfault in remove_detached_inventory
...
when minetest.remove_detached_inventory is called on script init, the environment is yet not set up,
hence m_env is still nullptr until all scripts are loaded
2021-07-10 14:34:36 +02:00
Lean Rada
42fbc757b1
Use persistence
instead of persist
in NoiseParams examples
2021-07-10 14:19:33 +02:00
Warr1024
52128ae11e
Add API for mods to hook liquid transformation events ( #11405 )
...
Add API for mods to hook liquid transformation events
Without this API, there is no reliable way for mods to be
notified when liquid transform modifies nodes and mods are
forced to poll for changes. This allows mods to detect
changes to flowing liquid nodes and liquid renewal using
event-driven logic.
2021-07-09 09:08:40 -04:00
hecks
e9bc59e376
Add .editorconfig ( #11412 )
...
* Add an .editorconfig to the repo root folder, providing code style hints for some text editors and making the code render properly in github.
Co-authored-by: hecktest <>
2021-07-03 23:05:15 +02:00
SmallJoker
062fd2190e
Auth API: Error when accessed prior to ServerEnv init ( #11398 )
2021-06-30 20:42:26 +02:00
hecks
827a7852e2
Remove unsupported video drivers ( #11395 )
...
This completely removes any mention of the software and D3D drivers from MT, preventing the user from accidentally attempting to use them. Users who need a software renderer should be asked to install Mesa drivers which offer superior fidelity and performance over the 'burningsvideo' driver.
2021-06-30 20:42:15 +02:00
AFCMS
8cc04e0cb4
Run on_grant and on_revoke callbacks after privs change ( #11387 )
...
Callbacks were run too early. This changes the order to call after the privs are updated.
2021-06-30 20:40:45 +02:00
SmallJoker
f2fd443262
Inventory: Make addList() consistent ( #11382 )
...
Fixes list clearing for inv:set_list() using same size, since 2db6b07
.
addList() now clears the list in all cases. Use setSize() to resize without clearing.
2021-06-30 20:39:38 +02:00
sfan5
72927b73ca
Fix spurious shadow enablement in mainmenu
...
fixes #11394
2021-06-30 17:10:28 +02:00
NeroBurner
fa4dee0e62
Use user provided lib/irrlichtmt if available ( #11276 )
...
Use user provided lib/irrlichtmt if available
Make it possible for a user to provide the IrrlichtMt dependency as
subdirectory at `lib/irrlichtmt`.
The subdirectory is added with the `EXCLUDE_FROM_ALL` flag to prevent
`libirrlichtmt.a` or other header files to be installed.
This enables the user to do the following to satisfy the IrrlichtMt
dependency:
git clone --depth 1 https://github.com/minetest/irrlicht.git lib/irrlichtmt
cmake . -DRUN_IN_PLACE=TRUE
2021-06-29 10:57:19 +03:00
Wuzzy
63fc728a84
Require 'basic_debug' priv to view gameplay-relevant debug info, require 'debug' priv to view wireframe ( #9315 )
...
Fixes #7245 .
2021-06-24 21:21:19 +03:00
Wuzzy
51bf4a6e26
Perform some quality assurance for translation strings ( #11375 )
2021-06-23 17:35:50 +01:00
sfan5
c60a146e22
Rework Settings to support arbitrary hierarchies ( #11352 )
2021-06-23 15:22:31 +02:00
Juozas
cec0dfcbbd
Buildbot: Use posix on Win64 builds if available ( #11355 )
...
Use posix mingw-w64 toolchain on Win64 builds where applicable, avoids
many build errors when using buildwin64.sh to build 64 bit builds on
Ubuntu based Linux distributions
2021-06-22 19:59:09 +02:00
SmallJoker
a8b7c8ff38
Server: Ignore whitespace-only chat messages
2021-06-22 19:47:18 +02:00
Wuzzy
b5c09ada79
Document hypertext escaping ( #11374 )
2021-06-22 13:42:40 +01:00
NeroBurner
a7143c2a8c
Move build/android directory to root of project ( #11283 )
2021-06-21 20:51:42 +01:00
Wuzzy
7fdbf3f231
Update builtin locale ( #11371 )
2021-06-21 18:55:55 +01:00
William L. DeRieux IV
9d2e7fc983
Strip carriage returns from lines in settingtypes.txt ( #11338 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2021-06-21 18:55:48 +01:00
Bensuperpc
4b9a51ff0d
Update Dockerfile and improve build speed ( #11313 )
...
Use ninja to build image, rename docker build steps: builder and runtime, add argument for docker image version
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2021-06-21 18:55:38 +01:00
Wuzzy
b28523bf38
Fix some typos in builtin ( #11370 )
2021-06-21 17:30:29 +01:00
SmallJoker
2db6b07de1
Inventory: show error on invalid list names ( #11368 )
2021-06-20 17:21:50 +02:00
sfence
b10091be9b
Add min_y and max_y checks for Active Block Modifiers (ABM) ( #11333 )
...
This check can be used by ABM to reduce CPU usage.
2021-06-20 17:21:35 +02:00
pecksin
1805775f3d
Make chat web links clickable ( #11092 )
...
If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
2021-06-20 17:20:24 +02:00
rubenwardy
e1b297a14b
Add roadmap ( #10536 )
2021-06-17 04:15:30 +01:00
updatepo.sh
88bda3d914
Update translation files
2021-06-16 18:28:05 +02:00
updatepo.sh
cb5dd0dae4
Update minetest.conf.example and dummy translation file
2021-06-16 18:27:45 +02:00
Riceball LEE
ce0541fc0e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.1% (1290 of 1356 strings)
2021-06-16 18:23:10 +02:00
David Leal
165986beb0
Translated using Weblate (Spanish)
...
Currently translated at 81.5% (1106 of 1356 strings)
2021-06-16 18:23:10 +02:00
Tirifto
3474b97921
Translated using Weblate (Esperanto)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Yiu Man Ho
5915941eba
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 75.6% (1026 of 1356 strings)
2021-06-16 18:23:10 +02:00
Allan Nordhøy
8575d68d49
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 58.1% (789 of 1356 strings)
2021-06-16 18:23:10 +02:00
telmo bruno silva seabra
42aa81befd
Translated using Weblate (Esperanto)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Avyukt More
392408401c
Translated using Weblate (Marathi)
...
Currently translated at 8.6% (117 of 1356 strings)
2021-06-16 18:23:10 +02:00
Avyukt More
dd3409c961
Added translation using Weblate (Marathi)
2021-06-16 18:23:10 +02:00
Andrei Stepanov
1a5279e911
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Andrij Mizyk
a3b480e300
Translated using Weblate (Ukrainian)
...
Currently translated at 44.6% (606 of 1356 strings)
2021-06-16 18:23:10 +02:00
Nicolae Crefelean
79a2c6f49d
Translated using Weblate (Romanian)
...
Currently translated at 48.7% (661 of 1356 strings)
2021-06-16 18:23:10 +02:00
THANOS SIOURDAKIS
07e7d71bac
Translated using Weblate (Greek)
...
Currently translated at 12.0% (164 of 1356 strings)
2021-06-16 18:23:10 +02:00
Gian M
873feb2619
Added translation using Weblate (Filipino)
2021-06-16 18:23:10 +02:00
Omer I.S
a189ce20b1
Translated using Weblate (Hebrew)
...
Currently translated at 44.3% (601 of 1356 strings)
2021-06-16 18:23:10 +02:00
phlostically
53e82d0b25
Translated using Weblate (Esperanto)
...
Currently translated at 98.7% (1339 of 1356 strings)
2021-06-16 18:23:10 +02:00
ferrumcccp
dfe9f2c925
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.8% (1286 of 1356 strings)
2021-06-16 18:23:10 +02:00
ludemys
fd63faa3f3
Translated using Weblate (Spanish)
...
Currently translated at 81.4% (1104 of 1356 strings)
2021-06-16 18:23:10 +02:00
David Leal
72ae97d8ef
Translated using Weblate (Spanish)
...
Currently translated at 81.4% (1104 of 1356 strings)
2021-06-16 18:23:10 +02:00
ludemys
3c761f86c2
Translated using Weblate (Spanish)
...
Currently translated at 81.0% (1099 of 1356 strings)
2021-06-16 18:23:10 +02:00
Kornelijus Tvarijanavičius
a09db258ee
Translated using Weblate (Lithuanian)
...
Currently translated at 16.5% (224 of 1356 strings)
2021-06-16 18:23:10 +02:00
waxtatect
875e9d4c6f
Translated using Weblate (French)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Brian Gaucher
d3fb83db6b
Translated using Weblate (French)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Markus Mikkonen
3cc14d58d4
Translated using Weblate (Finnish)
...
Currently translated at 3.2% (44 of 1356 strings)
2021-06-16 18:23:10 +02:00
Tviljan
33509b13b7
Translated using Weblate (Finnish)
...
Currently translated at 3.2% (44 of 1356 strings)
2021-06-16 18:23:10 +02:00
Edward
686dcc7c59
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
ssantos
3a2f9859fe
Translated using Weblate (Portuguese)
...
Currently translated at 93.2% (1264 of 1356 strings)
2021-06-16 18:23:10 +02:00
waxtatect
ca254e4e4c
Translated using Weblate (French)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
David Leal
a66b4f69e9
Translated using Weblate (Spanish)
...
Currently translated at 79.7% (1081 of 1356 strings)
2021-06-16 18:23:10 +02:00
Timur Seber
398815c0c5
Translated using Weblate (Tatar)
...
Currently translated at 0.4% (6 of 1356 strings)
2021-06-16 18:23:10 +02:00
François Delpierre
bc49e3a8d1
Translated using Weblate (French)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
waxtatect
45ee5c9f03
Translated using Weblate (French)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Timur Seber
36af92443c
Added translation using Weblate (Tatar)
2021-06-16 18:23:10 +02:00
BreadW
20dd05b343
Translated using Weblate (Japanese)
...
Currently translated at 99.8% (1354 of 1356 strings)
2021-06-16 18:23:10 +02:00
GnuPGを使うべきだ
34da979ef6
Translated using Weblate (Japanese)
...
Currently translated at 99.7% (1353 of 1356 strings)
2021-06-16 18:23:10 +02:00
ItsWidee
5b11a6a800
Translated using Weblate (French)
...
Currently translated at 98.0% (1330 of 1356 strings)
2021-06-16 18:23:10 +02:00
François Delpierre
f8e9ea38da
Translated using Weblate (French)
...
Currently translated at 96.6% (1311 of 1356 strings)
2021-06-16 18:23:10 +02:00
Dainis
6405188f68
Translated using Weblate (Latvian)
...
Currently translated at 28.6% (388 of 1356 strings)
2021-06-16 18:23:10 +02:00
Konstantin Yeliseyev
4b6402a005
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
ResuUman
f922a78d13
Translated using Weblate (Polish)
...
Currently translated at 72.4% (982 of 1356 strings)
2021-06-16 18:23:10 +02:00
Mateusz Mendel
ac46a4e7b3
Translated using Weblate (Polish)
...
Currently translated at 72.4% (982 of 1356 strings)
2021-06-16 18:23:10 +02:00
gnu-ewm
6393d32332
Translated using Weblate (Polish)
...
Currently translated at 71.6% (972 of 1356 strings)
2021-06-16 18:23:10 +02:00
Alessandro Mandelli
aac0d36a1d
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:10 +02:00
Hatlábú Farkas
9c8c7cfa13
Translated using Weblate (Hungarian)
...
Currently translated at 75.8% (1028 of 1356 strings)
2021-06-16 18:23:10 +02:00
ItsWidee
a016189bb0
Translated using Weblate (French)
...
Currently translated at 96.5% (1309 of 1356 strings)
2021-06-16 18:23:10 +02:00
matiasC
116957e131
Translated using Weblate (Spanish)
...
Currently translated at 79.5% (1079 of 1356 strings)
2021-06-16 18:23:10 +02:00
Joaquín Villalba
e64c299983
Translated using Weblate (Spanish)
...
Currently translated at 79.5% (1079 of 1356 strings)
2021-06-16 18:23:10 +02:00
AnthonyDe
dc6c43db7d
Translated using Weblate (Spanish)
...
Currently translated at 79.5% (1079 of 1356 strings)
2021-06-16 18:23:10 +02:00
Michalis
900996c9f1
Translated using Weblate (Greek)
...
Currently translated at 8.8% (120 of 1356 strings)
2021-06-16 18:23:10 +02:00
Yangjun Wang
2e21b4a1b4
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.7% (1285 of 1356 strings)
2021-06-16 18:23:10 +02:00
Liu Tao
9352c26404
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.7% (1285 of 1356 strings)
2021-06-16 18:23:10 +02:00
Yangjun Wang
5b2b3464c0
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.5% (1255 of 1356 strings)
2021-06-16 18:23:10 +02:00
David Leal
2bc00862d3
Translated using Weblate (Spanish)
...
Currently translated at 79.0% (1072 of 1356 strings)
2021-06-16 18:23:10 +02:00
Joaquín Villalba
819fbefc12
Translated using Weblate (Spanish)
...
Currently translated at 78.0% (1059 of 1356 strings)
2021-06-16 18:23:09 +02:00
David Leal
1784d5f741
Translated using Weblate (Spanish)
...
Currently translated at 78.0% (1059 of 1356 strings)
2021-06-16 18:23:09 +02:00
Agustin Calderon
b9456c1a0c
Translated using Weblate (Spanish)
...
Currently translated at 78.0% (1059 of 1356 strings)
2021-06-16 18:23:09 +02:00
abidin toumi
6e8e0d10c8
Translated using Weblate (Arabic)
...
Currently translated at 25.7% (349 of 1356 strings)
2021-06-16 18:23:09 +02:00
Tirifto
0403de57ed
Translated using Weblate (Esperanto)
...
Currently translated at 94.6% (1283 of 1356 strings)
2021-06-16 18:23:09 +02:00
Oğuz Ersen
a70dfcaed9
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:09 +02:00
THANOS SIOURDAKIS
67b6f9771c
Translated using Weblate (Greek)
...
Currently translated at 8.8% (120 of 1356 strings)
2021-06-16 18:23:09 +02:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
afecda0a7d
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:09 +02:00
winniepee
fa303ae12e
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.4% (1254 of 1356 strings)
2021-06-16 18:23:09 +02:00
Ayes
4bc56034cf
Translated using Weblate (Estonian)
...
Currently translated at 39.5% (536 of 1356 strings)
2021-06-16 18:23:09 +02:00
Wuzzy
a065e22f97
Translated using Weblate (German)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:09 +02:00
Marian
8231516bca
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1356 of 1356 strings)
2021-06-16 18:23:09 +02:00
narrnika
af7160b859
Translated using Weblate (Russian)
...
Currently translated at 99.3% (1347 of 1356 strings)
2021-06-16 18:21:11 +02:00
Mateusz Mendel
ec5e149c7a
Translated using Weblate (Polish)
...
Currently translated at 71.2% (966 of 1356 strings)
2021-06-16 18:21:11 +02:00
Giov4
d6debece16
Translated using Weblate (Italian)
...
Currently translated at 99.7% (1352 of 1356 strings)
2021-06-16 18:21:11 +02:00
sfan5
edf098db63
Drop --videomodes, fullscreen_bpp and high_precision_fpu settings
...
These have been pointless for a while.
2021-06-16 17:41:34 +02:00
Wuzzy
dc165fe942
Message for empty list output in /haspriv & /mods ( #11149 )
2021-06-12 18:48:21 +02:00
benrob0329
fbcf0fab8e
falling.lua - Fix Meshnodes Being Too Big ( #11307 )
2021-06-12 18:48:14 +02:00
Liso
c47313db65
Shadow mapping render pass ( #11244 )
...
Co-authored-by: x2048 <codeforsmile@gmail.com>
2021-06-06 18:51:21 +02:00
sfan5
46f42e15c4
Fix check that given IRRLICHT_LIBRARY exists
2021-06-05 13:36:52 +02:00
Muhammad Rifqi Priyo Susanto
40acfc938c
Android: Do not submit text after pressing Enter key for multi-line text ( #11298 )
...
Regular EditText is used for multi-line text to not close the dialog after pressing back button.
New button is added for submitting multi-line text.
2021-06-04 21:22:53 +02:00
DS
8f085e02a1
Add metatables to lua vectors ( #11039 )
...
Add backwards-compatible metatable functions for vectors.
2021-06-04 21:22:33 +02:00
sfan5
e15cae9fa0
fontengine: Fix crash loading PNG/XML fonts from paths without dot
...
fixes #11096
2021-06-01 19:47:41 +02:00
SmallJoker
c9144ae5e2
Add core.compare_block_status function ( #11247 )
...
Makes it possible to check the status of the mapblock in a future-extensible way.
2021-05-30 20:24:12 +02:00
Lars Müller
89f3991351
Fix base64 validation and add unittests ( #10515 )
...
Implement proper padding character checks
2021-05-30 20:23:12 +02:00
sfan5
1bc753f655
Use safe_file_write to save forceloaded blocks
2021-05-30 11:40:14 +02:00
sfan5
f30dcdb504
Fix procession ordering issue in content_cao
2021-05-30 11:40:14 +02:00
sfan5
2c53f03c18
Remove unused version detection from FindLuaJIT.cmake
2021-05-30 11:40:14 +02:00
sfan5
758e3aa1ca
Fix background color of formspec text fields
2021-05-30 11:40:14 +02:00
sfan5
a0047d6edc
script: Replace calls to depreated luaL_openlib
2021-05-30 11:40:14 +02:00
sfan5
a12017c564
Provide exact error message if postgres connection string missing
2021-05-30 11:40:14 +02:00
Wuzzy
d7a4479eb3
Fix misleading /shutdown command syntax
2021-05-29 11:45:04 +02:00
SmallJoker
5bf72468f3
UnitSAO: Prevent circular attachments
2021-05-29 11:44:48 +02:00
Wuzzy
ff48619a85
Fix cloud fog being broken for high clouds
2021-05-29 11:44:31 +02:00
savilli
673c29f7ea
Fix client crash on when con::PeerNotFoundException is thrown ( #11286 )
2021-05-24 19:40:35 +02:00
SmallJoker
93f43c890b
GUIEditBox: Allow selecting and copying read-only texts
2021-05-22 14:39:41 +02:00
sfan5
4152227f17
CI: add workaround to fix clang builds
...
see https://github.com/actions/virtual-environments/issues/3376
2021-05-17 17:12:37 +02:00
sfan5
b56a028d6b
Fix curl_timeout being ignored for Lua HTTP fetches
2021-05-17 17:12:30 +02:00
Lejo
d44f1aabbb
Fix list of libraries included in AppImage
2021-05-15 23:56:33 +02:00
Dmitry Marakasov
53dca4f95f
Use --image-base instead of -Ttext-segment for lld linker on FreeBSD ( #9367 ) ( #11263 )
2021-05-15 10:15:03 +02:00
sfan5
69c70dd319
Fix swapped vertex colors on GLES2
2021-05-11 21:15:39 +02:00
sfan5
2443f1e235
Fix overlays for 2D-drawn items
...
fixes #11248
2021-05-08 19:44:43 +02:00
lhofhansl
7c2826cbc0
Fix build for newer versions of GCC ( #11246 )
2021-05-06 19:24:30 +02:00
Wuzzy
1bb8449734
Improve liquid documentation ( #11158 )
2021-05-06 19:24:11 +02:00
Loic Blot
225d4541ff
fix: extractZipFile is not part of Client but more generic.
...
This solve a crash from mainmenu while extracting the zip
2021-05-06 16:01:52 +02:00
sfan5
ba40b39500
Add basic client-server test to CI
2021-05-05 22:49:44 +02:00
sfan5
08f1a7fbed
Use Irrlicht functions to query npot texture support
2021-05-05 22:49:44 +02:00
Loic Blot
de85bc9227
fix: some code tidy about includes & irr namespaces
2021-05-03 19:49:19 +02:00
Loic Blot
48d5abd5be
refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton
2021-05-03 19:49:19 +02:00
Loic Blot
a93712458b
fix: don't use RenderingEngine singleton when it's possible
2021-05-03 19:49:19 +02:00
Loic Blot
5a02c376ea
refacto: RenderingEngine::get_scene_manager() is now not callable from singleton
...
This permits to make evidence that we have some bad object passing on various code parts. I fixed majority of them to reduce the scope of passed objects
Unfortunately, for some edge cases i should have to expose ISceneManager from client, this should be fixed in the future when our POO will be cleaner client side (we have a mix of rendering and processing in majority of the client objects, it works but it's not clean)
2021-05-03 19:49:19 +02:00
Loic Blot
ccdd886e27
refacto: Hud: make driver, client, player, inventory, tsrc private & drop unused guienv
...
also fix c_content.h, on client it includes the src/client/hud.h instead of src/hud.h, which leads to wrong file dependency on the lua stack
2021-05-03 19:49:19 +02:00
Loic Blot
a47a00228b
refacto: drop unused Hud::smgr
2021-05-03 19:49:19 +02:00
Loic Blot
809e68fdc0
refacto: don't use RenderingEngine singleton on CAO
...
* we don't need on CAO side more than SceneManager, and temporary. Pass only required SceneManager as a parameter to build CAO and add them to the current scene
* Use temporary the RenderingEngine singleton from ClientEnvironment, waitfor for better solution
* Make ClientActiveObject::addToScene virtual function mandatory to be defined by children to ensure we don't forget to properly define it
2021-05-03 19:49:19 +02:00
Loic Blot
1bc855646e
refacto: protect some RenderingEngine::get_scene_manager
...
* protect it from Camera, Sky, ClientMap object calls
* rename Game::sky to Game::m_sky
2021-05-03 19:49:19 +02:00
Loic Blot
258101a910
refacto: RenderingEngine is now better hidden
...
* No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped)
* RenderingEngine::get_timer_time is now non static
* RenderingEngine::draw_menu_scene is now non static
* RenderingEngine::draw_scene is now non static
* RenderingEngine::{initialize,finalize} are now non static
* RenderingEngine::run is now non static
* RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access
2021-05-03 19:49:19 +02:00
Loic Blot
74125a74d3
refacto: hide mesh_cache inside the rendering engine
...
This permit cleaner access to meshCache and ensure we don't access to it from all the code
2021-05-03 19:49:19 +02:00
Loic Blot
e0716384d6
refacto: add RenderingEngine::cleanupMeshCache
...
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
2021-05-03 19:49:19 +02:00
Loic Blot
e34d28af9f
refacto: rendering engine singleton removal step 1 (filesystem)
...
Make the RenderingEngine filesystem member non accessible from everywhere
This permits also to determine that some lua code has directly a logic to extract zip file. Move this logic inside client, it's not the lua stack role to perform a such complex operation
Found also another irrlicht <1.8 compat code to remove
2021-05-03 19:49:19 +02:00
Loic Blot
bc1888ff21
fix: drop old irrlicht <1.8 compat on Client::loadMedia
2021-05-03 19:49:19 +02:00
sfan5
83a7b48bb1
Fix Windows pipelines on Gitlab-CI
2021-04-28 09:18:05 +02:00
Wuzzy
228f1c6770
Fix rotation for falling mesh degrotate nodes ( #11159 )
2021-04-28 08:38:47 +02:00
sfan5
734fb2c811
Add helpful error messages if Irrlicht library / include dir are set incorrectly ( #11232 )
2021-04-28 08:38:18 +02:00
sfan5
9660ae288a
Update library versions in buildbot ( #11229 )
2021-04-27 11:50:40 +02:00
Wuzzy
776015c350
Rename “Irrlicht” to “IrrlichtMt” in documentation
2021-04-23 21:37:45 +02:00
Vincent Robinson
074e6a67de
Add minetest.colorspec_to_colorstring
( #10425 )
2021-04-23 21:37:24 +02:00
sfan5
3e2145d662
Fix two CMake build issues
...
* PostgreSQL fallback code missed the includes (closes #11219 )
* build failed when Freetype enabled but not found
2021-04-21 20:26:43 +02:00
sfan5
daf862a38a
Fix devtest Lua error
...
fallback_image() was removed in 3e1904fa8c
,
which was written after this PR but merged before it.
2021-04-21 16:42:34 +02:00
sfan5
a24899bf2d
Look for PostgreSQL library properly and fix CI
2021-04-20 19:50:34 +02:00
sfan5
1da73418cd
Enable cleanTransparent filter for mipmapping and improve its' algorithm ( #11145 )
2021-04-20 19:50:19 +02:00
Wuzzy
90a7bd6a0a
Put torch/signlike node on floor if no paramtype2 ( #11074 )
2021-04-20 19:50:03 +02:00
Seth Traverse
16e5b39e1d
Add a key to toggle map block bounds ( #11172 )
...
It's often useful to know where the map block boundaries are for doing server admin work and the like.
Adds three modes: single mapblock, range of 5, and disabled.
2021-04-20 19:23:31 +02:00
sfan5
0077982fb7
GLES fixes ( #11205 )
...
* Consistently set float precision for GLES
* Enable DPI scaling on Windows+GLES
2021-04-18 16:07:13 +02:00
sfan5
623f0a8613
Isolate library tables between sandbox and insecure env
2021-04-18 16:06:42 +02:00
sfan5
52c0384bd1
Fix ignored OpenGLES2 include path and cmake warning
2021-04-16 23:39:16 +02:00
benrob0329
a106bfd456
Also return the ObjectRef from minetest.spawn_falling_node() ( #11184 )
2021-04-13 20:02:43 +02:00
SmallJoker
bbe120308f
Attachments: Avoid data loss caused by set_attach() in callbacks ( #11181 )
2021-04-13 20:02:18 +02:00
sfan5
4d0fef8ae8
Buildbot changes to allow out-of-tree builds ( #11180 )
...
* Do proper out-of-tree builds with buildbot
* Don't write to bin/ for cross builds
* This allows safely building multiple builds from the same source dir, e.g. with the buildbot.
* Disable Gettext (by default) and Freetype (entirely) for server builds
2021-04-11 17:10:06 +02:00
Wuzzy
4b8209d9a4
Modifying fall damage via armor group ( #11080 )
...
Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
2021-04-11 17:09:37 +02:00
sfan5
0abc1e98ed
Fix server favorites not saving when client/serverlist/ doesn't exist already ( #11152 )
2021-04-09 22:36:10 +02:00
Wuzzy
a0e7a4a0df
Update German builtin translation
2021-04-09 22:34:18 +02:00
Wuzzy
8c7e214875
Update builtin locale files
2021-04-09 22:34:18 +02:00
Wuzzy
e89e6c8380
Don't reseed stars when changing star count
2021-04-09 22:33:45 +02:00
sfan5
57218aa9d1
Update Android build config
2021-04-09 21:16:45 +02:00
yw05
85163b531f
Make edit boxes respond to string input (IME) ( #11156 )
...
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23 ) that are usually triggered by entering text with an IME.
2021-04-05 15:56:29 +02:00
DS
2332527765
Add vector.to_string and vector.from_string ( #10323 )
...
Writing vectors as strings is very common and should belong to `vector.*`. `minetest.pos_to_string` is also too long to write, implies that one should only use it for positions and leaves no spaces after the commas.
2021-04-05 15:55:56 +02:00
sfan5
19c283546c
Don't apply connection timeout limit to locally hosted servers
...
fixes #11085
2021-04-05 15:21:43 +02:00
SmallJoker
c11208c4b5
Game: Scale damage flash to max HP
...
The flash intensity is calculated proportionally to the maximal HP.
2021-04-05 13:38:50 +02:00
sfan5
f0bad0e2ba
Reserve vectors before pushing and other code quality changes ( #11161 )
2021-04-05 13:38:31 +02:00
Wuzzy
3e1904fa8c
Devtest: Remove testnodes_show_fallback_image
2021-04-05 13:37:58 +02:00
Loic Blot
88783679cf
fix(ci): ensure we build on docker only modifications
2021-04-02 14:40:22 +02:00
Loic Blot
5de849713e
fix(docker): reduce the number of required libraries on build
2021-04-02 14:40:22 +02:00
Loic Blot
78da79b60f
fix: use irrlicht fork instead of the standard library
2021-04-02 14:40:22 +02:00
Loic Blot
c4b048fbb3
fix: don't send the whole local context to the docker image
2021-04-02 14:40:22 +02:00
sfan5
024d47e0d3
CGUITTFont optimizations ( #11136 )
2021-04-02 00:20:16 +02:00
sfan5
34888a914e
Sort out cURL timeouts and increase default
2021-04-02 00:19:39 +02:00
Vincent Robinson
3560691c0a
Add math.round
and fix vector.round
( #10803 )
2021-04-02 00:18:58 +02:00
sfan5
1e4913cd76
Irrlicht support code maintenance
2021-03-31 13:15:47 +02:00
sfan5
0d90ed6d92
Draw items as 2D images (instead of meshes) when possible
2021-03-30 21:50:39 +02:00
Lars Müller
88d1fcfe23
Block & report player self-interaction ( #11137 )
2021-03-30 21:49:50 +02:00
SmallJoker
f4118a4fde
Consistent title bar + render information in mainmenu ( #10764 )
2021-03-30 21:49:15 +02:00
sfan5
f345d00a43
Add entry in features table for degrotate changes
2021-03-30 14:40:09 +02:00
Wuzzy
6c9be39db0
Fix wield image of plantlike_rooted ( #11067 )
2021-03-30 00:27:46 +02:00
Vitaliy
3b78a22371
Degrotate support for mesh nodes ( #7840 )
2021-03-30 00:25:11 +02:00
Emojigit
fde2785fe3
Update language choices in settingtypes.txt ( #11124 )
2021-03-29 19:58:39 +02:00
Wuzzy
7ad8ca62dc
Clean up various misleading and/or confusing messages and texts related to priv changes ( #11126 )
2021-03-29 19:57:48 +02:00
Wuzzy
7c24a9ebef
Update CONTRIBUTING info on translating builtin
2021-03-29 19:56:20 +02:00
sfan5
8d89f5f0cc
Replace fallback font nonsense with automatic per-glyph fallback ( #11084 )
2021-03-29 19:55:24 +02:00
sfan5
5f4c78a77d
Fix broken include check and correct Gitlab-CI script
2021-03-26 23:12:19 +01:00
HybridDog
fc1512cca6
Translate chatcommand delay message and replace minetest with core ( #11113 )
2021-03-26 20:59:05 +01:00
sfan5
6a26d6d15a
Adjust build config for Irrlicht changes (again)
2021-03-26 20:58:45 +01:00
Loic Blot
298bb3d8f7
Drop irrUString from MT, it's owned by irrlicht now
2021-03-26 20:58:45 +01:00
Desour
437d011968
Fix attached-to-object sounds having a higher reference distance
2021-03-23 15:43:40 +01:00
sfan5
2da1eee394
Fix broken BiomeGen
abstraction ( #11107 )
2021-03-23 15:43:26 +01:00
Jean-Patrick Guerrero
c9eba8440d
Fix segfault for model[] without animation speed
2021-03-21 23:23:30 +01:00
Hugues Ross
afe988d83d
lua_api.txt: Fix style selector examples
2021-03-21 23:23:14 +01:00
Vitaliy
44ed05ddf0
Restore minimal normal texture support (for minimap shading)
2021-03-21 23:22:22 +01:00
sfan5
531e7ef8eb
Serialize tool capabilities JSON without whitespace
...
fixes #11087
2021-03-20 22:06:17 +01:00
sfan5
042131d91d
Mainmenu: Improve "Join Game" tab ( #11078 )
2021-03-20 19:48:25 +01:00
SmallJoker
05719913ac
Schematic: Properly deal with before/after node resolving and document ( #11011 )
...
This fixes an out-of-bounds index access when the node resolver was already applied to the schematic (i.e. biome decoration).
Also improves the handling of the two cases: prior node resolving (m_nodenames), and after node resolving (manual lookup)
2021-03-20 13:02:15 +01:00
Wuzzy
a8cc3bdb08
Builtin: Translatable join, leave, profiler msgs ( #11064 )
2021-03-19 21:46:11 +01:00
Zughy
ee2d46dcbe
Builtin: Italian translation ( #11038 )
2021-03-19 21:45:46 +01:00
Elias Fleckenstein
492110a640
Check for duplicate login in TOSERVER_INIT handler ( #11017 )
...
i.e. checks for duplicate logins before sending all media data to the client.
2021-03-19 21:45:29 +01:00
Elias Åström
59a1b53d67
Scale mouse/joystick sensitivity depending on FOV ( #11007 )
2021-03-19 21:43:01 +01:00
sfan5
96d4df995c
Drop old text input workarounds ( #11089 )
...
* Drop unused intlGUIEditBox
* Drop unnecessary Linux text input workarounds
2021-03-19 18:44:32 +01:00
Jean-Patrick Guerrero
285ba74723
GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls
2021-03-16 23:28:16 +01:00
Jean-Patrick Guerrero
66b5c08664
Fix deprecated calls with Irrlicht 1.9
2021-03-16 23:27:15 +01:00
Wuzzy
62e3593944
Tweak duration_to_string formatting
2021-03-16 18:37:46 +01:00
Wuzzy
9113538142
DevTest: Formspec tests, children getter, better lighttool ( #10918 )
2021-03-16 18:37:24 +01:00
Wuzzy
88f514ad7a
Devtest: Fix missing log level in minetest.log ( #11068 )
2021-03-15 10:13:15 +01:00
HybridDog
88b052cbea
Chatcommands: Show the execution time if the command takes a long time ( #10472 )
2021-03-13 11:18:25 +01:00
sfan5
051bc9e662
Enable Irrlicht debug logging with --trace
2021-03-12 20:56:02 +01:00
sfan5
1bc85a47cb
Avoid unnecessary copies during media/mesh loading
2021-03-12 20:56:02 +01:00
sfan5
cff35cf0b3
Handle mesh load failure without crashing
2021-03-12 20:56:02 +01:00
sfan5
f213376b35
Update Gitlab-CI configuration too
2021-03-12 20:55:51 +01:00
sfan5
bb1c4badfb
Clean up cmake DLL installation and other minor things
2021-03-12 20:55:51 +01:00
sfan5
75eb28b959
CI: update configurations for Irrlicht fork
2021-03-09 21:53:17 +01:00
sfan5
91c9313c87
Switch Irrlicht dependency to our own fork
...
-> https://github.com/minetest/irrlicht
2021-03-09 21:53:17 +01:00
sfan5
3579dd2186
Restore Irrlicht 1.9 support
2021-03-09 21:53:17 +01:00
Lejo
13b50f55a4
Fix missing jsoncpp in the Docker image
2021-03-09 00:57:12 +01:00
sfan5
bf8fb2672e
Use place_param2 client-side for item appearance & prediction ( #11024 )
2021-03-09 00:56:53 +01:00
Wuzzy
a21402b38f
Translate builtin into German (server-side) ( #11032 )
2021-03-08 20:27:48 +01:00
Wuzzy
c48bbfd067
Fix misleading chat messages of /clearobjects ( #10690 )
2021-03-08 20:27:32 +01:00
SmallJoker
176f5866cb
Protect dropping from far node inventories
...
Also changes if/if to switch/case
2021-03-07 17:18:02 +01:00
SmallJoker
fc864029b9
Protect per-player detached inventory actions
2021-03-07 17:18:02 +01:00
Wuzzy
d9b78d6492
Predict failing placement of ignore nodes
2021-03-07 14:26:50 +01:00
sfan5
dcb30a593d
Set ENABLE_SYSTEM_JSONCPP to TRUE by default
2021-03-07 14:26:09 +01:00
sfan5
593d5f4465
Clean up ClientEvent hudadd/hudchange internals
2021-03-06 23:02:10 +01:00
sfan5
dd228fd92e
buildbot: Drop i586-mingw32msvc, add i686-w64-mingw32-posix detection
2021-03-06 23:01:50 +01:00
sfan5
1c7b69f9cf
Fix function override warnings in mg_ore.h
2021-03-06 14:21:08 +01:00
Vitaliy
abb0c99a6c
Pause animations while game is paused ( #10658 )
...
Pauses all mesh animations while game is paused.
2021-03-05 16:30:01 +01:00
Wuzzy
cafad6ac03
Translate builtin ( #10693 )
...
This PR is the second attempt to translate builtin.
Server-sent translation files can be added to `builtin/locale/`, whereas client-side translations depend on gettext.
2021-03-05 16:29:48 +01:00
sfan5
ac8ac19169
Protect mg_name and mg_flags from being set by Lua ( #11010 )
2021-03-04 20:38:28 +01:00
Elias Fleckenstein
5b42b5a8c2
Add mod.conf to preview clientmod ( #11020 )
2021-03-04 20:37:41 +01:00
Muhammad Rifqi Priyo Susanto
1abb83b1ab
Use vec4 for varTexCoord in interlaced shader ( #11004 )
...
Somewhen in the past, inTexCoord0 was a vec2. Now, it is a vec4.
2021-03-01 13:37:32 +01:00
SmallJoker
3a2f55bc19
Settings: Push groups in to_table as well
2021-03-01 12:14:41 +01:00
Elias Fleckenstein
c401a06f8a
Make pkgmgr handle modpacks containing modpacks properly
...
fixes #10550
2021-03-01 12:13:47 +01:00
rubenwardy
ccdaf5de54
Disable clang-format, clean up scripts
2021-03-01 12:12:52 +01:00
rubenwardy
b390bd2ea5
pkgmgr: Fix crash when .conf release field is invalid
...
Fixes #10942
2021-02-28 17:11:41 +00:00
hecks
225e69063f
Keep mapblocks in memory if they're in range ( #10714 )
...
Some other minor parts of clientmap.cpp have been cleaned up along the way
2021-02-26 21:23:46 +01:00
savilli
3edb1ddb81
Fix hud_change and hud_remove after hud_add ( #10997 )
2021-02-26 21:21:20 +01:00
Lars Müller
b5eda416ce
Slap u64 on everything time-y ( #10984 )
2021-02-24 12:05:17 +01:00
Yaman Qalieh
d51d0d77c4
Allow toggling of texture pack by double clicking
2021-02-24 11:50:19 +01:00
rubenwardy
9f6167fc3b
Deprecate not providing mod.conf
2021-02-24 11:47:50 +01:00
HybridDog
92f4c68c0c
Restructure teleport command code ( #9706 )
2021-02-24 11:46:39 +01:00
Wuzzy
827224635b
Use "Aux1" key name consistently everywhere
2021-02-24 11:45:30 +01:00
sfan5
02d64a51ee
Continue with 5.5.0-dev
2021-02-23 19:50:44 +01:00
sfan5
f3e51dca15
Bump version to 5.4.0
2021-02-23 19:50:37 +01:00
sfan5
9b59b2f75d
Fix keyWasDown in input handler
...
This was changed 291a6b70d6
but should have never been done.
2021-02-23 19:41:38 +01:00
sfan5
35b476c65d
Update credits tab and mailmap
2021-02-23 19:40:44 +01:00
sfan5
74a93546ea
Add script that sorts contributions for use in credits
2021-02-23 19:40:44 +01:00
DS
4abe4b87b5
Allow overwriting media files of dependencies ( #10752 )
2021-02-23 19:39:15 +01:00
savilli
29681085b9
Fix wrong number of items in allow_metadata_inventory_put/take callbacks ( #10990 )
2021-02-23 19:36:55 +01:00
updatepo.sh
bbf4f7ae54
Update translation files
2021-02-23 19:19:29 +01:00
updatepo.sh
e86fbf9c06
Update minetest.conf.example and dummy translation file
2021-02-23 19:03:34 +01:00
updatepo.sh
f35b9be03d
Reset Chinese translations to previous state
...
due to vandalism
2021-02-23 19:02:39 +01:00
Osoitz
f0084d8494
Translated using Weblate (Basque)
...
Currently translated at 21.7% (294 of 1353 strings)
2021-02-23 18:27:54 +01:00
Victor Barcelos Lacerda
b88015d8e4
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
ssantos
914b011742
Translated using Weblate (Portuguese)
...
Currently translated at 93.0% (1259 of 1353 strings)
2021-02-23 18:27:54 +01:00
Kornelijus Tvarijanavičius
0e75f85c41
Translated using Weblate (Lithuanian)
...
Currently translated at 16.0% (217 of 1353 strings)
2021-02-23 18:27:54 +01:00
Reza Almanda
d77a8a980f
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
Tor Egil Hoftun Kvæstad
308a3fc8f4
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 32.8% (445 of 1353 strings)
2021-02-23 18:27:54 +01:00
Marian
c1ae72de84
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
Michalis
9de982dcae
Translated using Weblate (Greek)
...
Currently translated at 1.6% (22 of 1353 strings)
2021-02-23 18:27:54 +01:00
Yossi Cohen
d8e7b6ec68
Translated using Weblate (Hebrew)
...
Currently translated at 24.3% (330 of 1353 strings)
2021-02-23 18:27:54 +01:00
Wuzzy
65047e4192
Translated using Weblate (Lojban)
...
Currently translated at 13.9% (189 of 1353 strings)
2021-02-23 18:27:54 +01:00
Oğuz Ersen
3b7663e79f
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
Ertu (Er2, Err)
7dc68ebf53
Translated using Weblate (Russian)
...
Currently translated at 99.4% (1345 of 1353 strings)
2021-02-23 18:27:54 +01:00
Jacques Lagrange
8bfe4e3cef
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
Ács Zoltán
1b7acd2a6c
Translated using Weblate (Hungarian)
...
Currently translated at 75.7% (1025 of 1353 strings)
2021-02-23 18:27:54 +01:00
Adnan1091
e97dc5ece5
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
Oğuz Ersen
9895eba92e
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:27:54 +01:00
Omer I.S
454fe5be3c
Translated using Weblate (Hebrew)
...
Currently translated at 18.4% (250 of 1353 strings)
2021-02-23 18:27:54 +01:00
Yossi Cohen
48f885e310
Translated using Weblate (Hebrew)
...
Currently translated at 13.7% (186 of 1353 strings)
2021-02-23 18:26:46 +01:00
Nikita Epifanov
19d3ce7609
Translated using Weblate (Russian)
...
Currently translated at 99.0% (1340 of 1353 strings)
2021-02-23 18:26:45 +01:00
Giov4
609eca5b81
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:26:45 +01:00
j45 minetest
de29007c82
Translated using Weblate (Spanish)
...
Currently translated at 74.3% (1006 of 1353 strings)
2021-02-23 18:26:45 +01:00
Muhammad Rifqi Priyo Susanto
033cba996f
Translated using Weblate (Indonesian)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:26:45 +01:00
eugenefil
f879c0b212
Translated using Weblate (Russian)
...
Currently translated at 96.3% (1303 of 1353 strings)
2021-02-23 18:26:45 +01:00
Ronoaldo Pereira
fbdb517274
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 93.7% (1269 of 1353 strings)
2021-02-23 18:26:45 +01:00
Vít Skalický
2291b7ebb8
Translated using Weblate (Czech)
...
Currently translated at 53.5% (724 of 1353 strings)
2021-02-23 18:26:45 +01:00
Wuzzy
0c80c5635d
Translated using Weblate (German)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:26:45 +01:00
Tviljan
48518b88ad
Translated using Weblate (Finnish)
...
Currently translated at 0.5% (8 of 1353 strings)
2021-02-23 18:26:45 +01:00
aitzol berasategi
cd95832634
Translated using Weblate (Basque)
...
Currently translated at 21.2% (288 of 1353 strings)
2021-02-23 18:26:45 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
6cd5bbeb43
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:26:45 +01:00
eol
ff8c2dfd6b
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:26:45 +01:00
BreadW
7f5b4edb66
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (1353 of 1353 strings)
2021-02-23 18:26:45 +01:00
cafou
a4d57b4a16
Translated using Weblate (French)
...
Currently translated at 96.7% (1309 of 1353 strings)
2021-02-23 18:26:45 +01:00
apo
ac3d5d0873
Translated using Weblate (Spanish)
...
Currently translated at 73.6% (996 of 1353 strings)
2021-02-23 18:26:45 +01:00
sfan5
25e8e2dcdf
Translated using Weblate (German)
...
Currently translated at 99.6% (1348 of 1353 strings)
2021-02-23 18:24:24 +01:00
Bernd Ritter
1539c377de
Translated using Weblate (German)
...
Currently translated at 99.6% (1348 of 1353 strings)
2021-02-23 18:24:24 +01:00
SmallJoker
bce875fada
Minimap: Fix default label translations
2021-02-22 20:25:16 +01:00
Lars Müller
051e4c2b00
Fix wrong reported item counts for inventory actions using Shift-Move ( #10930 )
2021-02-21 20:02:23 +01:00
Wuzzy
c12e9cdcba
Fail gracefully if main_menu_script has bad value ( #10938 )
...
Builtin: Move :close() before dofile
2021-02-19 19:59:48 +01:00
Wuzzy
e441ab9675
Fix world-aligned node rendering at bottom ( #10742 )
2021-02-19 19:45:36 +01:00
Elias Fleckenstein
b2ab5fd161
Replace deprecated call to add_player_velocity in builtin ( #10968 )
2021-02-18 14:39:04 +00:00
rubenwardy
f85e9ab925
Add nametag background setting and object property ( #10937 )
2021-02-17 19:51:28 +00:00
rubenwardy
a8f6befd39
Fix short_description fallback order ( #10943 )
2021-02-17 18:53:44 +00:00
SmallJoker
7832b6843e
Server-side authority for attached players ( #10952 )
...
The server must have authority about attachments. This commit ignores any player movement packets as long they're attached.
2021-02-15 20:41:19 +01:00
sfan5
f018737b06
Fix segfault with invalid texture strings and minimap enabled
...
closes #10949
2021-02-14 11:28:02 +01:00
SmallJoker
375bcd65c1
Send attachments instantly before set_pos ( #10235 )
2021-02-12 20:54:06 +01:00
rubenwardy
4db7fb4a3b
Replace 'minetest.' with 'core.' in builtin
2021-02-11 10:18:22 +00:00
TotalCaesar659
9736b9cea5
Update URLs to HTTPS ( #10923 )
2021-02-10 14:34:21 +01:00
rubenwardy
b28749057a
Fix crash in tab_online when cURL is disabled
2021-02-09 12:41:11 +00:00
Jean-Patrick Guerrero
1d64e6537c
Pause menu: Fix segfault on u/down key input
2021-02-08 18:56:51 +01:00
Jean-Patrick Guerrero
6591597430
Fix animation_image support in scroll containers
2021-02-08 00:04:38 +00:00
rubenwardy
857dbcd572
Reduce empty translation error to infostream
...
Fixes #10905
2021-02-07 16:03:48 +00:00
rubenwardy
3a8c37181a
Use consistent temp folder path ( #10892 )
2021-02-07 15:27:24 +00:00
Vitaliy
4caf156be5
Rewrite touch event conversion ( #10636 )
2021-02-07 11:48:30 +01:00
Muhammad Rifqi Priyo Susanto
3ac07ad34d
Fall back to default when rendering mode (3d_mode) is set invalid ( #10922 )
2021-02-06 13:47:12 +01:00
rubenwardy
fbb9ef3818
Reduce ore noise_parms error to deprecation warning ( #10921 )
...
Fixes #10914
2021-02-06 13:46:45 +01:00
sfan5
0f74c7a977
Fix double free caused by CGUITTFont code
...
This partially reverts commit 2072afb72b
.
fixes #10920
2021-02-06 13:34:56 +01:00
SmallJoker
d287da184c
Server: properly delete ServerMap on interrupted startups
...
A static mod error (e.g. typo) would abort the initialization but never free ServerMap
2021-02-05 18:38:34 +01:00
Wuzzy
9b64834c6a
Devtest: Remove bumpmap/parallax occl. test nodes ( #10902 )
2021-02-04 21:43:29 +01:00
Wuzzy
8c19823aa7
Fix documentation of formspec sound style ( #10913 )
2021-02-04 21:43:12 +01:00
k.h.lai
2072afb72b
Fix memory leak detected by address sanitizer ( #10896 )
2021-02-02 20:56:24 +01:00
Vincent Robinson
f227e40180
Fix list spacing and size (again) ( #10869 )
2021-02-02 20:55:13 +01:00
sfan5
9388c23e86
Handle UTF-16 correctly in Wireshark dissector
2021-02-02 20:46:08 +01:00
sfan5
674d67f312
Encode high codepoints as surrogates to safely transport wchar_t over network
...
fixes #7643
2021-02-02 20:46:08 +01:00
sfan5
c834d2ab25
Drop wide/narrow conversion functions
...
The only valid usecase for these is interfacing with OS APIs
that want a locale/OS-specific multibyte encoding.
But they weren't used for that anywhere, instead UTF-8 is pretty
much assumed when it comes to that.
Since these are only a potential source of bugs and do not fulfil
their purpose at all, drop them entirely.
2021-02-02 20:46:08 +01:00
sfan5
5e392cf34f
Refactor utf8_to_wide/wide_to_utf8 functions
2021-02-02 20:46:08 +01:00
SmallJoker
7ebd5da9cd
Server GotBlocks(): Lock clients to avoid multithreading issues
2021-02-02 19:10:35 +01:00
sfan5
40ad976753
Revise dynamic_add_media API to better accomodate future changes
2021-02-01 23:00:13 +01:00
sfan5
a01a02f7a1
Preserve immortal group for players when damage is disabled
2021-01-31 20:38:12 +01:00
sfan5
fd1c1a755e
Readd Client::sendPlayerPos optimization (was part of 81c7f0a
)
...
This reverts commit b49dfa92ce
.
2021-01-31 20:38:12 +01:00
sfan5
112a6adb10
Cache client IP in RemoteClient so it can always be retrieved ( #10887 )
...
specifically: after the peer has already disappeared
2021-01-31 20:36:47 +01:00
rubenwardy
6e0e0324a4
Fix minetest.dig_node returning true when node isn't diggable ( #10890 )
2021-01-31 18:49:51 +00:00
updatepo.sh
d1ec5117d9
Update translation files
2021-01-30 21:13:51 +01:00
updatepo.sh
cb807b26e2
Update minetest.conf.example and dummy translation file
2021-01-30 21:12:46 +01:00
Benjamin Alan Jamie
d39c0310da
Deleted translation using Weblate (Lao)
2021-01-30 21:06:14 +01:00
Benjamin Alan Jamie
d4e5b0f2b7
Deleted translation using Weblate (Burmese)
2021-01-30 21:06:14 +01:00
Benjamin Alan Jamie
00e735ee9b
Deleted translation using Weblate (Japanese (Kansai))
2021-01-30 21:06:14 +01:00
Benjamin Alan Jamie
237d4a948a
Deleted translation using Weblate (Filipino)
2021-01-30 21:06:14 +01:00
eol
30c28654e8
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:14 +01:00
zjeffer
d1a15634c9
Translated using Weblate (Dutch)
...
Currently translated at 85.1% (1150 of 1350 strings)
2021-01-30 21:06:14 +01:00
Joshua De Clercq
48691b0b2b
Translated using Weblate (Dutch)
...
Currently translated at 85.1% (1150 of 1350 strings)
2021-01-30 21:06:14 +01:00
AISS
9eac2edd1a
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 77.1% (1041 of 1350 strings)
2021-01-30 21:06:14 +01:00
Ronoaldo Pereira
588af14733
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 92.5% (1250 of 1350 strings)
2021-01-30 21:06:14 +01:00
AISS
5a7c728a9f
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:14 +01:00
ZhiZe-ZG
df40105009
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:14 +01:00
Deleted User
722d895e66
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 98.0% (1323 of 1350 strings)
2021-01-30 21:06:14 +01:00
AISS
7f2daf95b5
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 98.0% (1323 of 1350 strings)
2021-01-30 21:06:14 +01:00
ZhiZe-ZG
8610adae6c
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 98.0% (1323 of 1350 strings)
2021-01-30 21:06:14 +01:00
AISS
a76e224dee
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 97.2% (1313 of 1350 strings)
2021-01-30 21:06:14 +01:00
ZhiZe-ZG
5fdd3db5e8
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 97.2% (1313 of 1350 strings)
2021-01-30 21:06:14 +01:00
IFRFSX
4160502baa
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 96.7% (1306 of 1350 strings)
2021-01-30 21:06:14 +01:00
AISS
071bf32057
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 96.7% (1306 of 1350 strings)
2021-01-30 21:06:14 +01:00
ZhiZe-ZG
0b203b35cd
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 96.7% (1306 of 1350 strings)
2021-01-30 21:06:14 +01:00
Edgar
bf2e079f6d
Translated using Weblate (Dutch)
...
Currently translated at 79.7% (1076 of 1350 strings)
2021-01-30 21:06:14 +01:00
Allan Nordhøy
d6980c22d3
Translated using Weblate (Norwegian Nynorsk)
...
Currently translated at 29.1% (394 of 1350 strings)
2021-01-30 21:06:14 +01:00
Omer I.S
c6abdfef48
Translated using Weblate (Hebrew)
...
Currently translated at 11.1% (150 of 1350 strings)
2021-01-30 21:06:14 +01:00
Ferdinand Tampubolon
bb0f2b28ee
Translated using Weblate (Indonesian)
...
Currently translated at 99.6% (1345 of 1350 strings)
2021-01-30 21:06:14 +01:00
Tejaswi Hegde
583babc1cf
Translated using Weblate (Kannada)
...
Currently translated at 4.9% (67 of 1350 strings)
2021-01-30 21:06:14 +01:00
Atrate
9e646364d9
Translated using Weblate (Polish)
...
Currently translated at 74.2% (1002 of 1350 strings)
2021-01-30 21:06:14 +01:00
Man Ho Yiu
5505a6af00
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 76.7% (1036 of 1350 strings)
2021-01-30 21:06:14 +01:00
zjeffer
3cf6cea911
Translated using Weblate (Dutch)
...
Currently translated at 79.0% (1067 of 1350 strings)
2021-01-30 21:06:14 +01:00
cypMon
26fd464fb3
Translated using Weblate (Spanish)
...
Currently translated at 74.5% (1007 of 1350 strings)
2021-01-30 21:06:14 +01:00
IFRFSX
09b87c6e1a
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.1% (1284 of 1350 strings)
2021-01-30 21:06:14 +01:00
ZhiZe-ZG
9cf4cba7e5
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 95.1% (1284 of 1350 strings)
2021-01-30 21:06:14 +01:00
IFRFSX
9e209a4a90
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.2% (1273 of 1350 strings)
2021-01-30 21:06:14 +01:00
ZhiZe-ZG
33d9f83c44
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 94.2% (1273 of 1350 strings)
2021-01-30 21:06:14 +01:00
HunSeongPark
14f9794ba8
Translated using Weblate (Korean)
...
Currently translated at 75.2% (1016 of 1350 strings)
2021-01-30 21:06:14 +01:00
miaplacidus
54a3b37ea4
Translated using Weblate (Korean)
...
Currently translated at 75.1% (1015 of 1350 strings)
2021-01-30 21:06:14 +01:00
Quick Shell
339faea2e7
Translated using Weblate (Korean)
...
Currently translated at 75.1% (1015 of 1350 strings)
2021-01-30 21:06:14 +01:00
Joaquín Villalba
a66401b32d
Translated using Weblate (Spanish)
...
Currently translated at 73.9% (998 of 1350 strings)
2021-01-30 21:06:14 +01:00
IFRFSX
49728d0b01
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 92.0% (1243 of 1350 strings)
2021-01-30 21:06:14 +01:00
Janar Leas
bc69b4d52c
Translated using Weblate (Estonian)
...
Currently translated at 39.3% (531 of 1350 strings)
2021-01-30 21:06:14 +01:00
Gao Tiesuan
64599a493c
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.2% (1232 of 1350 strings)
2021-01-30 21:06:14 +01:00
IFRFSX
dd08fe0a29
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 91.2% (1232 of 1350 strings)
2021-01-30 21:06:14 +01:00
Gao Tiesuan
60a7c02511
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.9% (1228 of 1350 strings)
2021-01-30 21:06:14 +01:00
IFRFSX
3b46e94318
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.9% (1228 of 1350 strings)
2021-01-30 21:06:14 +01:00
Gao Tiesuan
fa5092dabc
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 90.8% (1227 of 1350 strings)
2021-01-30 21:06:14 +01:00
Allan Nordhøy
6657f877a8
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 58.5% (790 of 1350 strings)
2021-01-30 21:06:14 +01:00
HunSeongPark
27441874e4
Translated using Weblate (Korean)
...
Currently translated at 47.3% (639 of 1350 strings)
2021-01-30 21:06:14 +01:00
Andrei Stepanov
8dea5fd3b3
Translated using Weblate (Russian)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:14 +01:00
Alex Parra
92c12a1fc8
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 92.1% (1244 of 1350 strings)
2021-01-30 21:06:14 +01:00
kang
0b6614839c
Translated using Weblate (Korean)
...
Currently translated at 39.4% (533 of 1350 strings)
2021-01-30 21:06:14 +01:00
하영김
12eb5fcc48
Translated using Weblate (Korean)
...
Currently translated at 39.4% (532 of 1350 strings)
2021-01-30 21:06:14 +01:00
sfan5
6553777982
Translated using Weblate (Greek)
...
Currently translated at 1.6% (22 of 1350 strings)
2021-01-30 21:06:14 +01:00
Nicolae Crefelean
f79b240764
Translated using Weblate (Romanian)
...
Currently translated at 46.4% (627 of 1350 strings)
2021-01-30 21:06:14 +01:00
Janar Leas
a66d6bcad4
Translated using Weblate (Estonian)
...
Currently translated at 35.7% (482 of 1350 strings)
2021-01-30 21:06:14 +01:00
Janar Leas
44b15b1dc8
Translated using Weblate (Czech)
...
Currently translated at 55.8% (754 of 1350 strings)
2021-01-30 21:06:14 +01:00
ResuUman
146b48e2fe
Translated using Weblate (Polish)
...
Currently translated at 73.3% (990 of 1350 strings)
2021-01-30 21:06:14 +01:00
Liet Kynes
2bc2d8480a
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 58.5% (790 of 1350 strings)
2021-01-30 21:06:14 +01:00
Petter Reinholdtsen
3a245e95be
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 58.3% (788 of 1350 strings)
2021-01-30 21:06:14 +01:00
Nick Naumenko
c600038705
Translated using Weblate (Ukrainian)
...
Currently translated at 45.7% (617 of 1350 strings)
2021-01-30 21:06:14 +01:00
William Desportes
f43df20559
Translated using Weblate (French)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:14 +01:00
Maksim Gamarnik
1c46ab6d69
Translated using Weblate (Russian)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:14 +01:00
Tiller Luna
696db40ec3
Translated using Weblate (Russian)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:14 +01:00
Osoitz
f4503542eb
Translated using Weblate (Basque)
...
Currently translated at 18.7% (253 of 1350 strings)
2021-01-30 21:06:13 +01:00
Eyekay49
54bbea30ef
Translated using Weblate (Hindi)
...
Currently translated at 34.5% (467 of 1350 strings)
2021-01-30 21:06:13 +01:00
THANOS SIOURDAKIS
f07faf8919
Translated using Weblate (Greek)
...
Currently translated at 1.6% (22 of 1350 strings)
2021-01-30 21:06:13 +01:00
Iztok Bajcar
55646ed54f
Translated using Weblate (Slovenian)
...
Currently translated at 46.6% (630 of 1350 strings)
2021-01-30 21:06:13 +01:00
ssantos
9851491a3c
Translated using Weblate (Portuguese)
...
Currently translated at 94.5% (1277 of 1350 strings)
2021-01-30 21:06:13 +01:00
Kornelijus Tvarijanavičius
7dea11ba33
Translated using Weblate (Lithuanian)
...
Currently translated at 16.2% (220 of 1350 strings)
2021-01-30 21:06:13 +01:00
pitchum
7a5d8aea38
Translated using Weblate (French)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:13 +01:00
Jo
97fd5f012f
Translated using Weblate (Spanish)
...
Currently translated at 72.7% (982 of 1350 strings)
2021-01-30 21:06:13 +01:00
Agustin Calderon
8d36bc2624
Translated using Weblate (Spanish)
...
Currently translated at 71.8% (970 of 1350 strings)
2021-01-30 21:06:13 +01:00
Jo
d8b62dc217
Translated using Weblate (Spanish)
...
Currently translated at 71.7% (969 of 1350 strings)
2021-01-30 21:06:13 +01:00
Agustin Calderon
632e2bfe65
Translated using Weblate (Spanish)
...
Currently translated at 71.7% (969 of 1350 strings)
2021-01-30 21:06:13 +01:00
Jo
0283ae54da
Translated using Weblate (Spanish)
...
Currently translated at 71.7% (968 of 1350 strings)
2021-01-30 21:06:13 +01:00
Nathan
0306dab84f
Translated using Weblate (French)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:13 +01:00
Nikita Epifanov
5871e32a84
Translated using Weblate (Russian)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:13 +01:00
Célio Rodrigues
485e4d82a2
Translated using Weblate (Portuguese)
...
Currently translated at 94.5% (1277 of 1350 strings)
2021-01-30 21:06:13 +01:00
IFRFSX
aa6bd97503
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 89.9% (1214 of 1350 strings)
2021-01-30 21:06:13 +01:00
Fixer
9cb7570cfb
Translated using Weblate (Ukrainian)
...
Currently translated at 42.9% (580 of 1350 strings)
2021-01-30 21:06:13 +01:00
Fontan 030
10c237a274
Translated using Weblate (Kazakh)
...
Currently translated at 4.0% (54 of 1350 strings)
2021-01-30 21:06:13 +01:00
Celio Alves
4015f4eada
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 92.0% (1243 of 1350 strings)
2021-01-30 21:06:13 +01:00
ssantos
366ff51e0e
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 91.8% (1240 of 1350 strings)
2021-01-30 21:06:13 +01:00
Allan Nordhøy
e2f97b5ec0
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 57.3% (774 of 1350 strings)
2021-01-30 21:06:13 +01:00
Petter Reinholdtsen
ffe56c572f
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 57.1% (771 of 1350 strings)
2021-01-30 21:06:13 +01:00
Omeritzics Games
bd8dfdd263
Translated using Weblate (Hebrew)
...
Currently translated at 6.2% (85 of 1350 strings)
2021-01-30 21:06:13 +01:00
Milos
ab5065d54a
Translated using Weblate (Serbian (latin))
...
Currently translated at 6.3% (86 of 1350 strings)
2021-01-30 21:06:13 +01:00
Milos
264ab502e1
Added translation using Weblate (Serbian (latin))
2021-01-30 21:06:13 +01:00
Olivier Dragon
ccadc23864
Translated using Weblate (French)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:13 +01:00
Brian Gaucher
6cca7c1996
Translated using Weblate (French)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:13 +01:00
Olivier Dragon
70a066571e
Translated using Weblate (French)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:13 +01:00
Brian Gaucher
683cc45a5c
Translated using Weblate (French)
...
Currently translated at 99.9% (1349 of 1350 strings)
2021-01-30 21:06:13 +01:00
Alexsandro Thomas
265df122f6
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 91.9% (1241 of 1350 strings)
2021-01-30 21:06:13 +01:00
Gao Tiesuan
5e01970c40
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 88.8% (1200 of 1350 strings)
2021-01-30 21:06:13 +01:00
Larissa Piklor
b43f8cb2de
Translated using Weblate (Romanian)
...
Currently translated at 46.3% (626 of 1350 strings)
2021-01-30 21:06:13 +01:00
Vinicius Martins
fb129f17ec
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 90.5% (1222 of 1350 strings)
2021-01-30 21:06:13 +01:00
Samuel Carvalho de Araújo
c1957df543
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 90.5% (1222 of 1350 strings)
2021-01-30 21:06:13 +01:00
atomicbeef
ace25f516b
Translated using Weblate (Bulgarian)
...
Currently translated at 8.0% (108 of 1350 strings)
2021-01-30 21:06:13 +01:00
atomicbeef
426bae8a98
Added translation using Weblate (Bulgarian)
2021-01-30 21:06:13 +01:00
florian deschenaux
4232a1335f
Translated using Weblate (French)
...
Currently translated at 99.0% (1337 of 1350 strings)
2021-01-30 21:06:13 +01:00
Giov4
775d22aacb
Translated using Weblate (Italian)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:13 +01:00
Ács Zoltán
855545d306
Translated using Weblate (Hungarian)
...
Currently translated at 77.8% (1051 of 1350 strings)
2021-01-30 21:06:13 +01:00
Marian
e0ff898bfd
Translated using Weblate (Slovak)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:13 +01:00
abidin toumi
fbd62e4097
Translated using Weblate (Arabic)
...
Currently translated at 13.5% (183 of 1350 strings)
2021-01-30 21:06:13 +01:00
Maksim Gamarnik
08c0b8783d
Translated using Weblate (Russian)
...
Currently translated at 99.6% (1345 of 1350 strings)
2021-01-30 21:06:13 +01:00
Nikita Epifanov
495f371166
Translated using Weblate (Russian)
...
Currently translated at 99.6% (1345 of 1350 strings)
2021-01-30 21:06:13 +01:00
ssantos
e27febae0f
Translated using Weblate (Portuguese)
...
Currently translated at 90.2% (1218 of 1350 strings)
2021-01-30 21:06:13 +01:00
Tirifto
5bb87f62e7
Translated using Weblate (Esperanto)
...
Currently translated at 98.5% (1331 of 1350 strings)
2021-01-30 21:06:13 +01:00
Agustin Calderon
7abfd06aa3
Translated using Weblate (Spanish)
...
Currently translated at 70.0% (946 of 1350 strings)
2021-01-30 21:06:13 +01:00
Vicente Carrasco Alvarez
0936fa2eeb
Translated using Weblate (Spanish)
...
Currently translated at 70.0% (946 of 1350 strings)
2021-01-30 21:06:13 +01:00
J. Lavoie
67f319ba94
Translated using Weblate (French)
...
Currently translated at 98.9% (1336 of 1350 strings)
2021-01-30 21:06:13 +01:00
Uko Koknevics
7a64f31abe
Translated using Weblate (Latvian)
...
Currently translated at 30.1% (407 of 1350 strings)
2021-01-30 21:06:13 +01:00
Niko Kivinen
495621bc60
Translated using Weblate (Finnish)
...
Currently translated at 0.5% (7 of 1350 strings)
2021-01-30 21:06:13 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
ad70c1d422
Translated using Weblate (Malay (Jawi))
...
Currently translated at 63.7% (860 of 1350 strings)
2021-01-30 21:06:13 +01:00
Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi
c641a81693
Translated using Weblate (Malay)
...
Currently translated at 100.0% (1350 of 1350 strings)
2021-01-30 21:06:13 +01:00
Niko Kivinen
990380d81e
Added translation using Weblate (Finnish)
2021-01-30 21:06:12 +01:00
daretmavi
27dfe653fe
Translated using Weblate (Slovak)
...
Currently translated at 22.3% (302 of 1350 strings)
2021-01-30 21:06:12 +01:00
sfan5
3fa8232607
Set UTF-8 codepage in Windows manifest ( #10881 )
2021-01-29 22:43:29 +01:00
SmallJoker
9a177f009b
PlayerDatabaseFiles: Fix segfault while saving a player
...
Corrects a typo introduced in 5e9dd166
2021-01-29 18:02:40 +01:00
sfan5
9c91cbf50c
Handle changes caused by CMake minimum version bump ( #10859 )
...
fixes #10806
2021-01-29 17:35:29 +01:00
sfan5
5c005ad081
devtest: Fix deprecated alpha usage
2021-01-29 17:34:41 +01:00
sfan5
83229921e5
Rework use_texture_alpha to provide three opaque/clip/blend modes
...
The change that turns nodeboxes and meshes opaque when possible is kept,
as is the compatibility code that warns modders to adjust their nodedefs.
2021-01-29 17:34:41 +01:00
sfan5
edd8c3c664
Drop never documented 'alpha' property from nodedef
...
Includes minimal support code for practical reasons.
We'll need it for a slightly different purpose next commit.
2021-01-29 17:34:41 +01:00
Graham Northup
e6e5910cb4
Clarify key_value_swap's edge case ( #10799 )
...
In compiler design especially, leaving behavior as "undefined" is a _strong_ condition that basically states that all possible integrity is violated; it's the kind of thing that happens when, say, dereferencing a pointer with unknown provenance, and most typically leads to a crash, but can result in all sorts of spectacular errors--thus, "it is undefined" how your program will melt down.
The pure-Lua implementation of `key_value_swap` does not permit UB _per se_ (assuming the implementation of Lua itself is sound), but does deterministically choose the value to which a key is mapped (the last in visitation order wins--since visitation order is arbitrary, _some_ value _will_ be chosen). Most importantly, the program won't do something wildly unexpected.
2021-01-29 17:34:00 +01:00
SmallJoker
2760371d8e
Settings: Purge getDefault, clean FontEngine
2021-01-29 17:32:35 +01:00
SmallJoker
37a05ec8d6
Settings: Proper priority hierarchy
...
Remove old defaults system
Introduce priority-based fallback list
Use new functions for map_meta special functions
Change groups to use end tags
Unittest changes:
* Adapt unittest to the new code
* Compare Settings objects
2021-01-29 17:32:35 +01:00
SmallJoker
5e9dd1667b
RemotePlayer: Remove Settings writer to Files database
2021-01-29 17:32:35 +01:00
rubenwardy
b5956bde25
Sanitize ItemStack meta text
2021-01-28 21:33:10 +00:00
Vitaliy
ed0882fd58
Include irrlichttypes.h first to work around Irrlicht#433 ( #10872 )
...
Fixes the PcgRandom::PcgRandom linker issue, caused by inconsistent data type definition.
2021-01-28 21:25:13 +01:00
rubenwardy
82deed2d7d
ContentDB: Order installed content first ( #10864 )
2021-01-28 11:24:36 +00:00
Zughy
44a9510c81
Consistently use "health points" ( #10868 )
2021-01-27 18:42:02 +00:00
Vitaliy
8dae7b47fc
Improve irr_ptr ( #10808 )
2021-01-24 14:40:34 +00:00
Vincent Robinson
ad9adcb884
Fix formspec list spacing ( #10861 )
2021-01-23 14:49:13 -08:00
Vincent Robinson
6a55c03dab
Make hypertext and textarea have proper scroll event propagation. ( #10860 )
2021-01-23 14:48:57 -08:00
Yaman Qalieh
6417f4d314
Fix ESC in error dialog from closing Minetest ( #10838 )
2021-01-23 21:40:48 +00:00
Vincent Robinson
009e39e73b
FormSpec: Add list spacing, slot size, and noclip ( #10083 )
...
* Add list spacing, slot size, and noclip
* Simplify StyleSpec
* Add test cases
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-23 12:46:19 -08:00
rubenwardy
4c76239818
Remove dead code ( #10845 )
2021-01-22 15:09:26 +00:00
rubenwardy
67aa75d444
Use JSON for favorites, move server list code to Lua ( #10085 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2021-01-22 15:08:57 +00:00
rubenwardy
4fcd000e20
MgOre: Fix invalid field polymorphism ( #10846 )
2021-01-21 19:08:06 +00:00
Zughy
8ff209c412
Load system-wide texture packs too ( #10791 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-21 19:01:37 +00:00
Zughy
45ccfe26fb
Removed some obsolete code ( #10562 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-21 18:17:09 +00:00
Zughy
ea5d6312c1
ObjectRef: fix some v3f checks ( #10602 )
2021-01-21 18:37:38 +01:00
sfan5
d92da47697
Improve --version output to include Lua(JIT) version
2021-01-21 00:52:31 +01:00
Wuzzy
7f25823bd4
Allow "liquid" and "flowingliquid" drawtypes even if liquidtype=none ( #10737 )
2021-01-21 00:51:24 +01:00
Zughy
eb8af614a5
Local tab: rename 'Configure' to 'Select Mods' ( #10779 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-20 22:32:18 +00:00
Muhammad Rifqi Priyo Susanto
cc44943528
Android: Update Gradle, NDK, Build Tools, and SQLite version ( #10833 )
2021-01-20 22:31:59 +00:00
rubenwardy
6693a4b30e
Fix Android support in bump_version.sh ( #10836 )
2021-01-20 20:37:24 +00:00
M.K
e86c93f0bf
Fix double word "true" in minetest.is_nan explanation ( #10820 )
2021-01-18 01:45:32 +01:00
rubenwardy
5e6df0e7be
ContentDB: Ignore content not installed from ContentDB
2021-01-16 17:51:49 +00:00
Loïc Blot
4b01282821
Factorize more guiEditBoxes code ( #10789 )
...
* Factorize more guiEditBoxes code
2021-01-13 09:05:09 +01:00
Zughy
1946835ee8
Document how to make nametags background disappear on players' head ( #10783 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-11 18:03:46 +01:00
JDiaz
08ee9794fb
Implement on_rightclickplayer callback ( #10775 )
...
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-11 18:03:31 +01:00
Zughy
fcb3ed840a
Sanitize server IP field in mainmenu ( #10793 )
2021-01-10 20:10:12 +01:00
Loïc Blot
5fcc78a1fe
Refactor/gui editbox ( #10787 )
2021-01-07 13:21:12 +01:00
Loïc Blot
58a709096e
refacto: factorize multiple code parts from guiEditbox childs ( #10782 )
2021-01-04 20:19:20 +01:00
sfan5
e663aecbae
Update Gitlab-CI pipeline
2021-01-04 16:29:25 +01:00
rubenwardy
edd0836011
ContentDB: Add overwrite dialog when content is already installed ( #10768 )
2021-01-04 15:18:31 +00:00
hecks
dd5a732fa9
Add on_deactivate callback for luaentities ( #10723 )
2021-01-02 15:14:29 +01:00
OgelGames
ad58fb2206
Clarify documentation of minetest.get_modpath and minetest.get_modnames ( #10771 )
2021-01-02 15:13:53 +01:00
Zughy
92aac69b36
"Browse online content" formspec improvement ( #10756 )
2021-01-02 15:13:02 +01:00
Jean-Patrick Guerrero
ff921f6989
Formspecs: Fix broken texture escaping with model[]
2021-01-01 17:03:34 +01:00
Elias Fleckenstein
9250b5205a
Add minetest.get_objects_in_area ( #10668 )
2020-12-29 16:50:09 +01:00
Lars Mueller
09d7fbd645
Fix item tooltip background color not working
2020-12-28 13:57:45 +01:00
Zughy
55dba1bc6d
Display Minetest header when menu_last_game value isn't available anymore ( #10751 )
2020-12-28 13:56:58 +01:00
Lars Mueller
8f72d4b294
Fix minetest.is_nan
2020-12-24 22:07:04 +01:00
sfan5
74762470b2
Fix some minor code issues all over the place
2020-12-24 13:44:54 +01:00
Lars
289425f6bd
Minor profiler fixes.
2020-12-23 14:48:08 -08:00
rubenwardy
2c3593b51e
Fix unsafe cast in l_object
2020-12-23 22:24:58 +00:00
sfan5
2bdf4955c8
CI: fix build
2020-12-23 22:27:35 +01:00
rubenwardy
d2bbf13dfe
Add dependency resolution to ContentDB ( #9997 )
2020-12-23 14:42:18 +00:00
Wuzzy
535557cc2e
Fix fallnode rotation of wallmounted nodebox/mesh ( #10643 )
2020-12-22 14:54:27 +01:00
Vitaliy
03540e7140
Fix GLES shader support after #9247 ( #10727 )
2020-12-22 14:53:52 +01:00
Markus
af22dd86e3
Fix some more joystick issues ( #10624 )
2020-12-19 22:01:05 +01:00
Andrey
5066fe7583
MainMenu: Add clear button and icon for search input ( #10363 )
2020-12-19 22:00:20 +01:00
Vitaliy
ccbf8029ea
Cleanup shader generation code ( #10663 )
...
Shader generation is a mess. This commit cleans some parts up, including dropping remains of HLSL support which was never actually implemented.
2020-12-19 20:57:10 +01:00
rubenwardy
664f5ce960
Add open user data button to main menu ( #10579 )
2020-12-19 13:27:15 +00:00
Wuzzy
025035db5c
DevTest: Add food item to test food replacement ( #10642 )
2020-12-18 19:38:39 +01:00
LoneWolfHT
d5a481b4e6
Make installer create its own Minetest folder ( #10445 )
...
This changes the installer to create its own Minetest folder instead of having the user create it themselves. This prevents spewing the contents of Minetest everywhere when users change the install directory and expect the installer to create a folder to put it in
2020-12-18 19:38:27 +01:00
DS
6f8a1c99d5
Documentation for highest formspec_version[] and changelog ( #10592 )
2020-12-18 19:38:07 +01:00
Lars
e638056523
Allow configuring block disk and net compression. Change default disk level.
2020-12-15 10:15:25 -08:00
Thomas--S
d0a38f694d
Formspec: Allow to specify frame loop for model[] ( #10679 )
...
Add the ability to specify an animation frame loop range for the model[] formspec element.
2020-12-15 19:06:36 +01:00
wsor4035
3ed940ff13
lua_api.txt: Add mod_orgin to node def ( #10697 )
2020-12-15 19:05:55 +01:00
Zughy
4d41ed0975
Semi-transparent background for nametags ( #10152 )
2020-12-14 23:49:30 +01:00
SmallJoker
f2c8c6bf51
Revert "GUIFormSpecMenu: Shift+Click listring workaround for MacOS"
...
The commit caused Shift-Clicking issues on Linux due to another Irrlicht bug where
KeyInput.Shift released keys do not trigger OnEvent()
MacOS users should build using a recent Irrlicht 1.8 development version.
See also: https://sourceforge.net/p/irrlicht/patches/321/
2020-12-14 11:05:24 -08:00
SmallJoker
e18b6c5a21
GUIFormSpecMenu: Shift+Click listring workaround for MacOS
...
event.MouseInput.Shift is not implemented for MacOS
2020-12-12 20:55:06 +01:00
SmallJoker
af073438fd
Various documentation fixes ( #10692 )
...
set_sky: New feature, keep note about the old syntax
get_us_time: Document overflow
localplayer: Document "nil" behaviour before initialization
collision_box: Safe limit of "1.45"
2020-12-10 20:59:24 +01:00
hecks
6d7067fd37
Implement mapblock camera offset correctly ( #10702 )
...
Implement mapblock camera offset correctly - reduce client jitter
Co-authored-by: hecktest <>
2020-12-05 15:03:40 -08:00
sfan5
07e0b527cf
Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
...
This reverts commit 2f6393f49d
.
2020-12-04 19:06:16 -08:00
Oblomov
08c9d1a669
Cross-reference the node level manipulation functions ( #10633 )
...
This can help developers find the correct functions to access and manipulate the fluid level.
2020-12-04 20:16:53 +01:00
HybridDog
e73c5d4585
Fix MSAA stripes ( #9247 )
...
This only works when shaders are enabled.
The centroid varying avoids that the textures (which repeat themselves out of bounds) are sampled out of bounds in MSAA.
If MSAA (called FSAA in minetest) is disabled, the centroid keyword does nothing.
2020-12-04 20:16:12 +01:00
sfan5
ecd4f45318
Fix certain connected nodeboxes crashing when falling
...
fixes #10695
2020-12-04 11:28:45 +01:00
SmallJoker
3176daee79
Input: Fix on_rightclick called when placing into air
2020-11-29 19:20:45 +01:00
Lars
f1d72d212a
Avoid generating the same chunk more than once with multiple emerge threads.
2020-11-26 20:31:20 -08:00
sfan5
9bb381ebd3
Change typedef to normal definitions in GUI code
2020-11-26 22:42:19 +01:00
sfan5
868749b4f8
Return star color calculation to what it previously was
2020-11-26 22:17:11 +01:00
numzero
8689e00fca
Fix style
2020-11-26 12:49:10 -08:00
numzero
c158e20e5b
Provide fallback star color for GLES 2 with MT shaders disabled
2020-11-26 12:49:10 -08:00
numzero
cdcf7dca7c
Sky: support GLES2
...
IrrLicht built-in shader is broken, have to write my own
2020-11-26 12:49:10 -08:00
numzero
be59668f47
Allow missing shaders
2020-11-26 12:49:10 -08:00
numzero
d7cf40a0ce
Replace TriangleFan as poorly supported
2020-11-26 12:49:10 -08:00
numzero
560627eef8
Reuse seed when updating stars
...
The only currently relevant parameter is scale which can now be changed
without resetting stars position
2020-11-26 12:49:10 -08:00
numzero
3077afc0a2
Store stars in a single static mesh buffer
2020-11-26 12:49:10 -08:00
numzero
89cc5bf537
Don't evaluate things many times
2020-11-26 12:49:10 -08:00
numzero
095f82692d
Batch cloud drawing
2020-11-26 12:49:10 -08:00
Lars
f1349be542
Avoid marking map blocks dirty upon deserialization.
2020-11-26 11:41:55 -08:00
Lars
8dc70ebb93
Fix camera panning glitches (partially revert 10489.)
2020-11-25 14:22:36 -08:00
Pierre-Yves Rollo
78273027bf
Add sound to press event of some formspecs elements ( #10402 )
2020-11-23 21:28:25 +01:00
MoNTE48
43bc3a1245
Fix Visual Studio build in Actions
2020-11-22 19:06:31 +01:00
Paramat
872dce5020
Move Mapgen V7 river generation into the main generation loop ( #10639 )
...
All terrain generation now occurs in one loop, instead of rivers being
carved afterwards in a separate loop.
Fixes the removal of nodes added by mods in 'register on generated'.
Avoids other problems and reduces the chance of future bugs.
Mapchunk generation time is reduced.
Also fixes a code mistake which resulted in river channel generation
being disabled at floatland altitudes even when floatlands were disabled.
2020-11-20 16:11:19 +00:00
Lars
2f6393f49d
Increase limit for simultaneous blocks sent per client and the meshgen cache.
2020-11-16 10:30:52 -08:00
Lejo
a16e412c9d
Auto build client appimage ( #10561 )
...
* Replace ubuntu:14.04 with ubuntu 18:04
* Auto build client appimage
Co-authored-by: sfan5 <sfan5@live.de>
2020-11-15 17:38:04 +01:00
Wuzzy
ee1853e9bc
Fix falling image of torchlike if paramtype2="none" ( #10612 )
2020-11-15 17:37:09 +01:00
sfan5
ad58ece180
serverpackethandler: Minor log message fixes
...
closes #10434
2020-11-12 21:08:26 +01:00
sfan5
61bbdd6807
Copy position for can_dig
...
fixes #10514
2020-11-12 21:08:26 +01:00
sfan5
b504a1aa4b
Fix player sprite visibility in first person
...
closes #10525
2020-11-12 21:08:26 +01:00
sfan5
c441baa91b
Fix overloaded virtual warnings with get/setAttachment()
2020-11-12 21:08:26 +01:00
red-001
8eb2cbac61
Fix warnings about an unused variables and implicit conversion ( #10586 )
2020-11-12 21:05:47 +01:00
SmallJoker
68139a28eb
Revert "Replace MyEventReceiver KeyList with std::unordered_set" ( #10622 )
...
This reverts commit 787561b29a
.
2020-11-12 19:16:02 +01:00
SmallJoker
adffef2b94
PlayerSAO: Run on_player_hpchange raw change values ( #10478 )
...
The callback is only run when a change in HP is to be expected.
Following cases will not trigger the callback:
* Dead player damaged further
* Healing full-health player
* Change of 0 HP
2020-11-12 19:15:41 +01:00
Lars
be8d1d2d99
Increase default emerge queue limits and limit enqueue requests for active blocks.
2020-11-12 09:04:10 -08:00
DS
be3fe161fc
Do not set a default for description in itemdef table ( #10559 )
...
* Do not set a default for description in itemdef table
* improve documentation
2020-11-10 21:03:10 +01:00
SmallJoker
fca4db4184
ObjectRef: Re-add legacy code for set_physics_override ( #10585 )
...
These arguments are used at least by MTG beds and homedecor_common. A deprecation warning is shown to safely remove it in a future release.
2020-11-10 21:02:53 +01:00
sfan5
97aefe9b81
Mark additional locales as broken
2020-11-10 10:30:42 +01:00
sfan5
b6e47a30bb
Update fallback font to newer version
2020-11-10 10:30:42 +01:00
Markus Koch
e1142ee57f
Joystick: Remap joystick-specific KeyTypes to generic ones
...
According to the following table:
* MOUSE_L -> DIG
* MOUSE_R -> PLACE
* SCROLL_UP -> HOTBAR_NEXT
* SCROLL_DOWN -> HOTBAR_PREV
This commit entirely removes the special KeyTypes used for joysticks.
Support for the MOUSE KeyTypes had already been removed in the main
game code without adapting the joystick code, breaking joystick
input. This commit restores joystick functionality.
2020-11-09 11:58:50 +01:00
rubenwardy
7589cbe086
Fix object interaction distance not being checked ( #10547 )
2020-11-09 11:55:15 +01:00
SmallJoker
c940a57a38
ContentCAO: Fix segfault when minimap is disabled
2020-11-08 11:30:16 +01:00
Lars
8c1871fa2c
Revert #10495 and simplify.
2020-11-07 08:51:10 -08:00
sfan5
627c22c36e
Fix integer-string conversion for shaders
...
closes #10605
2020-11-05 19:34:40 +01:00
SmallJoker
3356da0151
Add model[] formspec element ( #10320 )
...
Formspec element to display models, written by @kilbith, rebased and tweaked.
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2020-11-04 21:46:18 +01:00
Lars Müller
e3bd6704a0
Revert "Fix short 180 degree rotation when using set_bone_position ( #10405 )" ( #10534 )
...
This reverts commit 0f98b54aa4
.
2020-11-04 21:43:32 +01:00
Zughy
72b93ec0d7
Fix ObjectRef errors due to lua_isnil() ( #10564 )
...
Treat 'none' values as 'nil'
2020-11-04 21:43:18 +01:00
Lars
39213bd00a
Slight simplification and optimization of RemoteClient.
2020-11-03 16:23:47 -08:00
Lars
aa4d3cb148
Increase defaults for viewing_range, active_object_range and related settings #10597
2020-11-03 15:55:53 -08:00
red-001
0abb3e89fa
Block attempts to connect to the client ( #10589 )
...
A Minetest peer initiates a connection by sending a packet with an invalid peer_id, for whatever reason the code for doing this ran on both the client and the server meaning you could connect to a client if you knew what the address:port tuple it was listening on.
2020-11-02 22:21:03 +01:00
SmallJoker
9c9344ceb3
Fix incorrect deprecation hints
...
"good" and "bad" were swapped in the process, resulting in wrong deprecation messages
2020-11-01 12:52:14 +01:00
rubenwardy
89dd05fdf3
Fix segfault in deprecation logging due to tail call, log by default ( #10174 )
2020-10-31 18:19:23 +00:00
Lars Müller
2dff3dd03f
Player physics: Ensure larger dtime simulation steps ( #10563 )
2020-10-29 20:15:46 +01:00
Oblomov
a701d24a00
Show RTT in ms with 2 digits of precision ( #10573 )
...
If your ping is in seconds, you probably have other problems.
2020-10-29 20:09:59 +01:00
Lars
68cd93b865
Avoid resending near blocks unnecessarily.
2020-10-27 12:08:44 -07:00
luk3yx
61a196378f
Fix CSMs on arm64 ( #10553 )
2020-10-25 18:01:39 +01:00
Vitaliy
707c8c1e95
Shaders for Android (GLES 2) ( #10506 )
...
Shader support for OpenGL ES 2 devices (Android)
Co-authored-by: sfan5 <sfan5@live.de>
2020-10-25 18:01:03 +01:00
Zughy
33b2c5f5b1
Clean up l_object.cpp ( #10512 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-22 16:18:01 +01:00
DS
9d370b78da
Add documentation to builtin core.run_callbacks ( #10494 )
2020-10-21 21:05:32 +01:00
Maksim
5c0a57f606
Fix Media... 0% on loading screen ( #9478 )
2020-10-21 20:42:40 +01:00
Zughy
f53396b152
Update jsoncpp to 1.9.4 ( #10477 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-21 20:42:23 +01:00
Paramat
4d9c9186ce
Devtest: Automatically enable zoom capability ( #10493 )
...
Make minor improvements to the zoom testing chat command.
Delete incorrect line about creative mode from README.md.
2020-10-20 22:13:27 +01:00
sfan5
c7aa92aaed
Fix show_on_minimap default value for local player
...
fixes #10526
2020-10-20 16:36:05 +02:00
sfan5
4f2303849e
Implement unloading of static_save=false objects according to existing docs ( #10485 )
2020-10-19 20:38:33 +02:00
sfan5
660115c1ab
Decouple entity minimap markers from nametags replacing with show_on_minimap property ( #10443 )
2020-10-19 20:38:15 +02:00
Lars
b826e39730
Minor clientmap improvements.
...
- Avoid calculating isBlockInSight for blocks without meshes.
- Add metric for how many blocks the client has currently loaded.
- Make some variables constant.
2020-10-19 09:31:09 -07:00
Paramat
db9eee2d80
Contributing doc: Minor improvements and a clarification ( #10520 )
2020-10-18 22:50:31 +01:00
Lars
738f624218
Periodically release all mesh HW buffers to avoid an Irrlicht bottleneck.
2020-10-17 13:22:30 -07:00
Lars
ed22260822
Remove all bump mapping and parallax occlusion related code.
2020-10-17 13:09:16 -07:00
Lars
f43d1cfa81
Rely on max_simultaneous_block_sends_per_client to limit blocks sent to the client.
2020-10-13 19:39:43 -07:00
Paramat
2f871e3b49
Devtest hand tool: Update capabilities, add creative mode capabilities ( #10484 )
2020-10-13 23:59:47 +01:00
Paramat
fc2e120b03
Document how to work with ClangFormat ( #10468 )
...
To avoid the common misunderstanding where a contributor thinks they
must apply the unsuitable formatting requests ClangFormat makes.
2020-10-13 23:57:46 +01:00
Zughy
7499ebe46a
Fix float argument check in minetest.set_timeofday() ( #10483 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13 20:28:53 +01:00
Maksim
2ca81d679f
Android: update gradle, NDK and built tools version
2020-10-13 20:28:31 +01:00
Maksim
e831ebd63b
Android: add ci with saving artifacts
2020-10-13 20:28:31 +01:00
Maksim
05436fb551
Android: get deps as a zip archive and sqlite3 from official source
2020-10-13 20:28:31 +01:00
Zughy
2341a4aff1
Add ObjectRef:get_children() ( #10480 )
...
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13 20:27:52 +01:00
Lars
521a04222a
Avoid drawing invisible blocks on the client.
2020-10-13 09:30:59 -07:00
JosiahWI
11f3deb9c4
Pass ContentFeatures as reference to read_content_features ( #10464 )
2020-10-13 16:36:01 +01:00
Paramat
d671102546
Give unnamed world names incrementing numbers. Format 'world<number>' ( #10247 )
...
Code created with help from GitHub users sirrobzeroone and pauloue, thank you.
2020-10-13 00:52:53 +01:00
Zughy
272b72361a
Add missing type check to InvRef:set_lists() ( #10476 )
2020-10-11 13:36:13 +02:00
HybridDog
c61c175e9c
Add bumpmapping and parallax occlusion testing nodes to devtest ( #9242 )
2020-10-09 19:13:42 +01:00
DS
f3ae45b2b2
Add a short_description to be used by mods ( #8980 )
2020-10-09 19:11:21 +01:00
DS
b2f3f66385
Fix box[]es not being clipped ( #10473 )
...
Fixes a regression of #8676 .
2020-10-08 19:44:47 +02:00
HybridDog
f0b6f7909a
Mention texture modifier colorspace ( #10112 )
2020-10-08 19:44:27 +02:00
Zughy
a37e96eefc
-Wmem-access only called when GCC > 7 ( #10453 )
2020-10-06 20:51:27 +02:00
Hugo Locurcio
aae7d4ff8e
Improve the fsaa
setting description ( #10279 )
...
See https://github.com/minetest/minetest/issues/8459 .
2020-10-06 20:50:20 +02:00
HybridDog
2f4037752b
Add minetest.get_artificial_light and minetest.get_natural_light ( #5680 )
...
Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday).
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-10-06 20:49:46 +02:00
rubenwardy
e80fc22dd9
Prevent games from setting secure settings ( #10460 )
2020-10-06 12:10:37 +01:00
SmallJoker
f46509d5e2
Remove unused functions reported by cppcheck ( #10463 )
...
Run unused functions reported by cppcheck
This change removes a few (but not all) unused functions.
Some unused helper functions were not removed due to their complexity and potential of future use.
2020-10-05 09:07:33 +02:00
Pierre-Yves Rollo
81c66d6efb
Minimap as HUD element with API control
...
Features:
* Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes()
* New HUD elements for displaying minimap with custom size and placing
* New minimap mode for displaying a texture instead of the map
2020-10-04 15:24:34 +02:00
Jordan Snelling
3068853e8a
Add First Person Attachments ( #10360 )
...
Fixes some other third person camera specific attachments.
Implements a single new flag for entities to be forced visible in first person mode.
Old mods do not need to be updated to use the new flag and are fully backwards compatible.
2020-10-04 15:10:34 +02:00
Lars Müller
0f98b54aa4
Fix short 180 degree rotation when using set_bone_position ( #10405 )
2020-10-04 15:09:12 +02:00
rubenwardy
3250b37e32
Deprecate get_player_velocity and add_player_velocity ( #10173 )
2020-10-04 00:33:45 +01:00
Wuzzy
41a6136f77
Document builtin entities ( #9453 )
...
This PR adds a new text file doc/builtin_entities.txt which explains how the two builtin entities __builtin:item and __builtin:falling_node work.
2020-10-03 19:01:38 +02:00
LoneWolfHT
9624387179
Add note to docs on how to override privileges ( #9792 )
2020-10-03 19:00:08 +02:00
Elijah Duffy
7d3641021b
Lua API: Add register_on_chatcommand to SSM and CSM ( #7862 )
...
Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.
2020-10-03 17:38:08 +01:00
random-geek
0750047919
Fix scroll bar overlapping text (again) ( #9058 )
2020-10-03 17:34:34 +01:00
HybridDog
9dc29a75b4
Reduce the FPS when the window is unfocused ( #8837 )
2020-10-03 17:33:51 +01:00
HybridDog
4b423ee9b1
Chatcommand: Show help message if func returns false without message
...
#9440
2020-10-03 17:33:43 +01:00
SmallJoker
947466ab28
(se)SerializeString: Include max length in the name
...
This commit clarifies the maximal length of the serialized strings.
It will avoid accidental use of serializeString() when a larger string can be expected.
Removes unused Wide String serialization functions
2020-10-01 09:52:59 +02:00
SmallJoker
ca5c2dbefa
Clean up serialization
...
This reverts 1a5b4b3
and further functions in serialize.cpp that are unused
The intend for a sane NetworkPacket/stream replacement was good, but a wrapper
class around i/ostream might be more versatile than introducing a new
vector-based serialization class.
2020-10-01 09:52:59 +02:00
SmallJoker
79414aa3e5
Settings: Remove unused functions
...
Make Settings-internal functions private
2020-10-01 09:52:59 +02:00
Paramat
a69bc67ce2
Improve layout of main menu 'local' tab ( #10366 )
2020-09-29 23:37:03 +01:00
k.h.lai
995d405261
Improve MSVC cmake and update vcpkg instruction ( #10407 )
...
Remove unnecessary compiler flag for clang-cl
Update vcpkg instruction in README.md
2020-09-29 19:39:53 +02:00
LoneWolfHT
d3e327a853
Update wording of game descriptions in installer ( #10441 )
2020-09-29 19:39:36 +02:00
Maksim
4298d95b16
Android: replace InputDialogActivity on simple dialog window ( #10034 )
2020-09-26 18:42:22 +02:00
Elias Fleckenstein
65c15e137f
Patch fast/teleport vulnerability when attached to an entity ( #10340 )
2020-09-26 18:41:44 +02:00
Tyler Schwend
917e357bca
Log server announce on updates and deletes too ( #10177 )
2020-09-26 18:41:16 +02:00
Buckaroo Banzai
9eb4516cbc
Enable LuaJIT on the Docker image ( #10414 )
2020-09-26 15:32:49 +02:00
luk3yx
09af0c5946
Remove null bytes from TOCLIENT_BLOCKDATA ( #10433 )
2020-09-26 15:31:54 +02:00
Buckaroo Banzai
c6e3050357
Correct erroneous reported max lag with prometheus ( #10427 )
...
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2020-09-25 18:52:42 +02:00
Paramat
9bff154cba
Fix horizontal/vertical merging bug of hardware-colored framed glass ( #10417 )
...
Previously, the param2-controlled horizontal/vertical merge feature
(which was undocumented and forgotten) was always active, causing
uses of param2 other than "glasslikeliquidlevel" to affect H/V
merging.
Only respect H/V merge bits when paramtype2 = "glasslikeliquidlevel".
H/V merge bits and liquid level bits are designed to be used
simultaneously.
2020-09-24 00:10:50 +01:00
Vincent Robinson
787561b29a
Replace MyEventReceiver KeyList with std::unordered_set ( #10419 )
2020-09-23 19:12:20 +02:00
tenplus1
34e3ede8ee
Ability to remove minetest.after once set ( #10103 )
2020-09-23 19:11:56 +02:00
SmallJoker
add68369a5
Settings: Fix unittest memory leak, change input types
2020-09-22 19:05:04 +02:00
Wuzzy
55e2dd911b
Fix chat/infotext overlap if many chat lines ( #10399 )
...
Moves the infotext depending on the value of the recent_chat_messages value + 2 additional lines to account for the 2 debug mode lines + 1 additional line as "buffer" for better readability if chat is full.
2020-09-22 18:38:33 +02:00
SmallJoker
e7f33ee2f1
Settings: Fix crash on exit due to group double-free
2020-09-21 19:29:02 +02:00
Lars
49117de476
Record player existence in dymmy database.
2020-09-20 19:16:14 -07:00
rubenwardy
9ec75d7765
Clean up server-side translations, remove global variable ( #10075 )
2020-09-16 14:51:11 +01:00
Zughy
c8303f790c
lua_api.txt: author, release and title fields when downloading from ContentDB ( #10129 )
...
Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2020-09-16 15:47:20 +02:00
hecks
fcff9f2911
Remove "generate normal maps" feature ( #10313 )
...
Erase all traces of normal "generation" from fragment shaders
Remove the "feature" from the engine and default config
Remove any leftover documentation of it
2020-09-14 19:27:25 +02:00
Sebastien Marie
3fb1f45301
Remove Thread::kill() and related unittest ( #10317 )
...
Closes: #6065
2020-09-10 12:19:18 +02:00
David CARLIER
0683bea283
Add NetBSD cpu affinity support code ( #10378 )
2020-09-09 19:12:58 +02:00
David CARLIER
62913b872e
Darwin platform build fix ( #10376 )
...
the event header seemingly being generic with libevent thus renaming it.
openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.
2020-09-09 19:12:03 +02:00
SmallJoker
0d128ab344
Inventory: Protect Craft and Drop actions ( #10353 )
...
Change dangerous pointer to unique_ptr for automated deletion.
2020-09-07 21:19:38 +02:00
Lejo
6dcc9e6331
Prevent interacting with items out of the hotbar ( #10359 )
2020-09-04 20:50:33 +02:00
Wuzzy
9faeca3290
Devtest: Extend tooltips of many items and tools ( #10312 )
...
Also show error message when using tools wrong
2020-09-04 20:50:03 +02:00
Wuzzy
b3ace8f197
Scale inventory image for scaled allfaces nodes ( #10225 )
...
The inventory image size of the inventory image of nodes with drawtype allfaces (and related) is scaled as well if visual_scale is set (previously, the inventory image size was always the same)
2020-09-04 20:49:50 +02:00
Lars Müller
050964bed6
Fix inventory swapping not calling all callbacks ( #9923 )
...
"Predicts" whether something will be swapped for allow callbacks, then calls callbacks a second time with swapped properties.
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-09-04 20:49:07 +02:00
Paramat
4ba5046308
Add 'ores' global mapgen flag ( #10276 )
2020-09-03 01:28:40 +01:00
sfan5
74e22b72e1
Change default ambient occlusion gamma to 1.8 ( #10185 )
2020-09-01 20:18:32 +02:00
DS
9ed84cfa85
Mark multiply and divide with two vectors as deprecated (Schur product and quotient) ( #10329 )
2020-09-01 20:18:10 +02:00
HybridDog
f5df70764d
[2] Code cleanup in serverpackethandler ( #9349 )
...
* Code cleanup in serverpackethandler
* do not define p_under unless a node is pointed
* use switch-case and reduce indentation
2020-09-01 08:08:18 +02:00
Pierre-Yves Rollo
d3d218940b
Fix #10349 game crashing if dropped an item with undefined light_source ( #10351 )
2020-08-30 15:34:28 +02:00
LoneWolfHT
c18dbadcb8
Fix dropped craftitems/tools not using light_source values ( #9438 )
2020-08-30 00:02:21 +01:00
EvidenceB
5c4b560b68
Add compass HUD element ( #9312 )
...
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com>
Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-08-29 20:13:30 +02:00
HybridDog
386d5f778a
Document normalmap textures ( #10096 )
2020-08-29 16:43:09 +01:00
DS
28e87ce9d5
Add vector.offset ( #10321 )
2020-08-29 16:41:29 +01:00
Hugues Ross
9976f36b18
Make bgcolor tint button background images ( #9818 )
2020-08-29 16:41:19 +01:00
Lars Müller
3693b6871e
Prevent players accessing inventories of other players ( #10341 )
2020-08-29 16:41:03 +01:00
SmallJoker
d28f1b0170
Mapgen: Fix on-by-default flags broken since eca6ee9
( #10318 )
2020-08-29 00:14:38 +02:00
DS
454009a7f2
Fix luacheck warnings in builtin/common/tests ( #10322 )
2020-08-29 00:14:19 +02:00
karamel59
1eaff3dfa4
Improve set_texture_mod documentation ( #10339 )
...
Properly documents the select_x_by_camera values
2020-08-27 21:48:18 +02:00
karamel59
d052593c7a
Lua API: Register missing get_texture_mod function ( #10338 )
2020-08-27 21:47:38 +02:00
Maksim
788f297595
Android: drop simple MainMenu ( #10227 )
...
The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks.
Makes the interface consistent and eliminates player confusion.
2020-08-27 21:46:57 +02:00
David CARLIER
b262184acf
NetBSD build fix proposal. ( #10308 )
...
Fixing thread naming call and let the class setting RANDOM_MIN/RANDOM_MAX.
2020-08-25 20:50:41 +02:00
mntmn
44c98089cf
shaders: Fix transparency on GC7000L ( #10036 )
...
Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).
2020-08-25 20:49:51 +02:00
Desour
f27cf47779
Properly handle mod-errors in on_shutdown
2020-08-24 19:55:25 +03:00
Kezi
3e5bce2251
darken tabheader background color ( #10299 )
2020-08-23 22:50:45 +02:00
EvidenceB
287f3fb2e3
Avoid drawing clipped out formspec elements ( #10095 )
2020-08-23 22:50:14 +02:00
adrido
3c2890692b
Fix MSVC compiler warnings ( #10197 )
2020-08-23 15:41:04 +02:00
Vincent Robinson
47948793c1
Auto focus on OK button in main menu error messages ( #10300 )
2020-08-23 15:40:34 +02:00
BenjaminRi
f5a203fbcd
Fix light overflow of u8 if light is saturated at 255 ( #10305 )
2020-08-23 15:39:55 +02:00
David CARLIER
cf5547227d
Complete Haiku platform support. ( #10311 )
...
Fixing linkage/libraries missing issue.
Implements missing platform specifics.
2020-08-23 15:39:32 +02:00
DS
98faeac5a7
Load media from subfolders ( #9065 )
2020-08-20 22:25:29 +02:00
Sebastien Marie
9c7340104a
Define environ variable on OpenBSD ( #10302 )
2020-08-20 19:10:58 +02:00
Pierre-Yves Rollo
71287894ad
Fix missing translation call in hypertext ( #10296 )
2020-08-20 12:25:02 +02:00
v-rob
83d0c360cc
Add gradients and borders to FormSpec boxes ( #8676 )
2020-08-19 18:14:47 -07:00
v-rob
471497fa91
Optimize formspec form size ( #10144 )
2020-08-19 16:13:29 -07:00
hecks
5bda36143f
Clean up sound_fade ( #10119 )
...
Add proper documentation and correct gain reduction calculations.
Co-authored-by: hecktest <>
2020-08-19 19:26:37 +02:00
Lars
649211bf27
Allow the ABM time budget to be configurable.
2020-08-18 16:04:32 -07:00
rubenwardy
7242de1d4b
ContentDB: Add Update All and download queuing ( #9995 )
2020-08-17 19:09:33 +01:00
ANAND
291a6b70d6
Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
...
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-15 12:19:20 +03:00
sfan5
fff0393187
Render nodeboxes with opaque material if possible ( #10122 )
2020-08-12 11:52:50 +02:00
Lars Müller
1c38027c3a
Fix precision not working in hud_change ( #10186 )
2020-08-12 11:51:50 +02:00
v-rob
cd0e213a36
Add font styling options to tables and textlists ( #10203 )
2020-08-11 20:07:17 +02:00
Emojigit
abfea69e5f
Change last-login
command to show player name in output ( #10263 )
2020-08-06 19:30:41 +02:00
Paramat
f92a393f6f
Mapgen Flat: Add caverns, disabled by default ( #9913 )
...
Add the caverns used in V5, V7, Valleys, Carpathian.
Disabled by default to not be force-enabled in existing worlds.
2020-08-05 05:00:00 +01:00
Hugues Ross
93ecc589bc
Implement override.txt support for special tiles ( #10140 )
...
Add override targets for all special_tiles entries in node definitions, allowing texture packs to replace these textures. This makes overrides work properly with a variety of drawtypes.
The targets are named special1 through special6, covering the the current length of the special_tiles array.
2020-08-04 20:12:47 +02:00
Seeker
d22fd6fc34
Fix build for Visual Studio (explicitly cast pointers) ( #10256 )
2020-08-03 23:38:45 +02:00
Paul Ouellette
542df11bed
Fix GCC class-memaccess warnings ( #10239 )
2020-08-01 17:25:33 +02:00
SmallJoker
aba8c37531
Falling: Fix error caused by missing param2
...
Falling nodes that were spawned prior the recent falling node changes did not require param2.
Default to param2 = 0 when none is found in the node data.
2020-07-30 19:03:48 +02:00
sfan5
9bba52c400
content_cao: Support texture animation for upright_sprite ( #10020 )
2020-07-30 17:39:57 +02:00
SmallJoker
e5725dfb8e
Allow starting local server using --go again ( #10229 )
2020-07-29 23:20:01 +02:00
Lars Müller
470f328216
Revert "Get rid of non-ascii characters in the debug display code ( #8821 )" ( #9828 )
...
This reverts commit 4f9ccd89b3
.
2020-07-29 23:17:52 +02:00
Lejo
715a123a33
Add PUT and DELETE request + specific method value to HTTP API ( #9909 )
2020-07-29 23:16:21 +02:00
SmallJoker
f34abaedd2
decode_base64: Allow '=' padding character
...
'=' is a valid character, but minetest.decode_base64 returned nil when it was used for padding.
2020-07-29 20:46:42 +02:00
Hugues Ross
3ce03d1c2a
Sanitize world directory names on create. Keep original name separate ( #9432 )
...
Blacklisted characters are replaced by '_' in the path. The display name is stored in world.mt, and duplicate file names are resolved by adding an incrementing suffix (_1, _2, _3, etc).
2020-07-28 19:16:57 +02:00
rubenwardy
f948e2c585
Fix incorrect view URL for games
...
package.id is a sanitised combination of author and basename, used to
compare remote and local content. Minetest ignores `_game` when comparing
game names, so package.id has `_game` removed. This meant that the wrong
URL was being generated for View.
2020-07-28 17:02:32 +01:00
Wuzzy
ae83edd165
Play place_failed sound if occupied or cannot attach ( #9486 )
2020-07-27 19:40:33 +02:00
Wuzzy
808fa5ecb3
Improve default inventory+wield images of node drawtypes ( #9299 )
2020-07-23 19:54:58 +02:00
sfan5
8ca602150d
Replace std::list<session_t> in networking code ( #10215 )
2020-07-23 19:47:58 +02:00
Maksim
76afde861d
Android: Fix ConfirmRegistration and PasswordChange input and scale size ( #10182 )
2020-07-21 13:16:25 +01:00
Lars Müller
82731d0d3d
Revert "Auto delete MetaData when = 0 ( #8770 )" ( #10183 )
...
This reverts commit 808eb4c571
.
2020-07-16 19:11:24 +02:00
Zughy
cfaef5b1cf
Formspecs: volume and key settings windows can now be closed by doubleclicking/tapping ( #10128 )
...
Co-authored-by: Xx_Crazyminer_xX <carlo.digioia@hotmail.it>
Co-authored-by: Marco <4279489-marco_a@users.noreply.gitlab.com>
2020-07-14 22:37:28 +02:00
sfan5
4b4513a67d
Implement grouped mode for find_nodes_in_area ( #9888 )
...
plus general improvements to find_node_* functions
2020-07-14 22:36:53 +02:00
LoneWolfHT
88ffd64124
Add object crosshair, disable entity selectionboxes by default ( #9523 )
...
Adds new object crosshair base pack texture
2020-07-14 19:13:04 +02:00
SmallJoker
4fa1e03f68
Cleanup ClientLauncher structure ( #10160 )
...
Remove duplicated variables and unify the startup data into a new (inherited) struct.
2020-07-14 19:10:37 +02:00
v-rob
2bec83eec0
Add FormSpec font styling options ( #9763 )
...
* Add FormSpec font styling options
* Change multiplication to stof
* Remove extraneous check
2020-07-12 09:48:50 +02:00
Lejo
1dd6c8ed7f
Add reconnect button on error: Too many players ( #9405 )
2020-07-12 09:47:52 +02:00
v-rob
e0499731a8
Allow FormSpec elements to be focused with set_focus
( #9353 )
...
This allows you to specify a FormSpec element to set the focus of with "set_focus[<name>;<always set>]".
2020-07-12 09:47:05 +02:00
Lars Müller
d80def5bbf
Bump animation frame count from u8 to u16 ( #10054 )
2020-07-10 12:12:19 +02:00
sfan5
c6422e0872
Remove std::shared_ptr use in TileLayer ( #10090 )
2020-07-10 12:11:44 +02:00
v-rob
b1ff04e06d
Formspec: Make dropdowns optionally return event based on index, not value ( #9496 )
2020-07-10 12:11:26 +02:00
sfan5
2384c10e10
Continue with 5.4.0-dev
2020-07-09 22:04:22 +02:00