summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2009-07-12 23:37:46 +0000
committerSimon Howard2009-07-12 23:37:46 +0000
commit2e70023c95cb2a3d1ce01950e111ebf8c40bdcf3 (patch)
tree14aedb2e28ded641e5391b9cf89c2df2e9bbb8be
parent68320eab22761faf76d7ed5c9f4d2ded563a3880 (diff)
downloadchocolate-doom-2e70023c95cb2a3d1ce01950e111ebf8c40bdcf3.tar.gz
chocolate-doom-2e70023c95cb2a3d1ce01950e111ebf8c40bdcf3.tar.bz2
chocolate-doom-2e70023c95cb2a3d1ce01950e111ebf8c40bdcf3.zip
Add game mission/version for strife.
Subversion-branch: /branches/strife-branch Subversion-revision: 1622
-rw-r--r--src/d_mode.c3
-rw-r--r--src/d_mode.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/d_mode.c b/src/d_mode.c
index 453ae4eb..4832e01b 100644
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -48,6 +48,7 @@ static struct
{ heretic, registered, 3, 9 },
{ heretic, retail, 5, 9 },
{ hexen, commercial, 1, 40 },
+ { strife, commercial, 1, 34 },
};
// Check that a gamemode+gamemission received over the network is valid.
@@ -131,6 +132,7 @@ static struct {
{ doom, exe_final },
{ heretic, exe_heretic_1_3 },
{ hexen, exe_hexen_1_1 },
+ { strife, exe_strife_1_31 },
};
boolean D_ValidGameVersion(GameMission_t mission, GameVersion_t version)
@@ -171,6 +173,7 @@ boolean D_IsEpisodeMap(GameMission_t mission)
case doom2:
case pack_tnt:
case pack_plut:
+ case strife:
default:
return false;
}
diff --git a/src/d_mode.h b/src/d_mode.h
index f7e93562..8746b354 100644
--- a/src/d_mode.h
+++ b/src/d_mode.h
@@ -40,6 +40,7 @@ typedef enum
pack_plut, // Final Doom: The Plutonia Experiment
heretic, // Heretic
hexen, // Hexen
+ strife, // Strife
none
} GameMission_t;
@@ -68,7 +69,8 @@ typedef enum
exe_heretic_1_3, // Heretic 1.3
- exe_hexen_1_1 // Hexen 1.1
+ exe_hexen_1_1, // Hexen 1.1
+ exe_strife_1_31, // Strife v1.31
} GameVersion_t;
// Skill level.