Debian Codegraph @

scripts/menus/credits.lua

raw
1 -- ____ _ __
2 -- / __ )____ _____ | | / /___ ___________
3 -- / __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
4 -- / /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
5 -- /_____/\____/____/ |__/|__/\__,_/_/ /____/
6 --
7 -- A futuristic real-time strategy game.
8 -- This file is part of Bos Wars.
9 --
10 -- credits.lua - Credits menu.
11 --
12 -- (c) Copyright 2005-2013 by Francois Beerten
13 --
14 -- This program is free software; you can redistribute it and/or modify
15 -- it under the terms of the GNU General Public License as published by
16 -- the Free Software Foundation; only version 2 of the License.
17 --
18 -- This program is distributed in the hope that it will be useful,
19 -- but WITHOUT ANY WARRANTY; without even the implied warranty of
20 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 -- GNU General Public License for more details.
22 --
23 -- You should have received a copy of the GNU General Public License
24 -- along with this program; if not, write to the Free Software
25 -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
26 -- 02111-1307, USA.
27 --
28 -- $Id: guichan.lua 304 2005-12-18 13:13:15Z feb $
29
30 function RunCreditsMenu(s)
31 local menu
32 local b
33
34 local credits
35 credits = {
36 _("Graphics:"),
37 " Tina Petersen Jensen",
38 " Soeren Soendergaard Jensen",
39 " TimberDragon",
40 " Frank Loeffler",
41 " Francois Beerten",
42 "",
43 _("Scripting:"),
44 " Francois Beerten",
45 " Lois Taulelle",
46 "",
47 _("Maps and campaigns:"),
48 " Michiel van der Wulp",
49 " Connor MacKay",
50 " Lois Taulelle",
51 " Francois Beerten",
52 "",
53 _("Sound:"),
54 " Tina Petersen",
55 " Brian Pedersen",
56 " ",
57 _("Engine Programmers:"),
58 " Andreas 'Ari' Arens",
59 " Lutz 'Johns' Sammer",
60 " Edgar 'Froese' Toernig",
61 " Jimmy Salmon",
62 " Nehal Mistry",
63 " Kalle Olavi Niemitalo",
64 " Russell Smith",
65 " Francois Beerten",
66 " Joris Dauphin",
67 " Mark Pazolli",
68 " Valery Shchedrin",
69 " Iftikhar Rathore",
70 " Charles K Hardin",
71 " Fabrice Rossi",
72 " DigiCat",
73 " Josh Cogliati",
74 " Patrick Mullen",
75 " Vladi Belperchinov-Shabanski",
76 " Cris Daniluk",
77 " Patrice Fortier",
78 " FT Rathore",
79 " Trent Piepho",
80 " Jon Gabrielson",
81 " Lukas Hejtmanek",
82 " Steinar Hamre",
83 " Ian Farmer",
84 " Sebastian Drews",
85 " Jarek Sobieszek",
86 " Anthony Towns",
87 " Stefan Dirsch",
88 " Al Koskelin",
89 " George J. Carrette",
90 " Dirk 'Guardian' Richartz",
91 " Michael O'Reilly",
92 " Dan Hensley",
93 " Sean McMillian",
94 " Mike Earl",
95 " Ian Turner",
96 " David Slimp",
97 " Iuri Fiedoruk",
98 " Luke Mauldin",
99 " Nathan Adams",
100 " Stephan Rasenberger",
101 " Dave Reed",
102 " Josef Spillner",
103 " James Dessart",
104 " Jan Uerpmann",
105 " Aaron Berger",
106 " Latimerius",
107 " Antonis Chaniotis",
108 " Samuel Hays",
109 " David Martinez Moreno",
110 " Flavio Silvestrow",
111 " Daniel Burrows",
112 " Dave Turner",
113 " Ben Hines",
114 " Kachalov Anton",
115 " ",
116 _("Patches"),
117 " Martin Renold",
118 " Martin Hajduch",
119 " Jeff Binder",
120 " Ludovic",
121 " Juan Pablo",
122 " Phil Hannent",
123 " Alexander MacLean",
124 "",
125 _("Stratagus Media Project Graphics"),
126 " Paolo D'Inca", -- green_cross.png
127 " Rick Elliot", -- cursor arrows
128 "",
129 "",
130 _("The Bos Wars Team thanks"),
131 _("everybody who has contributed"),
132 _("patches, bug reports, ideas.")
133 }
134
135 menu = BosMenu(_("Bos Wars Credits"))
136
137 local sw = ScrollingWidget(400, Video.Height * 12 / 20)
138 menu:add(sw, Video.Width / 2 - 200, Video.Height / 20 * 3)
139 sw:setBackgroundColor(dark)
140 sw:setActionCallback(function() sw:restart() end)
141 for i,f in ipairs(credits) do
142 sw:add(Label(f), 50, 20 * i + 50)
143 end
144
145 menu:addButton(_("Main Menu (~<Esc~>)"), Video.Width / 2 - 100,
146 Video.Height - 100, function() menu:stop() end)
147
148 menu:run()
149 end
150