1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00
Commit graph

12797 commits

Author SHA1 Message Date
Nana_M
78e34982e7 Translated using Weblate (Russian)
Currently translated at 100.0% (1392 of 1392 strings)
2025-04-24 16:40:42 +02:00
Miguel
efe120d3f6
Translated using Weblate (Spanish)
Currently translated at 99.8% (1390 of 1392 strings)
2025-04-24 16:38:18 +02:00
Muhammad Rifqi Priyo Susanto
3e5d9782cc
Android: Persistent notification while ingame (#13125)
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
Co-authored-by: grorp <grorp@posteo.de>
2025-04-24 07:38:52 -04:00
minlemon
409543566a
CI: Use gcc-9 and clang-11 with Ubuntu 22.04 (#16076) 2025-04-23 21:45:11 +02:00
Vincent Robinson
233ffbe384
Change exit keybinding and fix bug in allow_close[] 2025-04-23 21:41:32 +02:00
SmallJoker
d6d045aad4
Script: avoid fatal error in deprecated func handler 2025-04-23 21:41:18 +02:00
Lars Müller
dd2e45ee82
Deprecate function support in core.[de]serialize 2025-04-23 21:39:27 +02:00
Desour
f2ea4a4565 Improve mod storage doc a little 2025-04-23 09:31:06 +02:00
Desour
75f757ed2b Improve crafting doc 2025-04-23 09:31:06 +02:00
Desour
974d915b19 Remove creative priv from doc
Fixes https://forum.luanti.org/viewtopic.php?p=444099
2025-04-23 09:31:06 +02:00
Desour
4a8f84b259 Mainmenu: Move core.on_before_close to s_mainmenu like other callbacks, and doc 2025-04-23 09:31:06 +02:00
sfan5
2c83c67b7d
Move profiler call out of hot path in ClientMap (#16056) 2025-04-23 09:30:58 +02:00
BuckarooBanzay
6c339c62c6 Switch to smallint for position keys (x,y,z) in postgres backend 2025-04-23 09:30:36 +02:00
sfan5
7c619bdc9a
Improve usability of Prometheus metrics backend (#16060) 2025-04-23 09:30:04 +02:00
Lars
00addc3e5d Mark liquid and light updates low priority 2025-04-22 20:36:45 -07:00
Lars
2a3427a39c Fix m_nearest_unsent_d calculation when changed blocks arrive
Uses the nearest cube surface instead of euclidean distance to correctly reset the distance to start scanning from.
2025-04-22 20:36:45 -07:00
Lars
99150fadd1 Some RemoteClient improvements
* Simplications
* Remove RemoteClient::m_blocks_modified
* Remove unneeded nearest_emergefull_d
2025-04-22 20:36:45 -07:00
grorp
0cf1c47f6c
Fix scrollbar on ContentDB grid by adding an area label (#16042)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2025-04-21 12:33:41 +02:00
SmallJoker
5c6e4d35b0
Client: protect against circular attachments (#16038)
The server already includes such check. There must be a desync issue that causes
an ID mismatch, resulting in client crashes. Any such crash must be prevented.
2025-04-21 12:33:19 +02:00
Linn16
c0e42c6588
Use map_compression_level_disk from minetest.conf for --recompress (#16037) 2025-04-21 12:32:58 +02:00
sfan5
900cf896db Move NodeShaderConstantSetter to game.cpp 2025-04-21 12:32:29 +02:00
sfan5
f3c2bbfb48 Change shaders to be defined by input constants rather than drawtype/material type 2025-04-21 12:32:29 +02:00
sfan5
baa4c7cd21 Introduce IShaderConstantSetter abstraction 2025-04-21 12:32:29 +02:00
sfan5
b2c2a6ff47 Rename IShaderConstantSetter 2025-04-21 12:32:29 +02:00
sfan5
4c4e296274
Handle texture filtering sanely to avoid blurriness (#16034) 2025-04-21 12:31:44 +02:00
Lars Mueller
1c5776d13a FATAL_ERROR for orphan object refs in objectrefGetOrCreate 2025-04-20 20:49:10 +02:00
Lars Mueller
c0d10b24a4 Use SPDX-License-Identifiers in builtin 2025-04-20 20:49:10 +02:00
Lars Mueller
e1143783e5 Fix some (MSVC) compiler warnings 2025-04-20 20:49:10 +02:00
Lars Mueller
695d526764 Get rid of _IRR_OVERRIDE_ macro 2025-04-20 20:49:10 +02:00
Lars Mueller
5f1ff453c9 Replace _IRR_DEBUG_BREAK_IF with assertions 2025-04-20 20:49:10 +02:00
Jürgen Rühle
2f464843cb
Make it more convenient to customize node drops (#15872)
* Provide tool and digger to get_node_drops

This gives games/mods the ability to modify node drops depending on item
and/or player metadata without overriding node_dig or other workarounds.

* Copy wielded item to prevent modification in get_node_drops

* Also pass node pos to get_node_drops

Allowing properties of the node and its surroundings to affect node drops.

* Copy pos to prevent modification in get_node_drops

Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>

* Don't pass empty item stack to get_node_drops if wielded is nil

---------

Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
2025-04-20 20:48:48 +02:00
y5nw
23bfb2db72
Move keybinding settings to (Lua-based) setting menu (#15791) 2025-04-20 20:20:49 +02:00
y5nw
c1d2124102
SDL: Send events for X1 and X2 mouse buttons (#16025) 2025-04-20 20:20:33 +02:00
y5nw
bf15036831
Show SDL version in the About tab (#16046) 2025-04-20 20:20:22 +02:00
y5nw
2bb7ed208c
Add vcpkg.json (#15863) 2025-04-20 13:28:31 +02:00
Travis Wrightsman
0695541bf5
Fix cross-building by ensuring output path is set 2025-04-17 12:35:31 +02:00
sfence
7375358afd
Fix warning in mg_decoration.cpp 2025-04-17 12:35:14 +02:00
Vincent Robinson
fd85737460
Add allow_close[] element to formspecs (#15971) 2025-04-16 16:20:39 -07:00
sfan5
04e82749db Make ETLF_FLIP_Y_UP_RTT work for texture download on GLES 2025-04-15 21:42:47 +02:00
sfan5
cf07b56235 Expand workarounds for format inconsistency with BGRA8888 extension on GLES
fixes #16011
2025-04-15 21:42:47 +02:00
sfan5
37d2bc8a5f
Reuse some allocations in ClientMap rendering 2025-04-15 21:42:39 +02:00
sfence
a9c197b1e5
Expand usable range of fill_ratio to about 2.3e-10 (#16026) 2025-04-15 21:42:12 +02:00
sfan5
bdaabad53c
Warn if async engine seems stuck (#16010) 2025-04-14 17:18:33 +02:00
DS
60c47c51e0
Optimize name-id-lookup for MapBlock serialization (#16000) 2025-04-14 17:18:21 +02:00
rubenwardy
75862e33b6
ContentDB: Add reviews tab (#15254) 2025-04-13 16:07:01 +01:00
Erich Schubert
78293404c7
Rename perlin noise to value noise (#15858) 2025-04-10 14:39:40 +02:00
sfan5
372e37faf2 Minor correction to how buildbot finds packages 2025-04-10 14:39:21 +02:00
sfan5
124d770823 Fix edge-case where manually set gameid isn't used 2025-04-10 14:39:21 +02:00
sfan5
9d81c02f27 Add/remove/change some log messages for clarity 2025-04-10 14:39:21 +02:00
sfan5
a00b9cab36
Fix operator[] for vector2d and vector3d being potentially UB (#15977)
We don't have a C++ expert on hand, but taking a pointer to one member
and expecting to access another by an offset is very fishy:
- for one, there could theoretically be padding
- the compiler might assume that we are only writing to that first member

The new code has shown to be free for constant parameter values.
Non-constant ones cause the assembly to have branches (why?), but we don't
use that much.
2025-04-08 22:25:45 +02:00