1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-01 23:50:22 +02:00

180 Commits

Author SHA1 Message Date
80be9bf76e Add keybinding for world close key (#16250)
Fix according to Lua code style guidelines (grorp)

Fix order in defaultsettings.cpp (grorp)

remove unrequired comment, and whitespace

Co-authored-by: y5nw <y5nw@users.noreply.github.com>
Co-authored-by: grorp <grorp@users.noreply.github.com>
2025-07-01 14:31:26 +02:00
49f48e0a7c Update links and names in the documentation (#16153) 2025-06-22 22:04:42 +02:00
957ebf7368 settingtypes: Add no-c-format flag for xgettext 2025-05-30 13:02:15 +02:00
ec16fb33d0 Add unit tests for Lua vector reading 2025-05-28 13:29:30 +02:00
d11d90fb8d Update settingtypes to reflect scancode-related changes (#16140) 2025-05-16 17:16:23 +02:00
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
34e73da424 Optimize appending to tables in core.serialize and dump 2025-05-04 16:32:17 +02:00
9ad23e4384 Revamp dump 2025-05-04 16:32:17 +02:00
98b2edeb11 dump[2]: avoid misleading rounding of numbers 2025-05-04 16:32:17 +02:00
6f3735281f GUI: restore the Pause Menu after closing the Settings Menu 2025-05-02 21:26:34 +02:00
1de0eddb52 Update translation files 2025-04-24 16:53:19 +02:00
dd2e45ee82 Deprecate function support in core.[de]serialize 2025-04-23 21:39:27 +02:00
c0d10b24a4 Use SPDX-License-Identifiers in builtin 2025-04-20 20:49:10 +02:00
23bfb2db72 Move keybinding settings to (Lua-based) setting menu (#15791) 2025-04-20 20:20:49 +02:00
c30c94dfaa Add server/client annotations to settingtypes.txt and make use of them (#15756) 2025-04-01 07:55:47 -04:00
ead44a27ca TouchControls: Implement an option for dig/place buttons (#15845) 2025-03-21 12:06:44 +01:00
077828d0d9 Add table.copy_with_metatables (#15754) 2025-03-14 11:52:42 +01:00
2796283550 Remove broken fall bobbing 2025-03-04 19:53:01 +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
a57677120a Correct keycode URL in settingtypes.txt/minetest.conf.example (#15784) 2025-02-15 18:20:45 +01:00
54bf5d62f2 Fix fgettext call in dlg_settings.lua
(#15614)
2025-02-14 22:17:10 +01:00
2fb9e4d18a Fix enum setting used as requirement 2025-02-06 19:20:44 +01:00
af3f696423 Code style fixes. 2025-01-21 16:29:12 +01:00
eeb6cab4c4 In-game settings menu using separate Lua environment (#15614) 2025-01-19 13:07:04 -05:00
ad4b13a0e9 Luanti rename: builtin (#15324) 2024-10-28 19:40:18 +01:00
e3aa79cffb Gettext and plural support for client-side translations (#14726)
---------

Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +02:00
78aab8c95d ContentDB redesign: Add package dialog
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-10-05 18:40:26 +01:00
57ca92e0eb Simplify minetest.strip_param2_color 2024-10-04 10:42:25 +02:00
a6ba5304c4 Add new vector utils (ceil, sign, abs, random_in_area) (#14807) 2024-08-31 11:43:52 +02:00
274c223d00 Fix CSM help form using "/" instead of "." (#15034)
when copying commands to chat
2024-08-22 23:15:55 +02:00
b2f6a65bc9 Sort clients in minetest.get_server_status and privs in minetest.privs_to_string (#15023) 2024-08-21 20:25:41 +02:00
dc7a7a0ed9 Add table.keyof() (#14910) 2024-08-13 18:39:50 +02:00
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
8bff2f23c6 Rename minetest.register_async_metatable to minetest.register_portable_metatable (#14895) 2024-08-02 00:13:25 +02:00
28857841aa Fix math.round floating point bug (#14757) 2024-06-24 20:57:06 +01:00
4e1679d2a2 Keep empty servers at bottom of list (#14511) 2024-04-05 13:00:34 +02:00
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
893594d81a Add help formspec for CSM commands (#13937) 2024-02-02 22:12:59 +01:00
08ee6d8d4b Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mode (#11073) 2024-01-17 17:47:06 +01:00
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
4fdd2dec59 Move core.run_callbacks and related to common folder 2023-06-23 09:05:26 +02:00
68f81ace97 Add vector.in_area() utility function (#13390) 2023-04-12 10:46:26 +01:00
ab1fe80150 Error when string.split is given empty separator (#13132) 2023-01-10 09:25:48 -05:00
d69cb4fb5d Always set globals in __newindex (#13131) 2023-01-09 15:00:49 -05:00
da4a4086cf Fix /help privs checks (#13008) 2022-11-29 18:25:47 -05:00
8817af07fb Deprecate special handling of ${key} syntax in metadata values (#12970) 2022-11-24 17:56:43 -05:00
d1b80b462e Fix typos and en_US/en_GB inconsistency in various files (#12902) 2022-11-09 11:57:19 -05:00
b38ffdec27 Implement vector and node conversion in Lua (#12609)
Co-authored-by: sfan5 <sfan5@live.de>
2022-10-18 18:01:44 -04:00
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
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