commit 17eab692669b3a85c8eaea63d841dddb1779aa35
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Sep 2 18:16:59 2010 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Thu Sep 2 18:16:59 2010 +0000
Add configuration to setup tool for Strife, and Strife IWAD mask
definition.
Subversion-branch: /branches/strife-branch
Subversion-revision: 2001
---
src/d_iwad.h | 1 +
src/setup/mode.c | 9 +++++++++
2 files changed, 10 insertions(+)
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"
}
};