From 013dc015d160e5090579f75f4b8a9b3d5acb7b52 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 27 Sep 2008 02:15:33 +0000 Subject: Split out startup banner code into common code; display copyright notice in Heretic. Subversion-branch: /branches/raven-branch Subversion-revision: 1295 --- src/doom/d_main.c | 32 +++----------------------------- 1 file changed, 3 insertions(+), 29 deletions(-) (limited to 'src/doom/d_main.c') diff --git a/src/doom/d_main.c b/src/doom/d_main.c index 67d4489d..3bc5bfe7 100644 --- a/src/doom/d_main.c +++ b/src/doom/d_main.c @@ -602,18 +602,6 @@ static boolean D_AddFile(char *filename) return handle != NULL; } -// Startup banner - -void PrintBanner(char *msg) -{ - int i; - int spaces = 35 - (strlen(msg) / 2); - - for (i=0; i= 0 || W_CheckNumForName("FF_END") >= 0) { - printf ("===========================================================================\n"); + I_PrintDivider(); printf(" WARNING: The loaded WAD file contains modified sprites or\n" " floor textures. You may want to use the '-merge' command\n" " line option instead of '-file'.\n"); } - - printf ("===========================================================================\n"); - - PrintBanner(gamedescription); - - - printf ( - "===========================================================================\n" - " " PACKAGE_NAME " is free software, covered by the GNU General Public\n" - " License. There is NO warranty; not even for MERCHANTABILITY or FITNESS\n" - " FOR A PARTICULAR PURPOSE. You are welcome to change and distribute\n" - " copies under certain conditions. See the source for more information.\n" - - "===========================================================================\n" - ); + I_PrintStartupBanner(gamedescription); PrintDehackedBanners(); printf (DEH_String("M_Init: Init miscellaneous info.\n")); -- cgit v1.2.3