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

Use SPDX-License-Identifiers in builtin

This commit is contained in:
Lars Mueller 2025-04-05 01:19:52 +02:00 committed by Lars Müller
parent e1143783e5
commit c0d10b24a4
40 changed files with 123 additions and 643 deletions

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2013 sapier -- Copyright (C) 2013 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
-- TODO improve doc -- -- TODO improve doc --

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2022 rubenwardy -- Copyright (C) 2022 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local make = {} local make = {}

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2015 PilzAdam -- Copyright (C) 2015 PilzAdam
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local checkboxes = {} local checkboxes = {}

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2022 rubenwardy -- Copyright (C) 2022 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local path = core.get_builtin_path() .. "common" .. DIR_DELIM .. "settings" .. DIR_DELIM local path = core.get_builtin_path() .. "common" .. DIR_DELIM .. "settings" .. DIR_DELIM

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2022 rubenwardy -- Copyright (C) 2022 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local path = core.get_builtin_path() .. "common" .. DIR_DELIM .. "settings" .. DIR_DELIM local path = core.get_builtin_path() .. "common" .. DIR_DELIM .. "settings" .. DIR_DELIM

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2015 PilzAdam -- Copyright (C) 2015 PilzAdam
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
settingtypes = {} settingtypes = {}

View file

@ -1,20 +1,7 @@
-- Luanti -- Luanti
-- Copyright (C) 2021-2 x2048 -- Copyright (C) 2021-2 x2048
-- Copyright (C) 2022-3 rubenwardy -- Copyright (C) 2022-3 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local shadow_levels_labels = { local shadow_levels_labels = {

View file

@ -1,20 +1,7 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- Copyright (C) 2023 Gregor Parzefall -- Copyright (C) 2023 Gregor Parzefall
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local BASE_SPACING = 0.1 local BASE_SPACING = 0.1

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--this program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function dialog_event_handler(self,event) local function dialog_event_handler(self,event)
if self.user_eventhandler == nil or if self.user_eventhandler == nil or

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
ui = {} ui = {}
ui.childlist = {} ui.childlist = {}

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-- Global menu data -- Global menu data
menudata = {} menudata = {}

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2018-24 rubenwardy -- Copyright (C) 2018-24 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
if not core.get_http_api then if not core.get_http_api then
return return

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2018-20 rubenwardy -- Copyright (C) 2018-20 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
if not core.get_http_api then if not core.get_http_api then
function create_contentdb_dlg() function create_contentdb_dlg()

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2018-24 rubenwardy -- Copyright (C) 2018-24 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function is_still_visible(dlg) local function is_still_visible(dlg)
local this = ui.find_by_name("install_dialog") local this = ui.find_by_name("install_dialog")

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2018-24 rubenwardy -- Copyright (C) 2018-24 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
function get_formspec(data) function get_formspec(data)
local package = data.package local package = data.package

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2018-24 rubenwardy -- Copyright (C) 2018-24 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function get_info_formspec(size, padding, text) local function get_info_formspec(size, padding, text)

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2023 rubenwardy -- Copyright (C) 2023 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local path = core.get_mainmenu_path() .. DIR_DELIM .. "content" local path = core.get_mainmenu_path() .. DIR_DELIM .. "content"

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2013 sapier -- Copyright (C) 2013 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
local function get_last_folder(text,count) local function get_last_folder(text,count)

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2023-24 rubenwardy -- Copyright (C) 2023-24 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-- Screenshot -- Screenshot

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2022 rubenwardy -- Copyright (C) 2022 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local mods_dir = "/tmp/.minetest/mods" local mods_dir = "/tmp/.minetest/mods"
local games_dir = "/tmp/.minetest/games" local games_dir = "/tmp/.minetest/games"

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2023 rubenwardy -- Copyright (C) 2023 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
update_detector = {} update_detector = {}

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2013 sapier -- Copyright (C) 2013 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function table_to_flags(ftable) local function table_to_flags(ftable)
-- Convert e.g. { jungles = true, caves = false } to "jungles,nocaves" -- Convert e.g. { jungles = true, caves = false } to "jungles,nocaves"

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function delete_world_formspec(dialogdata) local function delete_world_formspec(dialogdata)

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2022 rubenwardy -- Copyright (C) 2022 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2023 Gregor Parzefall -- Copyright (C) 2023 Gregor Parzefall
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
---- IMPORTANT ---- ---- IMPORTANT ----
-- This whole file can be removed after a while. -- This whole file can be removed after a while.

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2013 sapier -- Copyright (C) 2013 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
mm_game_theme = {} mm_game_theme = {}

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
MAIN_TAB_W = 15.5 MAIN_TAB_W = 15.5
MAIN_TAB_H = 7.1 MAIN_TAB_H = 7.1

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2020 rubenwardy -- Copyright (C) 2020 rubenwardy
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
serverlistmgr = { serverlistmgr = {
-- continent code we detected for ourselves -- continent code we detected for ourselves

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2013 sapier -- Copyright (C) 2013 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function prepare_credits(dest, source) local function prepare_credits(dest, source)

View file

@ -1,20 +1,7 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- Copyright (C) 2018 rubenwardy <rw@rubenwardy.com> -- Copyright (C) 2018 rubenwardy <rw@rubenwardy.com>
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function get_content_icons(packages_with_updates) local function get_content_icons(packages_with_updates)

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local current_game, singleplayer_refresh_gamebar local current_game, singleplayer_refresh_gamebar

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2014 sapier -- Copyright (C) 2014 sapier
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local function get_sorted_servers() local function get_sorted_servers()
local servers = { local servers = {

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2016 T4im -- Copyright (C) 2016 T4im
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local S = core.get_translator("__builtin") local S = core.get_translator("__builtin")

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2016 T4im -- Copyright (C) 2016 T4im
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local format, pairs, type = string.format, pairs, type local format, pairs, type = string.format, pairs, type
local core, get_current_modname = core, core.get_current_modname local core, get_current_modname = core, core.get_current_modname

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2016 T4im -- Copyright (C) 2016 T4im
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local S = core.get_translator("__builtin") local S = core.get_translator("__builtin")
-- Note: In this file, only messages are translated -- Note: In this file, only messages are translated

View file

@ -1,19 +1,6 @@
-- Luanti -- Luanti
-- Copyright (C) 2016 T4im -- Copyright (C) 2016 T4im
-- -- SPDX-License-Identifier: LGPL-2.1-or-later
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
local setmetatable = setmetatable local setmetatable = setmetatable
local pairs, format = pairs, string.format local pairs, format = pairs, string.format
local min, max, huge = math.min, math.max, math.huge local min, max, huge = math.min, math.max, math.huge