Fix copyright headers for moved files, update comment

This commit is contained in:
grorp 2025-01-02 13:46:05 +01:00
parent aab659d1ee
commit 56910840e4
7 changed files with 13 additions and 2 deletions

View File

@ -240,8 +240,9 @@ void GameFormSpec::showCSMFormSpec(const std::string &formspec, const std::strin
void GameFormSpec::showPauseMenuFormSpec(const std::string &formspec, const std::string &formname)
{
// Neither CSM nor the server must be allowed to mess with the settings formspec,
// it's a trusted context like the mainmenu.
// The pause menu env is a trusted context like the mainmenu env and provides
// the in-game settings formspec.
// Neither CSM nor the server must be allowed to mess with it.
FormspecFormSource *fs_src = new FormspecFormSource(formspec);
LocalFormspecHandler *txt_dst =
new LocalFormspecHandler(formname, nullptr, m_pause_script.get());

View File

@ -1,5 +1,7 @@
// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
// Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
// Copyright (C) 2025 grorp
#include "s_client_common.h"

View File

@ -1,5 +1,7 @@
// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
// Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
// Copyright (C) 2025 grorp
#pragma once

View File

@ -1,5 +1,7 @@
// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
// Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
// Copyright (C) 2025 grorp
#include "l_client_common.h"

View File

@ -1,5 +1,7 @@
// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
// Copyright (C) 2017 nerzhul, Loic Blot <loic.blot@unix-experience.fr>
// Copyright (C) 2025 grorp
#pragma once

View File

@ -1,5 +1,6 @@
// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 sapier
// Copyright (C) 2025 grorp
#include "l_menu_common.h"

View File

@ -1,5 +1,6 @@
// Luanti
// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (C) 2013 sapier
// Copyright (C) 2025 grorp
#pragma once