2006-07-31 05:41:13 +00:00
|
|
|
/// \file
|
2006-07-31 06:04:44 +00:00
|
|
|
/// \brief Contains methods related to the build configuration
|
2006-07-31 05:41:13 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
2009-10-08 13:48:15 +00:00
|
|
|
#include "version.h"
|
2006-07-31 05:41:13 +00:00
|
|
|
#include "fceu.h"
|
2008-06-17 06:55:07 +00:00
|
|
|
#include "driver.h"
|
2010-09-19 00:00:38 +00:00
|
|
|
#include "utils/memory.h"
|
2006-07-31 05:41:13 +00:00
|
|
|
|
2013-04-13 02:52:13 +00:00
|
|
|
#include <cstring>
|
|
|
|
#include <cstdio>
|
|
|
|
#include <cstdlib>
|
|
|
|
|
2006-07-29 05:46:15 +00:00
|
|
|
static char *aboutString = 0;
|
|
|
|
|
2013-04-17 18:50:42 +00:00
|
|
|
// returns a string suitable for use in an aboutbox
|
2021-02-14 10:27:36 +00:00
|
|
|
const char *FCEUI_GetAboutString(void)
|
|
|
|
{
|
2012-10-21 16:40:04 +00:00
|
|
|
const char *aboutTemplate =
|
2013-04-17 18:50:42 +00:00
|
|
|
FCEU_NAME_AND_VERSION "\n\n"
|
2013-04-16 20:14:42 +00:00
|
|
|
"Administrators:\n"
|
2020-12-19 00:42:40 +00:00
|
|
|
"zeromus, mjbudd77, feos\n"
|
2015-09-10 21:05:34 +00:00
|
|
|
"\n"
|
2013-04-16 20:14:42 +00:00
|
|
|
"Current Contributors:\n"
|
2020-12-19 00:42:40 +00:00
|
|
|
"CaH4e3, rainwarrior, owomomo, punkrockguy318\n"
|
2015-09-10 21:05:34 +00:00
|
|
|
"\n"
|
|
|
|
"Past Contributors:\n"
|
2015-09-19 10:57:54 +00:00
|
|
|
"xhainingx, gocha, AnS\n"
|
2013-04-16 20:14:42 +00:00
|
|
|
"\n"
|
|
|
|
"FCEUX 2.0:\n"
|
2013-09-23 20:44:30 +00:00
|
|
|
"mz, nitsujrehtona, SP, Ugly Joe,\n"
|
|
|
|
"Plombo, qeed, QFox, Shinydoofy\n"
|
|
|
|
"ugetab, Acmlm, DWEdit\n"
|
2013-04-16 20:14:42 +00:00
|
|
|
"\n"
|
|
|
|
"Previous versions:\n"
|
|
|
|
"FCE - Bero\n"
|
|
|
|
"FCEU - Xodnizel\n"
|
|
|
|
"FCEU XD - Bbitmaster & Parasyte\n"
|
|
|
|
"FCEU XD SP - Sebastian Porst\n"
|
|
|
|
"FCEU MM - CaH4e3\n"
|
|
|
|
"FCEU TAS - blip & nitsuja\n"
|
|
|
|
"FCEU TAS+ - Luke Gustafson\n"
|
|
|
|
"\n"
|
2021-06-15 23:27:18 +00:00
|
|
|
"Logo/icon:\n"
|
|
|
|
"Terwilf\n"
|
|
|
|
"\n"
|
2013-04-16 20:14:42 +00:00
|
|
|
"FCEUX is dedicated to the fallen heroes\n"
|
|
|
|
"of NES emulation. In Memoriam --\n"
|
|
|
|
"ugetab\n"
|
|
|
|
"\n"
|
|
|
|
__TIME__ " " __DATE__ "\n";
|
2006-07-29 05:46:15 +00:00
|
|
|
|
2021-02-14 10:27:36 +00:00
|
|
|
if (aboutString) return aboutString;
|
2008-05-22 07:43:48 +00:00
|
|
|
|
2007-02-11 10:10:16 +00:00
|
|
|
const char *compilerString = FCEUD_GetCompilerString();
|
2006-07-29 05:46:15 +00:00
|
|
|
|
|
|
|
//allocate the string and concatenate the template with the compiler string
|
2010-09-19 00:00:38 +00:00
|
|
|
if (!(aboutString = (char*)FCEU_dmalloc(strlen(aboutTemplate) + strlen(compilerString) + 1)))
|
|
|
|
return NULL;
|
2012-10-21 16:40:04 +00:00
|
|
|
|
2021-02-14 10:27:36 +00:00
|
|
|
sprintf(aboutString,"%s%s",aboutTemplate,compilerString);
|
2006-07-29 05:46:15 +00:00
|
|
|
return aboutString;
|
2006-07-31 00:03:35 +00:00
|
|
|
}
|