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 {
|
|
|
|
|
|
|
|
/* Terry's Patrons... */
|
|
|
|
static const char* superpatrons[] = {
|
|
|
|
"Anders Ekermo",
|
|
|
|
"Andreas K|mper",
|
|
|
|
"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",
|
|
|
|
"Andreas J{rgensen",
|
|
|
|
"}ngel Louzao Penalva",
|
|
|
|
"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",
|
|
|
|
"Magnus P~lsson",
|
|
|
|
"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[] = {
|
|
|
|
"AlexApps99",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Allison Fleischer",
|
2020-09-25 19:35:03 +02:00
|
|
|
"AllyTally",
|
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",
|
|
|
|
"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",
|
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",
|
2021-08-24 18:37:36 +02:00
|
|
|
"Keith Stellyes",
|
2021-08-24 18:16:34 +02:00
|
|
|
"KyoZM",
|
2021-08-24 18:37:36 +02:00
|
|
|
"leo60228",
|
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",
|
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
|
|
|
"Remi Verschelde", // TODO: Change to "Rémi" if/when UTF-8 support is added
|
2021-08-24 18:37:36 +02:00
|
|
|
"Thomas S|nger",
|
|
|
|
"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",
|
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. */
|
2021-08-24 18:24:20 +02:00
|
|
|
static const int creditmaxposition = 1040 + (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)
|
|
|
|
));
|
|
|
|
|
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 */
|