tab_credits.lua 4.8 KB

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