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

1751 commits

Author SHA1 Message Date
Nathanaëlle Courant
30e33d71cc
Main menu: Fix ContentDB aliases for games having the '_game' suffix (#16157) 2025-05-19 10:29:37 +02:00
SmallJoker
56ecf6d332
Mainmenu: Fix error after ESC in dialog windows (#16130)
The error was caused by fd857374, where 'MenuQuit' was processed after 'try_quit'.
This commit fixes the error by moving the special 'MenuQuit' handling to Lua.
2025-05-18 20:41:42 +02:00
sfan5
554dd5ddf4
Update credits for 5.12.0 (#16142) 2025-05-18 12:13:57 +02:00
SmallJoker
3020c192b2
Client: Disable node specular shader effect (#16113)
This feature needs a proper API integration to result in a correct
in-game appearance. See #15898 for details.

This is a band-aid solution for the 5.12.0 release.
2025-05-17 15:02:47 +02:00
y5nw
d11d90fb8d
Update settingtypes to reflect scancode-related changes (#16140) 2025-05-16 17:16:23 +02:00
y5nw
57c1ab905c
Migrate existing keycode-based keybindings (#16049)
Co-authored-by: grorp <gregor.parzefall@posteo.de>
Co-authored-by: sfan5 <sfan5@live.de>
2025-05-14 22:15:15 +02:00
Lars Mueller
34e73da424 Optimize appending to tables in core.serialize and dump 2025-05-04 16:32:17 +02:00
Lars Mueller
9ad23e4384 Revamp dump 2025-05-04 16:32:17 +02:00
Lars Mueller
98b2edeb11 dump[2]: avoid misleading rounding of numbers 2025-05-04 16:32:17 +02:00
SmallJoker
6f3735281f
GUI: restore the Pause Menu after closing the Settings Menu 2025-05-02 21:26:34 +02:00
sfan5
893a74f9d7 Support HEAD and PATCH methods in http api 2025-05-01 10:46:24 +02:00
updatepo.sh
1de0eddb52 Update translation files 2025-04-24 16:53:19 +02:00
Lars Müller
dd2e45ee82
Deprecate function support in core.[de]serialize 2025-04-23 21:39:27 +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
7c619bdc9a
Improve usability of Prometheus metrics backend (#16060) 2025-04-23 09:30:04 +02: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
sfan5
4c4e296274
Handle texture filtering sanely to avoid blurriness (#16034) 2025-04-21 12:31:44 +02:00
Lars Mueller
c0d10b24a4 Use SPDX-License-Identifiers in builtin 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
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
9d81c02f27 Add/remove/change some log messages for clarity 2025-04-10 14:39:21 +02:00
Lars Müller
7689f1f0fd
Improve some warning messages (#15990) 2025-04-08 22:24:00 +02:00
Lars Müller
2569b50252
Deprecate some legacy item registration logic (#15950) 2025-04-01 19:12:00 +02:00
grorp
c30c94dfaa
Add server/client annotations to settingtypes.txt and make use of them (#15756) 2025-04-01 07:55:47 -04:00
sfan5
a94c9a73ba Move all registration logic into core.register_item for consistency 2025-03-29 10:21:15 +01:00
sfan5
915446417d Improve warning message for registration table reuse 2025-03-29 10:21:15 +01:00
sfan5
db15bc6466 Some more random code cleanups 2025-03-26 20:49:43 +01:00
grorp
ead44a27ca
TouchControls: Implement an option for dig/place buttons (#15845) 2025-03-21 12:06:44 +01:00
sfan5
a9a3b05cc3 Prevent registration of certain new content after load time 2025-03-19 22:05:01 +01:00
sfan5
ca047c3e58 Warn on core.override_item() after server startup 2025-03-19 22:05:01 +01:00
sfan5
2540667f04 Warn if metatable passed to itemdef registration function 2025-03-19 22:05:01 +01:00
SmallJoker
5b2b2c7796 Game: disable 'toggle_sneak_key' while flying 2025-03-19 18:42:26 +01:00
Lars Müller
077828d0d9
Add table.copy_with_metatables (#15754) 2025-03-14 11:52:42 +01:00
SmallJoker
23d0fb2d3f
builtin: Return 'obj' from 'core.item_drop' (#15880)
This also includes a minor bugfix where 'itemstack' was cleared
even if the object placement failed.
2025-03-11 20:00:35 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets (#15881) 2025-03-11 20:00:07 +01:00
Alex
dadd097f32
Echo DMs sent with /msg (#15887) 2025-03-11 09:59:51 +01:00
Medley
63701de45f
Make Sneak and Aux1 optionally togglable (#15785) 2025-03-06 21:01:43 +01:00
sfan5
304ce4cd54 Fix syntax error in credits.json
reported at <https://forum.luanti.org/viewtopic.php?p=442729>

As it happens this didn't affect most users as jsoncpp allows trailing commas
by default since 2019.
2025-03-04 19:53:01 +01:00
sfan5
2796283550 Remove broken fall bobbing 2025-03-04 19:53:01 +01:00
sfan5
062207e696 Enforce minimum client_mapblock_limit depending on view range 2025-03-01 22:40:10 +01:00
sfan5
7d3f0628c4 Use visual = "node" for builtin falling node entity
This greatly simplifies the code at the expense of some
falling nodes not showing up on older clients.
2025-02-22 16:19:04 +01:00
Andrii Nemchenko
e51221d247
Implement metadata-aware version of InvRef:remove_item() (#15771) 2025-02-22 16:18:48 +01:00
James Morey
50819ace8f
Move clickable_chat_weblinks to Advanced > Miscellaneous (#15799) 2025-02-19 18:45:31 +01:00
et
ef0219c2ed
Prevent accidental wallmounted_to_dir poisoning (#15810)
Prior to this commit, if you used a function like `core.wallmounted_to_dir`, and modified its output, it would modify all of the output in the future.
2025-02-18 21:51:33 +01:00
Desour
166e02955e Decrease fps_max_unfocused from 20 to 10
This used to be the default for android.
There's not much issues now with using a lower value, so a lower default on all platforms
is reasonable.
The only downside I know of is that if you re-focus the window, it can up till the
next client step until it goes back to normal fps, but 10 Hz feels fast enough.
2025-02-15 18:21:01 +01:00
Desour
191cb117f9 Don't use fps_max_unfocused for the pause menu
Nowadays, we have things like buttons that change appearance on hover, or scoll bars
in the pause menu. These do not work fine with low fps.
2025-02-15 18:21:01 +01:00
Miguel P.L
a57677120a
Correct keycode URL in settingtypes.txt/minetest.conf.example (#15784) 2025-02-15 18:20:45 +01:00
sfan5
d027fc9a88 Enable ipv6_server by default 2025-02-15 12:18:07 +01:00