From 21c479688b4ee93c58f41d20f5c7555a41e4ad97 Mon Sep 17 00:00:00 2001 From: Rui Date: Mon, 21 Mar 2016 13:15:50 +0900 Subject: Credits: Make that easy to add/remove --- builtin/mainmenu/tab_credits.lua | 129 +++++++++++++++++++++------------------ 1 file changed, 71 insertions(+), 58 deletions(-) (limited to 'builtin') diff --git a/builtin/mainmenu/tab_credits.lua b/builtin/mainmenu/tab_credits.lua index 6b135b2c9..5cb730b38 100644 --- a/builtin/mainmenu/tab_credits.lua +++ b/builtin/mainmenu/tab_credits.lua @@ -17,64 +17,77 @@ -------------------------------------------------------------------------------- +local core_developers = { + "Perttu Ahola (celeron55) ", + "Ryan Kwolek (kwolekr) ", + "PilzAdam ", + "sfan5 ", + "kahrl ", + "sapier", + "ShadowNinja ", + "Nathanael Courant (Nore/Ekdohibs) ", + "BlockMen", + "Craig Robbins (Zeno)", + "Loic Blot (nerzhul/nrz) ", + "Mat Gregory (paramat)", + "est31 ", +} + +local active_contributors = { + "SmallJoker ", + "Andrew Ward (rubenwardy) ", + "Aaron Suen ", + "Sokomine ", + "Břetislav Štec (t0suj4/TBC_x)", + "TeTpaAka", + "Jean-Patrick G (kilbith) ", + "Diego Martinez (kaeza) ", +} + +local previous_core_developers = { + "Maciej Kasatkin (RealBadAngel) ", + "Lisa Milne (darkrose) ", + "proller", + "Ilya Zhuravlev (xyz) ", +} + +local previous_contributors = { + "Vanessa Ezekowitz (VanessaE) ", + "Jurgen Doser (doserj) ", + "Gregory Currie (gregorycu)", + "Jeija ", + "MirceaKitsune ", + "dannydark ", + "0gb.us <0gb.us@0gb.us>", + "Guiseppe Bilotta (Oblomov) ", + "Jonathan Neuschafer ", + "Nils Dagsson Moskopp (erlehmann) ", + "Constantin Wenger (SpeedProg) ", + "matttpt ", + "JacobF ", + "TriBlade9 ", + "Zefram ", +} + tab_credits = { name = "credits", caption = fgettext("Credits"), - cbf_formspec = function (tabview, name, tabdata) - local logofile = defaulttexturedir .. "logo.png" - return "label[0.5,3.2;Minetest " .. core.get_version() .. "]" .. - "label[0.5,3.5;http://minetest.net]" .. - "image[0.5,1;" .. core.formspec_escape(logofile) .. "]" .. - "tablecolumns[color;text]" .. - "tableoptions[background=#00000000;highlight=#00000000;border=false]" .. - "table[3.5,-0.25;8.5,5.8;list_credits;" .. - "#FFFF00," .. fgettext("Core Developers") .."," .. - ",Perttu Ahola (celeron55) ,".. - ",Ryan Kwolek (kwolekr) ,".. - ",PilzAdam ," .. - ",sfan5 ,".. - ",kahrl ,".. - ",sapier,".. - ",ShadowNinja ,".. - ",Nathanael Courant (Nore/Ekdohibs) ,".. - ",BlockMen,".. - ",Craig Robbins (Zeno),".. - ",Loic Blot (nerzhul/nrz) ,".. - ",Mat Gregory (paramat),".. - ",est31 ," .. - ",,".. - "#FFFF00," .. fgettext("Active Contributors") .. "," .. - ",SmallJoker ," .. - ",Andrew Ward (rubenwardy) ," .. - ",Aaron Suen ," .. - ",Sokomine ," .. - ",Břetislav Štec (t0suj4/TBC_x)," .. - ",TeTpaAka," .. - ",Jean-Patrick G (kilbith) ," .. - ",Diego Martinez (kaeza) ," .. - ",," .. - "#FFFF00," .. fgettext("Previous Core Developers") .."," .. - ",Maciej Kasatkin (RealBadAngel) ,".. - ",Lisa Milne (darkrose) ," .. - ",proller," .. - ",Ilya Zhuravlev (xyz) ," .. - ",," .. - "#FFFF00," .. fgettext("Previous Contributors") .. "," .. - ",Vanessa Ezekowitz (VanessaE) ,".. - ",Jurgen Doser (doserj) ,".. - ",Gregory Currie (gregorycu)," .. - ",Jeija ,".. - ",MirceaKitsune ,".. - ",dannydark ,".. - ",0gb.us <0gb.us@0gb.us>,".. - ",Guiseppe Bilotta (Oblomov) ,".. - ",Jonathan Neuschafer ,".. - ",Nils Dagsson Moskopp (erlehmann) ,".. - ",Constantin Wenger (SpeedProg) ,".. - ",matttpt ,".. - ",JacobF ,".. - ",TriBlade9 ,".. - ",Zefram ,".. - ";1]" - end - } + cbf_formspec = function(tabview, name, tabdata) + local logofile = defaulttexturedir .. "logo.png" + return "image[0.5,1;" .. core.formspec_escape(logofile) .. "]" .. + "label[0.5,3.2;Minetest " .. core.get_version() .. "]" .. + "label[0.5,3.5;http://minetest.net]" .. + "tablecolumns[color;text]" .. + "tableoptions[background=#00000000;highlight=#00000000;border=false]" .. + "table[3.5,-0.25;8.5,5.8;list_credits;" .. + "#FFFF00," .. fgettext("Core Developers") .. ",," .. + table.concat(core_developers, ",,") .. ",,," .. + "#FFFF00," .. fgettext("Active Contributors") .. ",," .. + table.concat(active_contributors, ",,") .. ",,," .. + "#FFFF00," .. fgettext("Previous Core Developers") ..",," .. + table.concat(previous_core_developers, ",,") .. ",,," .. + "#FFFF00," .. fgettext("Previous Contributors") .. ",," .. + table.concat(previous_contributors, ",,") .. "," .. + ";1]" + end +} -- cgit v1.2.3