Menu: Fix starting a server if the server address is an empty string. (#5742)
[oweals/minetest.git] / builtin / mainmenu / tab_credits.lua
1 --Minetest
2 --Copyright (C) 2013 sapier
3 --
4 --This program is free software; you can redistribute it and/or modify
5 --it under the terms of the GNU Lesser General Public License as published by
6 --the Free Software Foundation; either version 2.1 of the License, or
7 --(at your option) any later version.
8 --
9 --This program is distributed in the hope that it will be useful,
10 --but WITHOUT ANY WARRANTY; without even the implied warranty of
11 --MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 --GNU Lesser General Public License for more details.
13 --
14 --You should have received a copy of the GNU Lesser General Public License along
15 --with this program; if not, write to the Free Software Foundation, Inc.,
16 --51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18 --------------------------------------------------------------------------------
19
20 local core_developers = {
21         "Perttu Ahola (celeron55) <celeron55@gmail.com>",
22         "Ryan Kwolek (kwolekr) <kwolekr@minetest.net>",
23         "sfan5 <sfan5@live.de>",
24         "kahrl <kahrl@gmx.net>",
25         "sapier",
26         "ShadowNinja <shadowninja@minetest.net>",
27         "Nathanaël Courant (Nore/Ekdohibs) <nore@mesecons.net>",
28         "Loic Blot (nerzhul/nrz) <loic.blot@unix-experience.fr>",
29         "Matt Gregory (paramat)",
30         "est31 <MTest31@outlook.com>",
31         "Craig Robbins (Zeno) <craig.d.robbins@gmail.com>",
32         "Auke Kok (sofar) <sofar@foo-projects.org>",
33         "Andrew Ward (rubenwardy) <rubenwardy@gmail.com>",
34 }
35
36 local active_contributors = {
37         "Duane Robertson <duane@duanerobertson.com>",
38         "SmallJoker <mk939@ymail.com>",
39         "Lars Hofhansl <larsh@apache.org>",
40         "Jeija <jeija@mesecons.net>",
41         "Gregory Currie (gregorycu)",
42         "Sokomine <wegwerf@anarres.dyndns.org>",
43         "TeTpaAka",
44         "Jean-Patrick G (kilbith) <jeanpatrick.guerrero@gmail.com>",
45         "Diego Martínez (kaeza) <kaeza@users.sf.net>",
46         "Dániel Juhász (juhdanad) <juhdanad@gmail.com>",
47         "Rogier <rogier777@gmail.com>",
48 }
49
50 local previous_core_developers = {
51         "BlockMen",
52         "Maciej Kasatkin (RealBadAngel) <maciej.kasatkin@o2.pl>",
53         "Lisa Milne (darkrose) <lisa@ltmnet.com>",
54         "proller",
55         "Ilya Zhuravlev (xyz) <xyz@minetest.net>",
56         "PilzAdam <pilzadam@minetest.net>",
57 }
58
59 local previous_contributors = {
60         "Vanessa Ezekowitz (VanessaE) <vanessaezekowitz@gmail.com>",
61         "Jurgen Doser (doserj) <jurgen.doser@gmail.com>",
62         "MirceaKitsune <mirceakitsune@gmail.com>",
63         "dannydark <the_skeleton_of_a_child@yahoo.co.uk>",
64         "0gb.us <0gb.us@0gb.us>",
65         "Guiseppe Bilotta (Oblomov) <guiseppe.bilotta@gmail.com>",
66         "Jonathan Neuschafer <j.neuschaefer@gmx.net>",
67         "Nils Dagsson Moskopp (erlehmann) <nils@dieweltistgarnichtso.net>",
68         "Břetislav Štec (t0suj4/TBC_x)",
69         "Aaron Suen <warr1024@gmail.com>",
70         "Constantin Wenger (SpeedProg) <constantin.wenger@googlemail.com>",
71         "matttpt <matttpt@gmail.com>",
72         "JacobF <queatz@gmail.com>",
73         "TriBlade9 <triblade9@mail.com>",
74         "Zefram <zefram@fysh.org>",
75 }
76
77 return {
78         name = "credits",
79         caption = fgettext("Credits"),
80         cbf_formspec = function(tabview, name, tabdata)
81                 local logofile = defaulttexturedir .. "logo.png"
82                 local version = core.get_version()
83                 return "image[0.5,1;" .. core.formspec_escape(logofile) .. "]" ..
84                         "label[0.5,3.2;" .. version.project .. " " .. version.string .. "]" ..
85                         "label[0.5,3.5;http://minetest.net]" ..
86                         "tablecolumns[color;text]" ..
87                         "tableoptions[background=#00000000;highlight=#00000000;border=false]" ..
88                         "table[3.5,-0.25;8.5,6.05;list_credits;" ..
89                         "#FFFF00," .. fgettext("Core Developers") .. ",," ..
90                         table.concat(core_developers, ",,") .. ",,," ..
91                         "#FFFF00," .. fgettext("Active Contributors") .. ",," ..
92                         table.concat(active_contributors, ",,") .. ",,," ..
93                         "#FFFF00," .. fgettext("Previous Core Developers") ..",," ..
94                         table.concat(previous_core_developers, ",,") .. ",,," ..
95                         "#FFFF00," .. fgettext("Previous Contributors") .. ",," ..
96                         table.concat(previous_contributors, ",,") .. "," ..
97                         ";1]"
98         end
99 }