diff options
author | Simon Howard | 2007-08-08 21:11:29 +0000 |
---|---|---|
committer | Simon Howard | 2007-08-08 21:11:29 +0000 |
commit | a41be6be6732db3c284330da836055960939f691 (patch) | |
tree | e151bd6b7eb4d69794e41d9f8f17165648fa9095 /src/d_iwad.c | |
parent | 502653b3669104e50bae507c74e6af451e485a59 (diff) | |
download | chocolate-doom-a41be6be6732db3c284330da836055960939f691.tar.gz chocolate-doom-a41be6be6732db3c284330da836055960939f691.tar.bz2 chocolate-doom-a41be6be6732db3c284330da836055960939f691.zip |
Add the default DEICE install directories to the IWAD search path on
Windows.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 952
Diffstat (limited to 'src/d_iwad.c')
-rw-r--r-- | src/d_iwad.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/d_iwad.c b/src/d_iwad.c index 8a26454c..b37b8376 100644 --- a/src/d_iwad.c +++ b/src/d_iwad.c @@ -307,6 +307,21 @@ static void CheckSteamEdition(void) } } +// Default install directories for DOS Doom + +static void CheckDOSDefaults(void) +{ + // These are the default install directories used by the deice + // installer program: + + AddIWADDir("\\doom2"); // Doom II + AddIWADDir("\\plutonia"); // Final Doom + AddIWADDir("\\tnt"); + AddIWADDir("\\doom_se"); // Ultimate Doom + AddIWADDir("\\doom"); // Shareware / Registered Doom + AddIWADDir("\\dooms"); // Shareware versions + AddIWADDir("\\doomsw"); +} #endif @@ -475,6 +490,7 @@ static void BuildIWADDirList(void) CheckUninstallStrings(); CheckCollectorsEdition(); CheckSteamEdition(); + CheckDOSDefaults(); #else |