shithub: choc

Download patch

ref: 17eab692669b3a85c8eaea63d841dddb1779aa35
parent: 7b93759260950e88e5222c7d42cf0f57a869b306
author: Simon Howard <fraggle@gmail.com>
date: Thu Sep 2 14:16:59 EDT 2010

Add configuration to setup tool for Strife, and Strife IWAD mask
definition.

Subversion-branch: /branches/strife-branch
Subversion-revision: 2001

--- a/src/d_iwad.h
+++ b/src/d_iwad.h
@@ -35,6 +35,7 @@
                          | (1 << pack_plut))
 #define IWAD_MASK_HERETIC (1 << heretic)
 #define IWAD_MASK_HEXEN   (1 << hexen)
+#define IWAD_MASK_STRIFE  (1 << strife)
 
 typedef struct
 {
--- a/src/setup/mode.c
+++ b/src/setup/mode.c
@@ -91,6 +91,15 @@
         "hexen.cfg",
         PROGRAM_PREFIX "hexen.cfg",
         PROGRAM_PREFIX "hexen"
+    },
+    {
+        "Strife",
+        strife,
+        IWAD_MASK_STRIFE,
+        "strife",
+        "strife.cfg",
+        PROGRAM_PREFIX "strife.cfg",
+        PROGRAM_PREFIX "strife"
     }
 };