Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
#ifndef CREDITS_H
|
|
|
|
#define CREDITS_H
|
|
|
|
|
|
|
|
#include <SDL.h>
|
|
|
|
|
|
|
|
namespace Credits {
|
|
|
|
|
2023-11-28 20:43:04 +01:00
|
|
|
/* Translators list; lines prefaced with a space aren't translatable */
|
|
|
|
static const char* translators[] = {
|
2024-01-04 16:29:01 +01:00
|
|
|
"Arabic",
|
2024-01-17 15:59:16 +01:00
|
|
|
" Eternal Dream Arabization",
|
2024-01-04 16:29:01 +01:00
|
|
|
" Montassar Ghanmi",
|
|
|
|
" Mohammed Seif Eddine Chaib",
|
2023-11-28 20:43:04 +01:00
|
|
|
"Catalan",
|
|
|
|
" Eduard Ereza Martínez",
|
|
|
|
"Welsh",
|
|
|
|
" Morgan Roberts",
|
|
|
|
"German",
|
|
|
|
" Thomas Faust",
|
|
|
|
"Esperanto",
|
|
|
|
" Reese Rivers",
|
2024-02-01 20:23:39 +01:00
|
|
|
"Spanish (ES)",
|
2023-11-28 20:43:04 +01:00
|
|
|
" Felipe Mercader",
|
|
|
|
" Sara Marín",
|
2024-02-01 20:23:39 +01:00
|
|
|
"Spanish (LATAM)",
|
|
|
|
" LocQuest",
|
|
|
|
" Guido Di Carlo",
|
|
|
|
"Spanish (ARG.)",
|
|
|
|
" LocQuest",
|
|
|
|
" Guido Di Carlo",
|
2023-11-28 20:43:04 +01:00
|
|
|
"French",
|
|
|
|
" Words of Magic",
|
|
|
|
"Irish",
|
|
|
|
" Úna-Minh Kavanagh",
|
|
|
|
" Seaghán Ó Modhráin",
|
|
|
|
" Davis Sandefur",
|
|
|
|
"Italian",
|
2023-12-12 10:22:44 +01:00
|
|
|
" gloc.team",
|
|
|
|
" Alain Dellepiane",
|
|
|
|
" Matteo Scarabelli",
|
|
|
|
" Lorenzo Bertolucci",
|
|
|
|
" Fabio Bortolotti",
|
2023-11-28 20:43:04 +01:00
|
|
|
"Japanese",
|
|
|
|
" Nicalis, Inc.",
|
|
|
|
" KabanFriends",
|
|
|
|
"Korean",
|
|
|
|
" Bada Im",
|
|
|
|
" Hyungseok Cho",
|
|
|
|
"Dutch",
|
|
|
|
" Dav999",
|
|
|
|
"Polish",
|
|
|
|
" Kuba Kallus",
|
|
|
|
"Brazilian Portuguese",
|
2024-02-02 17:37:23 +01:00
|
|
|
">Translators",
|
|
|
|
" Lucas Araujo",
|
|
|
|
" Thiago Araujo",
|
|
|
|
">Editing and LQA",
|
|
|
|
" Ivan Lopes",
|
|
|
|
" Lucas Nunes",
|
2023-11-28 20:43:04 +01:00
|
|
|
"European Portuguese",
|
|
|
|
" Locsmiths",
|
|
|
|
"Russian",
|
|
|
|
" TheMysticSword",
|
|
|
|
"Silesian",
|
|
|
|
" Kuba Kallus",
|
|
|
|
"Turkish",
|
|
|
|
" Engin İlkiz",
|
|
|
|
"Ukrainian",
|
|
|
|
" Olya Sushytska",
|
|
|
|
"Chinese (Simplified)",
|
|
|
|
" Sound of Mystery",
|
|
|
|
"Chinese (Traditional)",
|
|
|
|
" Sound of Mystery / craft",
|
|
|
|
};
|
|
|
|
|
2023-12-06 00:34:05 +01:00
|
|
|
/* Hardcoded pagesizes for the translator credits. Simplifies paging backwards and forwards */
|
2024-02-02 17:37:23 +01:00
|
|
|
static const int translator_pagesize[] = { 6, 6, 9, 12, 10, 11, 10 };
|
2023-12-06 00:34:05 +01:00
|
|
|
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
/* Terry's Patrons... */
|
|
|
|
static const char* superpatrons[] = {
|
|
|
|
"Anders Ekermo",
|
2022-12-30 23:05:42 +01:00
|
|
|
"Andreas Kämper",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Anthony Burch",
|
|
|
|
"Bennett Foddy",
|
|
|
|
"Brendan O'Sullivan",
|
|
|
|
"Christopher Armstrong",
|
|
|
|
"Daniel Benmergui",
|
|
|
|
"David Pittman",
|
|
|
|
"Ian Bogost",
|
|
|
|
"Ian Poma",
|
|
|
|
"Jaz McDougall",
|
|
|
|
"John Faulkenbury",
|
|
|
|
"Jonathan Whiting",
|
|
|
|
"Kyle Pulver",
|
|
|
|
"Markus Persson",
|
|
|
|
"Nathan Ostgard",
|
|
|
|
"Nick Easler",
|
|
|
|
"Stephen Lavelle",
|
|
|
|
};
|
|
|
|
|
|
|
|
static const char* patrons[] = {
|
|
|
|
"Adam Wendt",
|
2022-12-30 23:05:42 +01:00
|
|
|
"Andreas Jörgensen",
|
|
|
|
"Ángel Louzao Penalva",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Ashley Burton",
|
|
|
|
"Aubrey Hesselgren",
|
|
|
|
"Bradley Rose",
|
|
|
|
"Brendan Urquhart",
|
|
|
|
"Chris Ayotte",
|
|
|
|
"Christopher Zamanillo",
|
|
|
|
"Daniel Schuller",
|
|
|
|
"Hybrid Mind Studios",
|
|
|
|
"Emilie McGinley",
|
|
|
|
"Francisco Solares",
|
|
|
|
"Hal Helms",
|
|
|
|
"Hayden Scott-Baron",
|
|
|
|
"Hermit Games",
|
|
|
|
"Ido Yehieli",
|
|
|
|
"Jade Vault Games",
|
|
|
|
"James Andrews",
|
|
|
|
"James Riley",
|
|
|
|
"James Hsieh",
|
|
|
|
"Jasper Byrne",
|
|
|
|
"Jedediah Baker",
|
|
|
|
"Jens Bergensten",
|
|
|
|
"Jeremy J. Penner",
|
|
|
|
"Jeremy Peterson",
|
|
|
|
"Jim McGinley",
|
|
|
|
"Jonathan Cartwright",
|
|
|
|
"John Nesky",
|
|
|
|
"Jos Yule",
|
|
|
|
"Jose Flores",
|
|
|
|
"Josh Bizeau",
|
|
|
|
"Joshua Buergel",
|
|
|
|
"Joshua Hochner",
|
|
|
|
"Kurt Ostfeld",
|
2022-12-30 23:05:42 +01:00
|
|
|
"Magnus Pålsson",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Mark Neschadimenko",
|
|
|
|
"Matt Antonellis",
|
|
|
|
"Matthew Reppert",
|
|
|
|
"Michael Falkensteiner",
|
|
|
|
"Michael Vendittelli",
|
|
|
|
"Mike Kasprzak",
|
|
|
|
"Mitchel Stein",
|
|
|
|
"Sean Murray",
|
|
|
|
"Simon Michael",
|
|
|
|
"Simon Schmid",
|
|
|
|
"Stephen Maxwell",
|
|
|
|
"Swing Swing Submarine",
|
|
|
|
"Tam Toucan",
|
|
|
|
"Terry Dooher",
|
|
|
|
"Tim W.",
|
|
|
|
"Timothy Bragan",
|
|
|
|
};
|
|
|
|
|
2021-09-01 08:19:25 +02:00
|
|
|
/* CONTRIBUTORS.txt, again listed alphabetically (according to `sort`) by first name
|
|
|
|
* Misa is special; she gets to be listed in C++ credits alongside Ethan */
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
static const char* githubfriends[] = {
|
2023-01-07 19:28:07 +01:00
|
|
|
"Alexandra Fox",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"AlexApps99",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Allison Fleischer",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Brian Callahan",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Charlie Bruce",
|
2022-12-30 23:05:42 +01:00
|
|
|
"Christoph Böhmwalder",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Daniel Lee",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Dav999",
|
|
|
|
"Elijah Stone",
|
|
|
|
"Elliott Saltar",
|
|
|
|
"Emmanuel Vadot",
|
2022-11-30 20:22:50 +01:00
|
|
|
"fraZ0R",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Fredrik Ljungdahl",
|
2023-02-21 21:27:50 +01:00
|
|
|
"iliana etaoin",
|
2023-02-21 21:28:57 +01:00
|
|
|
"Jules de Sartiges",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Keith Stellyes",
|
2021-08-24 18:16:34 +02:00
|
|
|
"KyoZM",
|
2024-05-22 05:52:34 +02:00
|
|
|
"leo vriska",
|
2020-09-15 02:34:12 +02:00
|
|
|
"MAO3J1m0Op",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Malte Grimm",
|
|
|
|
"Marvin Scholz",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Matt Penny",
|
2021-08-20 02:17:36 +02:00
|
|
|
"mothbeanie",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Nichole Mattera",
|
2021-03-31 05:08:25 +02:00
|
|
|
"Pierre-Alain TORET",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Reese Rivers",
|
2022-12-30 23:05:42 +01:00
|
|
|
"Rémi Verschelde",
|
2024-01-16 12:05:14 +01:00
|
|
|
"SnDream",
|
2024-01-13 15:47:09 +01:00
|
|
|
"Space-G",
|
2022-12-30 23:05:42 +01:00
|
|
|
"Thomas Sänger",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Tynan Richards",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
"Wouter",
|
2021-08-24 18:37:36 +02:00
|
|
|
"viri",
|
2021-08-24 18:20:05 +02:00
|
|
|
"Vittorio Romeo",
|
2022-02-14 21:34:07 +01:00
|
|
|
"Yussur Mustafa Oraji",
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Calculate credits length, finally. */
|
2023-12-06 00:34:05 +01:00
|
|
|
static const int creditmaxposition = 1348 + (10 * (
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
SDL_arraysize(superpatrons) + SDL_arraysize(patrons) + SDL_arraysize(githubfriends)
|
2023-11-28 20:43:04 +01:00
|
|
|
)) + (12 * SDL_arraysize(translators));
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
|
2021-04-15 07:00:58 +02:00
|
|
|
} /* namespace Credits */
|
Turn (super)patrons/githubfriends into arrays & move them to new file
So, originally, I wanted to keep them on Game, but it turns out that if
I initialize it in Game.cpp, the compiler will complain that other files
won't know what's actually inside the array. To do that, I'd have to
initialize it in Game.h. But I don't want to initialize it in Game.h
because that'd mean recompiling a lot of unnecessary files whenever
someone gets added to the credits.
So, I moved all the patrons, superpatrons, and GitHub contributors to a
new file, Credits.h, which only contains the list (and the credits max
position calculation). That way, whenever someone gets added, only the
minimal amount of files need to be recompiled.
2020-07-03 12:13:15 +02:00
|
|
|
|
|
|
|
#endif /* CREDITS_H */
|