ref: a41be6be6732db3c284330da836055960939f691
parent: 502653b3669104e50bae507c74e6af451e485a59
author: Simon Howard <[email protected]>
date: Wed Aug 8 17:11:29 EDT 2007
Add the default DEICE install directories to the IWAD search path on Windows. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 952
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -307,7 +307,22 @@
}
}
+// 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
static struct
@@ -475,6 +490,7 @@
CheckUninstallStrings();
CheckCollectorsEdition();
CheckSteamEdition();
+ CheckDOSDefaults();
#else