1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Move keybinding settings to (Lua-based) setting menu (#15791)

This commit is contained in:
y5nw
2025-04-20 20:20:49 +02:00
committed by GitHub
parent c1d2124102
commit 23bfb2db72
25 changed files with 591 additions and 782 deletions

View File

@@ -33,6 +33,13 @@ globals = {
"_",
}
stds.menu_common = {
globals = {
"mt_color_grey", "mt_color_blue", "mt_color_lightblue", "mt_color_green",
"mt_color_dark_green", "mt_color_orange", "mt_color_red",
},
}
files["builtin/client/register.lua"] = {
globals = {
debug = {fields={"getinfo"}},
@@ -73,11 +80,16 @@ files["builtin/common/filterlist.lua"] = {
}
files["builtin/mainmenu"] = {
std = "+menu_common",
globals = {
"gamedata",
},
}
files["builtin/common/settings"] = {
std = "+menu_common",
}
files["builtin/common/tests"] = {
read_globals = {
"describe",