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/i_system.c | 52 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 40 insertions(+), 12 deletions(-) (limited to 'src/i_system.c') diff --git a/src/i_system.c b/src/i_system.c index 034d831a..77c06436 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -38,6 +38,8 @@ #include #endif +#include "config.h" + #include "deh_str.h" #include "doomtype.h" #include "m_argv.h" @@ -119,6 +121,44 @@ byte *I_ZoneBase (int *size) return zonemem; } +void I_PrintBanner(char *msg) +{ + int i; + int spaces = 35 - (strlen(msg) / 2); + + for (i=0; inext; } - /* - if (demorecording) - { - G_CheckDemoStatus(); - } - - D_QuitNetGame (); - I_ShutdownGraphics(); - S_Shutdown(); - */ - #ifdef _WIN32 // On Windows, pop up a dialog box with the error message. { -- cgit v1.2.3