2 --Copyright (C) 2013 sapier
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.
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.
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.
18 --------------------------------------------------------------------------------
19 local dragonfire_team = {
20 "Elias Fleckenstein [Main Developer]",
21 "cora [Core Developer]",
22 "emilia [Core Developer]",
23 "oneplustwo [Developer]",
24 "joshia_wi [Developer]",
25 "Code-Sploit [Developer]",
26 "DerZombiiie [User Support]",
30 local core_developers = {
31 "Perttu Ahola (celeron55) <celeron55@gmail.com>",
32 "sfan5 <sfan5@live.de>",
33 "Nathanaël Courant (Nore/Ekdohibs) <nore@mesecons.net>",
34 "Loic Blot (nerzhul/nrz) <loic.blot@unix-experience.fr>",
36 "Andrew Ward (rubenwardy) <rw@rubenwardy.com>",
37 "Krock/SmallJoker <mk939@ymail.com>",
38 "Lars Hofhansl <larsh@apache.org>",
39 "Pierre-Yves Rollo <dev@pyrollo.com>",
40 "v-rob <robinsonvincent89@gmail.com>",
42 "Hugues Ross <hugues.ross@gmail.com>",
43 "Dmitry Kostenko (x2048) <codeforsmile@gmail.com>",
46 -- For updating active/previous contributors, see the script in ./util/gather_git_credits.py
48 local active_contributors = {
49 "Wuzzy [I18n for builtin, liquid features, fixes]",
50 "Zughy [Various features and fixes]",
51 "numzero [Graphics and rendering]",
52 "Desour [Internal fixes, Clipboard on X11]",
53 "Lars Müller [Various internal fixes]",
54 "JosiahWI [CMake, cleanups and fixes]",
55 "HybridDog [builtin, documentation]",
56 "Jude Melton-Houghton [Database implementation]",
58 "Liso [Shadow Mapping]",
59 "MoNTE48 [Build fix]",
60 "Jean-Patrick Guerrero (kilbith) [Fixes]",
61 "ROllerozxa [Code cleanups]",
62 "Lejo [bitop library integration]",
63 "LoneWolfHT [Build fixes]",
64 "NeroBurner [Joystick]",
65 "Elias Fleckenstein [Internal fixes]",
66 "David CARLIER [Unix & Haiku build fixes]",
67 "pecksin [Clickable web links]",
68 "srfqi [Android & rendering fixes]",
69 "EvidenceB [Formspec]",
72 local previous_core_developers = {
74 "Maciej Kasatkin (RealBadAngel) [RIP]",
75 "Lisa Milne (darkrose) <lisa@ltmnet.com>",
77 "Ilya Zhuravlev (xyz) <xyz@minetest.net>",
78 "PilzAdam <pilzadam@minetest.net>",
79 "est31 <MTest31@outlook.com>",
80 "kahrl <kahrl@gmx.net>",
81 "Ryan Kwolek (kwolekr) <kwolekr@minetest.net>",
84 "ShadowNinja <shadowninja@minetest.net>",
85 "Auke Kok (sofar) <sofar@foo-projects.org>",
86 "Aaron Suen <warr1024@gmail.com>",
89 local previous_contributors = {
90 "Nils Dagsson Moskopp (erlehmann) <nils@dieweltistgarnichtso.net> [Minetest Logo]",
91 "red-001 <red-001@outlook.ie>",
93 "Dániel Juhász (juhdanad) <juhdanad@gmail.com>",
94 "MirceaKitsune <mirceakitsune@gmail.com>",
95 "Constantin Wenger (SpeedProg)",
96 "Ciaran Gultnieks (CiaranG)",
97 "Paul Ouellette (pauloue)",
99 "Rogier <rogier777@gmail.com>",
100 "Gregory Currie (gregorycu)",
102 "Jeija <jeija@mesecons.net> [HTTP, particles]",
105 local function buildCreditList(source)
107 for i = 1, #source do
108 ret[i] = core.formspec_escape(source[i])
110 return table.concat(ret, ",,")
115 caption = fgettext("About"),
116 cbf_formspec = function(tabview, name, tabdata)
117 local logofile = defaulttexturedir .. "logo.png"
118 local version = core.get_version()
119 local fs = "image[0.75,0.5;2.2,2.2;" .. core.formspec_escape(logofile) .. "]" ..
120 "style[label_button;border=false]" ..
121 "button[0.5,2;2.5,2;label_button;" .. version.project .. " " .. version.string .. "]" ..
122 "button[0.75,2.75;2,2;homepage;minetest.net]" ..
123 "tablecolumns[color;text]" ..
124 "tableoptions[background=#00000000;highlight=#00000000;border=false]" ..
125 "table[3.5,-0.25;8.5,6.05;list_credits;" ..
126 "#FFFF00," .. fgettext("Dragonfire Team") .. ",," ..
127 buildCreditList(dragonfire_team) .. ",,," ..
128 "#FFFF00," .. fgettext("Core Developers") .. ",," ..
129 buildCreditList(core_developers) .. ",,," ..
130 "#FFFF00," .. fgettext("Active Contributors") .. ",," ..
131 buildCreditList(active_contributors) .. ",,," ..
132 "#FFFF00," .. fgettext("Previous Core Developers") ..",," ..
133 buildCreditList(previous_core_developers) .. ",,," ..
134 "#FFFF00," .. fgettext("Previous Contributors") .. ",," ..
135 buildCreditList(previous_contributors) .. "," ..
138 -- Render information
139 fs = fs .. "label[0.75,4.9;" ..
140 fgettext("Active renderer:") .. "\n" ..
141 core.formspec_escape(core.get_screen_info().render_info) .. "]"
143 if PLATFORM ~= "Android" then
144 fs = fs .. "tooltip[userdata;" ..
145 fgettext("Opens the directory that contains user-provided worlds, games, mods,\n" ..
146 "and texture packs in a file manager / explorer.") .. "]"
147 fs = fs .. "button[0,4;3.5,1;userdata;" .. fgettext("Open User Data Directory") .. "]"
152 cbf_button_handler = function(this, fields, name, tabdata)
153 if fields.homepage then
154 core.open_url("https://www.minetest.net")
157 if fields.userdata then
158 core.open_dir(core.get_user_path())