forked from Andrettin/Wyrmsun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcredits.lua
283 lines (274 loc) · 6.88 KB
/
credits.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
-- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
-- \/ \/ \//_____/ \/
-- ______________________ ______________________
-- T H E W A R B E G I N S
-- Stratagus - A free fantasy real time strategy game engine
--
-- credits.lua - Define the menu for credits.
--
-- (c) Copyright 2015 by Andrettin
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 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 General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--
function RunShowCreditsMenu()
local menu = WarMenu(nil, GetBackground("ui/backgrounds/wyrm.png"))
local offx = (Video.Width - 640) / 2
local offy = (Video.Height - 480) / 2
if (wyr.preferences.EnableOAML) then
SetMusicCondition(10, 1)
end
local credits = {
_("Wyrmsun Design and Maintenance"),
" Andrettin",
_("Programming and Scripting"),
" Andrettin",
" cybermind",
" Francois Beerten",
" Jimmy Salmon",
" Joris Dauphin",
" Nehal Mistry",
" Pali Rohar",
" Russell Smith",
" a-detiste",
" Akien",
" Chris Beck (iceiceice)",
" DinkyDyeAussie",
" Dmitry Marakasov",
" marcelofg55",
" Spfnym",
" Szunti",
" Martin Renold",
" Carlos Perello Marin",
" Pludov",
" Andreas 'Ari' Arens",
" Lutz 'Johns' Sammer",
" Edgar 'Froese' Toernig",
" Crestez Leonard",
" Mark Pazolli",
" Valery Shchedrin",
" Iftikhar Rathore",
" Charles K Hardin",
" Fabrice Rossi",
" DigiCat",
" Josh Cogliati",
" Patrick Mullen",
" Vladi Belperchinov-Shabanski",
" Cris Daniluk",
" Patrice Fortier",
" FT Rathore",
" Trent Piepho",
" Jon Gabrielson",
" Lukas Hejtmanek",
" Steinar Hamre",
" Ian Farmer",
" Sebastian Drews",
" Jarek Sobieszek",
" Anthony Towns",
" Stefan Dirsch",
" Al Koskelin",
" George J. Carrette",
" Dirk 'Guardian' Richartz",
" Michael O'Reilly",
" Dan Hensley",
" Sean McMillian",
" Mike Earl",
" Ian Turner",
" David Slimp",
" Iuri Fiedoruk",
" Luke Mauldin",
" Nathan Adams",
" Stephan Rasenberger",
" Dave Reed",
" Josef Spillner",
" James Dessart",
" Jan Uerpmann",
" Aaron Berger",
" Latimerius",
" Antonis Chaniotis",
" Samuel Hays",
" David Martinez Moreno",
" Flavio Silvestrow",
" Daniel Burrows",
" Dave Turner",
" Ben Hines",
" Kachalov Anton",
" Martin Hajduch",
" Jeff Binder",
" Ludovic",
" Juan Pablo",
" Phil Hannent",
" Alexander MacLean",
_("Graphics and Artwork"),
" b_o",
" João Victor G. Costa (Jinn)",
" Leo",
" Tanja Nov.",
" 2D-Retroperspectives",
" badbuckle (Cenk Açan)",
" Battle for Wesnoth Team",
" Brian Brickwagon Jennings",
" Cuzco",
" Elvish_Hunter",
" Emilien Rotival (LordBob)",
" Francois Beerten",
" Frank Loeffler",
" igoku",
" J. W. Bjerk (eleazzaar)",
" Jim16",
" KPJ",
" Mikodrak",
" Nikita_Sadkov",
" Oray Studios",
" Paolo D'Inca",
" Ransom.00",
" Rick Elliot",
" Soeren Soendergaard Jensen",
" StumpyStrust",
" TaShadan",
" Tina Petersen Jensen",
" TimberDragon",
" Vladislav \"iDreamRunner\"",
_("Sound Effects"),
" b_o",
" Battle for Wesnoth Team",
" Brian Brickwagon Jennings",
" Corey Woodworth (woodwizzle)",
" David Slimp",
" J. W. Bjerk (eleazzaar)",
" Jute",
" Lari Nieminen (zookeeper)",
" Manuel Senfft",
" TinyWorlds",
" Wildfire Games",
" Wolfgang Kohler",
_("Music"),
" bart",
" Battle for Wesnoth Team",
" cynicmusic",
" Écrivain",
" yd",
" Aleksi Aubry-Carlson (Aleksi)",
" Doug Kaufman (dkaufman)",
" Gianmarco Leone (gmlion)",
" Jeremy Nicoll (jeremy2/eltiare)",
" Joseph G. Toscano (ZhayTee)",
" Mattias Westlund (West)",
" Ryan Reilly (Rain)",
" Timothy Pinkham (TimothyP)",
_("Maps"),
" Battle for Wesnoth Team",
" David White (Sirp)",
" Dyson Logos", -- The Tomb of Durahn Oakenshield map
" Eric S. Raymond (ESR)", -- Northern Rebirth maps and scenarios
" GM1530",
" John Ericson",
" Joseph Simmons (turin)",
" Kyran Jackson",
" Lari Nieminen (zookeeper)",
" Martin McMahon",
" Mathieu Roy",
" Miguel Farah F.",
" Paolo Sammicheli",
" Rob Best",
" Taurus", -- Northern Rebirth maps and scenarios
_("Events and Quests"),
" Andrettin",
" Battle for Wesnoth Team",
" Asa Swain",
" Joseph Simmons (turin)",
" Lari Nieminen (zookeeper)",
" Piotr Cychowski (Mist/cycholka)",
_("Encyclopedia"),
" Andrettin",
" Battle for Wesnoth Team",
_("Historical and Mythological Research"),
" Andrettin",
" b_o",
" Galaahd",
" Rey",
_("Translation"),
" Dmitry Shamshurin",
_("Testing"),
" Andrettin",
" b_o",
" cybermind",
" Dinomaniak",
" Ferk",
" Jeff",
" João Victor G. Costa (Jinn)",
" KPJ",
" KroArtem",
" Kyran",
" Leo",
" Little Luigi",
" Mladen Milovanović",
" paipan",
" pirro",
" Spfnym",
" Szunti",
" TaShadan",
" X3M",
" zenorogue",
"",
_("Code used:"),
" SDL Copyright by Sam Lantinga",
" ZLIB Copyright by Jean-loup Gailly and Mark Adler",
" BZ2LIB Copyright by Julian Seward",
" PNG Copyright by Glenn Randers-Pehrson",
" OGG/Vorbis Copyright by Xiph.org Foundation",
" Theora codec Copyright by Xiph.org Foundation.",
" Guichan Copyright by Per Larsson and Olof Naessen",
" tolua++ Copyright by Codenix",
"",
"",
"The Stratagus Team thanks all the people who have contributed",
"patches, bug reports, and ideas.",
"",
wyrmsun.Name .. " Homepage: ", wyrmsun.Homepage,
"Stratagus Homepage: ", GetStratagusHomepage(),
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
}
local sw = ScrollingWidget(328, 275)
menu:add(sw, offx + 140, offy + 80)
sw:setBackgroundColor(Color(0,0,0,0))
sw:setActionCallback(function() sw:restart() end)
for i,f in ipairs(credits) do
sw:add(Label(f), 0, 24 * (i - 1) + 275)
end
menu:addHalfButton(_("~!Continue"), "c", offx + 455, offy + 440,
function() menu:stop() end)
local speed = GetGameSpeed()
SetGameSpeed(30)
menu:run()
SetGameSpeed(speed)
if (wyr.preferences.EnableOAML) then
SetMusicCondition(10, 0)
end
end