summaryrefslogtreecommitdiff
path: root/src/d_mode.c
diff options
context:
space:
mode:
authorSimon Howard2009-05-10 19:00:22 +0000
committerSimon Howard2009-05-10 19:00:22 +0000
commit1d408321cbcdc72826d3d0939b12410d6130c889 (patch)
tree48666bcf9dae9adaf19c3ad698a6a1ee9ce84cee /src/d_mode.c
parent3c92c5807e2eacdf84932d385d5041dfb311a26c (diff)
downloadchocolate-doom-1d408321cbcdc72826d3d0939b12410d6130c889.tar.gz
chocolate-doom-1d408321cbcdc72826d3d0939b12410d6130c889.tar.bz2
chocolate-doom-1d408321cbcdc72826d3d0939b12410d6130c889.zip
Use the internal IWAD search for the setup multiplayer dialogs rather
than the -findiwads command line hack. Subversion-branch: /branches/raven-branch Subversion-revision: 1516
Diffstat (limited to 'src/d_mode.c')
-rw-r--r--src/d_mode.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/d_mode.c b/src/d_mode.c
index 70704438..0e624cb4 100644
--- a/src/d_mode.c
+++ b/src/d_mode.c
@@ -156,3 +156,22 @@ boolean D_ValidGameVersion(GameMission_t mission, GameVersion_t version)
return false;
}
+// Does this mission type use ExMy form, rather than MAPxy form?
+
+boolean D_IsEpisodeMap(GameMission_t mission)
+{
+ switch (mission)
+ {
+ case doom:
+ case heretic:
+ return true;
+
+ case none:
+ case hexen:
+ case doom2:
+ case pack_tnt:
+ case pack_plut:
+ return false;
+ }
+}
+