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

1759 commits

Author SHA1 Message Date
sfan5
2d36d32da8 Tune mesh generation interval and thread count 2025-06-26 16:39:26 +02:00
sfan5
8eceabd812
Make core.get_node_raw a public API (#16265)
Co-authored-by: Erich Schubert <erich.schubert@tu-dortmund.de>
2025-06-25 15:05:22 +02:00
grorp
90c3479520
ContentDB: Allow hitting "Install" before package info finishes loading (#16247) 2025-06-24 11:50:12 +02:00
Miguel P.L
49f48e0a7c
Update links and names in the documentation (#16153) 2025-06-22 22:04:42 +02:00
Gwyndolyn Shafer
b9af44b194
Remove redundant descriptions from key bindings (#16220) 2025-06-07 14:43:03 +02:00
grorp
56a7f0b7cf
Don't break when multiple dialogs are shown on startup (#16204) 2025-06-01 15:24:14 +02:00
Wuzzy
957ebf7368
settingtypes: Add no-c-format flag for xgettext 2025-05-30 13:02:15 +02:00
sfan5
ec16fb33d0 Add unit tests for Lua vector reading 2025-05-28 13:29:30 +02:00
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