From a41be6be6732db3c284330da836055960939f691 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 8 Aug 2007 21:11:29 +0000 Subject: Add the default DEICE install directories to the IWAD search path on Windows. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 952 --- src/d_iwad.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/d_iwad.c') 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 -- cgit v1.2.3