summaryrefslogtreecommitdiff
path: root/src/strife/d_main.c
diff options
context:
space:
mode:
authorSimon Howard2010-09-07 18:13:14 +0000
committerSimon Howard2010-09-07 18:13:14 +0000
commit5ac790ac6430c6b353909caf43194888f2d4adb3 (patch)
tree7ade129ef062eeee6c7256537263f69f7582046a /src/strife/d_main.c
parent2e972bf61670cfad176de8abdd1808cb72ea2a81 (diff)
downloadchocolate-doom-5ac790ac6430c6b353909caf43194888f2d4adb3.tar.gz
chocolate-doom-5ac790ac6430c6b353909caf43194888f2d4adb3.tar.bz2
chocolate-doom-5ac790ac6430c6b353909caf43194888f2d4adb3.zip
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
Diffstat (limited to 'src/strife/d_main.c')
-rw-r--r--src/strife/d_main.c70
1 files 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();