]> git.lizzy.rs Git - minetest.git/blob - builtin/mainmenu/tab_credits.lua
Update credits (#8162)
[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         "sfan5 <sfan5@live.de>",
23         "ShadowNinja <shadowninja@minetest.net>",
24         "Nathanaël Courant (Nore/Ekdohibs) <nore@mesecons.net>",
25         "Loic Blot (nerzhul/nrz) <loic.blot@unix-experience.fr>",
26         "paramat",
27         "Auke Kok (sofar) <sofar@foo-projects.org>",
28         "rubenwardy <rw@rubenwardy.com>",
29         "Krock/SmallJoker <mk939@ymail.com>",
30         "Lars Hofhansl <larsh@apache.org>",
31 }
32
33 local active_contributors = {
34         "numberZero [Audiovisuals: meshgen]",
35         "stujones11 [Android UX improvements]",
36         "red-001 <red-001@outlook.ie> [CSM & Menu fixes]",
37         "Paul Ouellette (pauloue) [Docs, fixes]",
38         "Dániel Juhász (juhdanad) <juhdanad@gmail.com> [Audiovisuals: lighting]",
39         "Hybrid Dog [API]",
40         "srifqi [Android]",
41         "Vincent Glize (Dumbeldor) [Cleanups, CSM APIs]",
42         "Ben Deutsch [Rendering, Fixes, SQLite auth]",
43         "Wuzzy [Translation, Slippery]",
44         "ANAND (ClobberXD) [Docs, Fixes]",
45         "Shara/Ezhh [Docs, Game API]",
46         "DTA7 [Fixes, mute key]",
47         "Thomas-S [Disconnected, Formspecs]",
48         "Raymoo [Tool Capabilities]",
49         "Elijah Duffy (octacian) [Mainmenu]",
50         "noob3167 [Fixes]",
51         "adelcoding1 [Formspecs]",
52         "adrido [Windows Installer, Formspecs]",
53         "Rui [Sound Pitch]",
54         "Jean-Patrick G (kilbith) <jeanpatrick.guerrero@gmail.com> [Audiovisuals]",
55         "Esteban (EXio4) [Cleanups]",
56         "Vaughan Lapsley (vlapsley) [Carpathian mapgen]",
57         "CoderForTheBetter [Add set_rotation]",
58         "Quentin Bazin (Unarelith) [Cleanups]",
59         "Maksim (MoNTE48) [Android]",
60         "Gaël-de-Sailly [Mapgen, pitch fly]",
61         "zeuner [Docs, Fixes]",
62         "ThomasMonroe314 (tre) [Fixes]",
63         "Rob Blanckaert (basicer) [Fixes]",
64         "Jozef Behran (osjc) [Fixes]",
65         "random-geek [Fixes]",
66         "Pedro Gimeno (pgimeno) [Fixes]",
67         "lisacvuk [Fixes]",
68 }
69
70 local previous_core_developers = {
71         "BlockMen",
72         "Maciej Kasatkin (RealBadAngel) [RIP]",
73         "Lisa Milne (darkrose) <lisa@ltmnet.com>",
74         "proller",
75         "Ilya Zhuravlev (xyz) <xyz@minetest.net>",
76         "PilzAdam <pilzadam@minetest.net>",
77         "est31 <MTest31@outlook.com>",
78         "kahrl <kahrl@gmx.net>",
79         "Ryan Kwolek (kwolekr) <kwolekr@minetest.net>",
80         "sapier",
81         "Zeno",
82 }
83
84 local previous_contributors = {
85         "Gregory Currie (gregorycu) [optimisation]",
86         "Diego Martínez (kaeza) <kaeza@users.sf.net>",
87         "T4im [Profiler]",
88         "TeTpaAka [Hand overriding, nametag colors]",
89         "Duane Robertson <duane@duanerobertson.com> [MGValleys]",
90         "neoascetic [OS X Fixes]",
91         "TriBlade9 <triblade9@mail.com> [Audiovisuals]",
92         "Jurgen Doser (doserj) <jurgen.doser@gmail.com> [Fixes]",
93         "MirceaKitsune <mirceakitsune@gmail.com> [Audiovisuals]",
94         "Guiseppe Bilotta (Oblomov) <guiseppe.bilotta@gmail.com> [Fixes]",
95         "matttpt <matttpt@gmail.com> [Fixes]",
96         "Nils Dagsson Moskopp (erlehmann) <nils@dieweltistgarnichtso.net> [Minetest Logo]",
97         "Jeija <jeija@mesecons.net> [HTTP, particles]",
98         "bigfoot547 [CSM]",
99         "Rogier <rogier777@gmail.com> [Fixes]",
100 }
101
102 local function buildCreditList(source)
103         local ret = {}
104         for i = 1, #source do
105                 ret[i] = core.formspec_escape(source[i])
106         end
107         return table.concat(ret, ",,")
108 end
109
110 return {
111         name = "credits",
112         caption = fgettext("Credits"),
113         cbf_formspec = function(tabview, name, tabdata)
114                 local logofile = defaulttexturedir .. "logo.png"
115                 local version = core.get_version()
116                 return "image[0.5,1;" .. core.formspec_escape(logofile) .. "]" ..
117                         "label[0.5,3.2;" .. version.project .. " " .. version.string .. "]" ..
118                         "label[0.5,3.5;http://minetest.net]" ..
119                         "tablecolumns[color;text]" ..
120                         "tableoptions[background=#00000000;highlight=#00000000;border=false]" ..
121                         "table[3.5,-0.25;8.5,6.05;list_credits;" ..
122                         "#FFFF00," .. fgettext("Core Developers") .. ",," ..
123                         buildCreditList(core_developers) .. ",,," ..
124                         "#FFFF00," .. fgettext("Active Contributors") .. ",," ..
125                         buildCreditList(active_contributors) .. ",,," ..
126                         "#FFFF00," .. fgettext("Previous Core Developers") ..",," ..
127                         buildCreditList(previous_core_developers) .. ",,," ..
128                         "#FFFF00," .. fgettext("Previous Contributors") .. ",," ..
129                         buildCreditList(previous_contributors) .. "," ..
130                         ";1]"
131         end
132 }