BlockColor-Engine/builtin/mainmenu/tab_credits.lua

86 lines
2.7 KiB
Lua
Raw Normal View History

2017-07-19 23:36:10 +02:00
--Minetest
--Copyright (C) 2013 sapier
--
--This program is free software; you can redistribute it and/or modify
--it under the terms of the GNU Lesser General Public License as published by
2019-07-19 16:11:54 +02:00
--the Free Software Foundation; either version 2.1 of the License, or
--(at your option) any later version.
--
--This program is distributed in the hope that it will be useful,
--but WITHOUT ANY WARRANTY; without even the implied warranty of
--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--GNU Lesser General Public License for more details.
--
--You should have received a copy of the GNU Lesser General Public License along
--with this program; if not, write to the Free Software Foundation, Inc.,
--51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
--------------------------------------------------------------------------------
2019-07-19 16:11:54 +02:00
local engine = {
2019-07-21 14:44:58 +02:00
"BlockColor use Minetest (Celeron55) / Multicraft (Monte48) ",
}
2019-07-19 16:11:54 +02:00
local developers = {
"Mrchiantos",
2016-04-08 19:43:15 +02:00
}
2019-07-19 16:11:54 +02:00
local contributors = {
2016-03-21 05:15:50 +01:00
2019-07-19 16:11:54 +02:00
"Animal Model : AspireMint",
"Ships Spawn Mod : SokoMine",
"Furnitures Mod : Gerold55",
"Slope Simple : Nigel",
"Awards : RubenWardy",
"Mainmenu : RubenWardy (I have use Pr 5.0 Modify for 0.4)",
"SurfBoard : Archfan7411",
"Airboat : Paramat",
"DriftCar : Paramat",
"Spaceship : Paramat (Code) & SpaceShip'Model (Viktor Hahn )",
"Textures 16px : Peak (Since 1.46.4b)",
"Trampoline : hkzorman",
"Mobs mod : TenPlus1",
"Player Model : Quaternius (Human Low Poly / Since 1.53)",
"Player Model b3d : Kroukuk",
"Trees : Kenney.nl (Since 1.53)",
"Hdb Model (Homedecor) : Vanessa",
"Hovercraft : Stuart Jones ",
"HotAirBallons : Me Me and Me // mbb (Flying Carpet - Wuzzy)",
"ComboBlock : Pithydon",
"ComboBlock & ComboStair Model : Nathan (MinetestVideo)",
"Header and Logo : LMD, azekill_DIABLO & MrChiantos",
"Inventory Icons : Xenon (xenonca)",
2016-03-21 05:15:50 +01:00
}
local function buildCreditList(source)
local ret = {}
for i = 1, #source do
ret[i] = core.formspec_escape(source[i])
end
return table.concat(ret, ",,")
end
return {
2015-11-01 09:01:13 +01:00
name = "credits",
caption = fgettext("Credits"),
2016-03-21 05:15:50 +01:00
cbf_formspec = function(tabview, name, tabdata)
2019-07-19 16:11:54 +02:00
local logofile = defaulttexturedir .. "logo.png"
local version = core.get_version()
return "image[0.25,1;" .. core.formspec_escape(logofile) .. "]" ..
2016-03-21 05:15:50 +01:00
"tablecolumns[color;text]" ..
2019-07-19 16:11:54 +02:00
"tableoptions[background=#00000000;highlight=#00000000;border=false]" ..
2019-07-21 14:44:58 +02:00
"table[0,0;11.75,5.55;list_credits;" ..
2019-07-19 16:11:54 +02:00
"#FFFF00," .. fgettext("Engine") .. ",," ..
buildCreditList(engine) .. "," ..
",," ..
"#FFFF00," .. fgettext("Developers") .. ",," ..
buildCreditList(developers) .. "," ..
",," ..
"#FFFF00," .. fgettext("Contributors") .. ",," ..
buildCreditList(contributors) .. ","
..";1]"
2016-03-21 05:15:50 +01:00
end
}