shithub: choc

Download patch

ref: c1de8d063ea798f0d0bfbd126e7a61a3bfdb873c
parent: f9d08985de6d73e56f7acd86aa37628b66b7265a
author: Simon Howard <fraggle@gmail.com>
date: Sat Oct 8 20:20:24 EDT 2005

Detect registered DOOM banner in dehacked patches

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 178

--- a/src/d_main.c
+++ b/src/d_main.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*- 
 //-----------------------------------------------------------------------------
 //
-// $Id: d_main.c 176 2005-10-08 21:01:55Z fraggle $
+// $Id: d_main.c 178 2005-10-09 00:20:24Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -22,6 +22,9 @@
 // 02111-1307, USA.
 //
 // $Log$
+// Revision 1.23  2005/10/09 00:20:24  fraggle
+// Detect registered DOOM banner in dehacked patches
+//
 // Revision 1.22  2005/10/08 21:01:55  fraggle
 // Change dehacked startup message
 //
@@ -109,7 +112,7 @@
 //-----------------------------------------------------------------------------
 
 
-static const char rcsid[] = "$Id: d_main.c 176 2005-10-08 21:01:55Z fraggle $";
+static const char rcsid[] = "$Id: d_main.c 178 2005-10-09 00:20:24Z fraggle $";
 
 #define	BGCOLOR		7
 #define	FGCOLOR		8
@@ -768,6 +771,9 @@
 }
 
 // Strings for dehacked replacements of the startup banner
+//
+// These are from the original source: some of them are perhaps
+// not used in any dehacked patches
 
 static char *banners[] = 
 {
@@ -779,6 +785,10 @@
     "                            "
     "DOOM Registered Startup v%i.%i"
     "                           ",
+    // Registered DOOM uses this
+    "                          "
+    "DOOM System Startup v%i.%i"
+    "                          ",
     // doom.wad (Ultimate DOOM)
     "                         "
     "The Ultimate DOOM Startup v%i.%i"