1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Update Citations

This commit is contained in:
DustyBagel 2024-09-27 22:40:04 -05:00
parent 0976b89add
commit 981e1b7766
7 changed files with 23 additions and 47 deletions

View file

@ -25,7 +25,6 @@ local function get_sorted_servers()
local merged_serverlist = table.copy(serverlistmgr.servers) local merged_serverlist = table.copy(serverlistmgr.servers)
--Special thanks to proller <proller@gmail.com> for letting use use the get_lan_servers function.
if minetest.settings:get_bool("serverlist_lan") then if minetest.settings:get_bool("serverlist_lan") then
if core.get_lan_servers then if core.get_lan_servers then
local lan = core.get_lan_servers() local lan = core.get_lan_servers()

View file

@ -1,22 +1,20 @@
/* /*
Copyright (C) 2016 proller <proler@gmail.com> Minetest
*/ Copyright (C) 2024 proller <proler@gmail.com> and contributors.
/* This program is free software; you can redistribute it and/or modify
This file is part of Freeminer. 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
Freeminer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
Freeminer is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Lesser General Public License along
along with Freeminer. If not, see <http://www.gnu.org/licenses/>. with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "network/lan.h" #include "network/lan.h"

View file

@ -1,20 +1,20 @@
/* /*
Copyright (C) 2016 proller <proler@gmail.com> Minetest
Copyright (C) 2024 proller <proler@gmail.com> and contributors.
This file is part of Freeminer. 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
Freeminer is free software: you can redistribute it and/or modify the Free Software Foundation; either version 2.1 of the License, or
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. (at your option) any later version.
Freeminer is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU Lesser General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Lesser General Public License along
along with Freeminer. If not, see <http://www.gnu.org/licenses/>. with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#pragma once #pragma once

View file

@ -1092,11 +1092,6 @@ int ModApiMainMenu::l_do_async_callback(lua_State *L)
/******************************************************************************/ /******************************************************************************/
/*
ModApiMainMenu::l_ask_lan_servers, ModApiMainMenu::l_get_lan_servers
by proller <proler@gmail.com>, special thanks for letting us use them.
*/
int ModApiMainMenu::l_ask_lan_servers(lua_State *L) int ModApiMainMenu::l_ask_lan_servers(lua_State *L)
{ {
ServerList::lan_get(); ServerList::lan_get();

View file

@ -60,12 +60,7 @@ private:
*/ */
static bool mayModifyPath(std::string path); static bool mayModifyPath(std::string path);
//lan //lan discovery
/*
ModApiMainMenu::l_ask_lan_servers, ModApiMainMenu::l_get_lan_servers
by proller <proler@gmail.com>, special thanks for letting us use it.
*/
static int l_ask_lan_servers(lua_State *L); static int l_ask_lan_servers(lua_State *L);

View file

@ -34,12 +34,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
namespace ServerList namespace ServerList
{ {
/*
Special thanks to proller <proler@gmail.com> for
letting us use the methods lan_get() and lan_fresh()
as well as the lan_adv class.
*/
static std::string ask_str; static std::string ask_str;
lan_adv lan_adv_client; lan_adv lan_adv_client;

View file

@ -29,11 +29,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
namespace ServerList namespace ServerList
{ {
/*
Special thanks to proller <proler@gmail.com> for
letting us use the methods lan_get() and lan_fresh()
as well as the lan_adv class.
*/
extern lan_adv lan_adv_client; extern lan_adv lan_adv_client;
void lan_get(); void lan_get();
bool lan_fresh(); bool lan_fresh();