1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00
VVVVVV/desktop_version/src/Credits.h
AllyTally 19b2a317f1 Move from surfaces to the SDL render system
Ever since VVVVVV was initially ported to C++ in 2.0, it has used surfaces from SDL. The downside is, that's all software rendering. This commit moves most things off of surfaces, and all into GPU, by using textures and SDL_Renderer.

Pixel-perfect collision has been kept by keeping a copy of sprites as surfaces. There's plans for pixel-perfect collision to use masks instead of reading pixel data directly, but that's out of scope for this commit.

- `graphics.reloadresources()` is now called later in `main`, because textures cannot be created without a renderer.

- This commit also removes a bunch of surface functions which are no longer needed.

- This also recaches target textures in certain places for d3d9.

- graphics.images was converted to a fixed-size array.

- fillbox and fillboxabs use SDL_RenderDrawRect instead of drawing an outline using four filled rectangles

- Update my name in the credits
2023-01-28 14:36:28 -08:00

129 lines
2.7 KiB
C++

#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",
};
/* CONTRIBUTORS.txt, again listed alphabetically (according to `sort`) by first name
* Misa is special; she gets to be listed in C++ credits alongside Ethan */
static const char* githubfriends[] = {
"Alexandra Fox",
"AlexApps99",
"Allison Fleischer",
"Brian Callahan",
"Charlie Bruce",
"Christoph Böhmwalder",
"Daniel Lee",
"Dav999",
"Elijah Stone",
"Elliott Saltar",
"Emmanuel Vadot",
"fraZ0R",
"Fredrik Ljungdahl",
"Keith Stellyes",
"KyoZM",
"leo60228",
"MAO3J1m0Op",
"Malte Grimm",
"Marvin Scholz",
"Matt Penny",
"mothbeanie",
"Nichole Mattera",
"Pierre-Alain TORET",
"Reese Rivers",
"Rémi Verschelde",
"Thomas Sänger",
"Tynan Richards",
"Wouter",
"viri",
"Vittorio Romeo",
"Yussur Mustafa Oraji",
};
/* Calculate credits length, finally. */
static const int creditmaxposition = 1068 + (10 * (
SDL_arraysize(superpatrons) + SDL_arraysize(patrons) + SDL_arraysize(githubfriends)
));
} /* namespace Credits */
#endif /* CREDITS_H */