shithub: choc

Download patch

ref: 49ce3adaa76e2c80e264a640a5d812a3898df106
parent: ca81c110bc8c5821b448830cf848a5acb74979bf
author: Mike Swanson <[email protected]>
date: Mon Dec 21 17:50:21 EST 2020

iwad: Support autoloading GOG.com releases of Heretic and Hexen (#1338)

Fixes #1337

--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -208,6 +208,30 @@
         SOFTWARE_KEY "\\GOG.com\\Games\\1432899949",
         "PATH",
     },
+
+    // Heretic
+
+    {
+        HKEY_LOCAL_MACHINE,
+        SOFTWARE_KEY "\\GOG.com\\Games\\1290366318",
+        "PATH",
+    },
+
+    // Hexen
+
+    {
+        HKEY_LOCAL_MACHINE,
+        SOFTWARE_KEY "\\GOG.com\\Games\\1247951670",
+        "PATH",
+    },
+
+    // Hexen: Deathkings of a Dark Citadel
+
+    {
+        HKEY_LOCAL_MACHINE,
+        SOFTWARE_KEY "\\GOG.com\\Games\\1983497091",
+        "PATH",
+    },
 };
 
 // Subdirectories of the above install path, where IWADs are installed.