Browse Source

Implement Hellfire credit screen

pull/882/head
Anders Jenbo 6 years ago
parent
commit
1b69f1f5eb
  1. 5
      SourceX/DiabloUI/credits.cpp
  2. 94
      SourceX/DiabloUI/credits_lines.cpp

5
SourceX/DiabloUI/credits.cpp

@ -60,7 +60,7 @@ SDL_Surface *RenderText(const char *text, SDL_Color color)
CachedLine PrepareLine(std::size_t index)
{
const char *contents = CREDITS_LINES[index];
if (contents[0] == '\t')
while (contents[0] == '\t')
++contents;
const SDL_Color shadow_color = { 0, 0, 0, 0 };
@ -181,7 +181,8 @@ void CreditsRenderer::Render()
}
Sint16 dest_x = PANEL_LEFT + VIEWPORT.x + 31;
if (CREDITS_LINES[line.m_index][0] == '\t')
int j = 0;
while (CREDITS_LINES[line.m_index][j++] == '\t')
dest_x += 40;
SDL_Rect dst_rect = { dest_x, dest_y, 0, 0 };

94
SourceX/DiabloUI/credits_lines.cpp

@ -3,6 +3,99 @@
namespace dvl {
const char *const CREDITS_LINES[] = {
#ifdef HELLFIRE
" Synergistic Software",
"",
"General Manager",
" Bob Clardy",
"",
"Lead Programmer",
" Donald Tsang",
"",
"Software Engineering",
" Jim Edwards, Gary Powell, D'Andre Pritchett",
"",
"Art Director",
" Kirt Lemons",
"",
"Artists",
" Darren Lamb, Mike McMillen,",
" Jason Robertson, Peter Watje",
"",
"Design",
" Kirt Lemons, Donald Tsang, Peter Watje",
" Jim Edwards, Mike McMillen",
"",
"Additional Design",
" Michael Ormsby",
"",
"Sound Design, SFX & Audio Engineering",
" Craig Utterback",
"",
"Quality Assurance Lead",
" Mona Branham",
"",
"Testers",
" Chris Barker, Steve Chin, Derek Clardy, Conor Durdy,",
" Amy Edwards, Greg Hightower, Tim Jensen, Jeremy Jones,",
" John Lang, Daudi Pritchett, Doug Van Horne, Gordon Wilcox",
"",
"Manual",
" Suzanne David, Linda Westerfield,",
" Ann Dickens Clardy, Kirt Lemons",
"",
"Voices",
" Jim Edwards, Paul Eiding, Eve Forward,",
" Mackenzie Powell, Rodney Sherwood, Craig Utterback",
"",
"",
" Additional Work",
"",
"Quest Text Writing",
" Eve Forward",
"",
"Thanks to",
" Trisha Durdy, Dustin Freeman, D'Andre Pritchett",
"",
"",
"",
" Special Thanks to Blizzard Entertainment",
"",
"",
"",
"",
" Sierra On-Line Inc. Northwest",
"",
"Quality Assurance Manager",
" Gary Stevens",
"",
"Quality Assurance Lead Tester",
" Bernadette Pryor",
"",
"Main Testers",
" Erik Johnson, David Lee, Kristofer Hall",
"",
"Additional Testers",
" Cade Myers, Jeff Ingham, Phil Kuhlmey,",
" Eric Gelfand, Mark Wyman, Torsten Reinl,",
" Erinn Hamilton",
"",
"Product Marketing Manager",
" Eddie Ranchigoda",
"",
"Public Relations Manager",
" Eric Twelker",
"",
"Associate Product Manager",
" Joe Roth",
"",
"Thanks to",
" Cindy Vanous, Joshua Bentley, Robert Zimmerman, Robert Jerauld,",
" Dennis Ham, Andrea Stone, Beth Quintana, Jennifer Keenan, Gary Brown,",
" Ken Eaton, Matt Eslick, Kate Powell, Bryon Mcpherson, David Beetlestone",
"",
""
#else
"Game Design",
" Blizzard North",
"",
@ -458,6 +551,7 @@ const char *const CREDITS_LINES[] = {
" ",
" ",
" "
#endif
};
const std::size_t CREDITS_LINES_SIZE = sizeof(CREDITS_LINES) / sizeof(CREDITS_LINES[0]);

Loading…
Cancel
Save