foxygit / doom Log in
commit 5ac790ac6430c6b353909caf43194888f2d4adb3
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Sep 7 18:13:14 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Sep 7 18:13:14 2010 +0000

    Use strife1.wad as IWAD, and strife.cfg as the main config file (not
    default.cfg). Add banner string from strife1.exe and set appropriate
    name in title bar.

    Subversion-branch: /branches/strife-branch
    Subversion-revision: 2035
---
 src/strife/d_main.c | 70 ++++++-----------------------------------------------
 1 file changed, 8 insertions(+), 62 deletions(-)

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index ba0d8145..8dcbcf8c 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -644,34 +644,11 @@ void D_StartTitle (void)

 static char *banners[] =
 {
-    // doom1.wad
-    "                            "
-    "DOOM Shareware Startup v%i.%i"
-    "                           ",
-    // doom.wad
-    "                            "
-    "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"
-    "                        ",
-    // doom2.wad
-    "                         "
-    "DOOM 2: Hell on Earth v%i.%i"
-    "                           ",
-    // tnt.wad
-    "                     "
-    "DOOM 2: TNT - Evilution v%i.%i"
-    "                           ",
-    // plutonia.wad
-    "                   "
-    "DOOM 2: Plutonia Experiment v%i.%i"
-    "                           ",
+    // strife1.wad:
+
+    "                      "
+    "STRIFE:  Quest for the Sigil v1.31"
+    "                                 "
 };

 //
@@ -817,38 +794,7 @@ void DoTimeBomb(void)

 void D_SetGameDescription(void)
 {
-    gamedescription = "Unknown";
-
-    if (gamemission == doom)
-    {
-        // Doom 1.  But which version?
-
-        if (gamemode == retail)
-        {
-            // Ultimate Doom
-
-            gamedescription = GetGameName("The Ultimate DOOM");
-        }
-        else if (gamemode == registered)
-        {
-            gamedescription = GetGameName("DOOM Registered");
-        }
-        else if (gamemode == shareware)
-        {
-            gamedescription = GetGameName("DOOM Shareware");
-        }
-    }
-    else
-    {
-        // Doom 2 of some kind.  But which mission?
-
-        if (gamemission == doom2)
-            gamedescription = GetGameName("DOOM 2: Hell on Earth");
-        else if (gamemission == pack_plut)
-            gamedescription = GetGameName("DOOM 2: Plutonia Experiment");
-        else if (gamemission == pack_tnt)
-            gamedescription = GetGameName("DOOM 2: TNT - Evilution");
-    }
+    gamedescription = GetGameName("Strife: Quest for the Sigil");
 }

 static void SetSaveGameDir(char *iwad_filename)
@@ -1230,7 +1176,7 @@ void D_DoomMain (void)
     DEH_Init();
 #endif

-    iwadfile = D_FindIWAD(IWAD_MASK_DOOM, &gamemission);
+    iwadfile = D_FindIWAD(IWAD_MASK_STRIFE, &gamemission);

     // None found?

@@ -1362,7 +1308,7 @@ void D_DoomMain (void)
     // Load configuration files before initialising other subsystems.
     // haleyjd 08/22/2010: [STRIFE] - use strife.cfg
     printf(DEH_String("M_LoadDefaults: Load system defaults.\n"));
-    M_SetConfigFilenames("default.cfg", PROGRAM_PREFIX "strife.cfg");
+    M_SetConfigFilenames("strife.cfg", PROGRAM_PREFIX "strife.cfg");
     D_BindVariables();
     M_LoadDefaults();