summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2010-09-02 18:16:59 +0000
committerSimon Howard2010-09-02 18:16:59 +0000
commit17eab692669b3a85c8eaea63d841dddb1779aa35 (patch)
tree050c80cc1f2bf8133db39085e449f1cd36632456 /src
parent7b93759260950e88e5222c7d42cf0f57a869b306 (diff)
downloadchocolate-doom-17eab692669b3a85c8eaea63d841dddb1779aa35.tar.gz
chocolate-doom-17eab692669b3a85c8eaea63d841dddb1779aa35.tar.bz2
chocolate-doom-17eab692669b3a85c8eaea63d841dddb1779aa35.zip
Add configuration to setup tool for Strife, and Strife IWAD mask
definition. Subversion-branch: /branches/strife-branch Subversion-revision: 2001
Diffstat (limited to 'src')
-rw-r--r--src/d_iwad.h1
-rw-r--r--src/setup/mode.c9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/d_iwad.h b/src/d_iwad.h
index f95b4258..d92dbeff 100644
--- 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
{
diff --git a/src/setup/mode.c b/src/setup/mode.c
index 702db67d..978ac86f 100644
--- a/src/setup/mode.c
+++ b/src/setup/mode.c
@@ -91,6 +91,15 @@ static mission_config_t mission_configs[] =
"hexen.cfg",
PROGRAM_PREFIX "hexen.cfg",
PROGRAM_PREFIX "hexen"
+ },
+ {
+ "Strife",
+ strife,
+ IWAD_MASK_STRIFE,
+ "strife",
+ "strife.cfg",
+ PROGRAM_PREFIX "strife.cfg",
+ PROGRAM_PREFIX "strife"
}
};