summaryrefslogtreecommitdiff
path: root/src/strife
diff options
context:
space:
mode:
authorSimon Howard2011-10-29 23:55:30 +0000
committerSimon Howard2011-10-29 23:55:30 +0000
commit80fbe1a1d2fc32d13082a816a5521660318b0101 (patch)
treefc3733cdfa00874887d33b4d9a4cc83dd0634be1 /src/strife
parent5d5c203ad4f587a804e96892d1d57ac7064dcd2a (diff)
downloadchocolate-doom-80fbe1a1d2fc32d13082a816a5521660318b0101.tar.gz
chocolate-doom-80fbe1a1d2fc32d13082a816a5521660318b0101.tar.bz2
chocolate-doom-80fbe1a1d2fc32d13082a816a5521660318b0101.zip
Update Strife multiplayer behavior to always use altdeath mode in
netgames, and remove code for -deathmatch parameter. Update setup tool to remove game type dropdown when setting up a Strife game. Subversion-branch: /branches/v2-branch Subversion-revision: 2470
Diffstat (limited to 'src/strife')
-rw-r--r--src/strife/d_main.c14
-rw-r--r--src/strife/d_net.c14
2 files changed, 16 insertions, 12 deletions
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 89f99648..816cbd7b 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1507,21 +1507,15 @@ void D_DoomMain (void)
if(devparm)
showintro = false;
- //!
- // @category net
- // @vanilla
- //
- // Start a deathmatch game.
- //
-
- if (M_CheckParm ("-deathmatch"))
- deathmatch = 1;
+ // Note: Strife *only* supports -altdeath mode. Vanilla
+ // Strife does not understand the -deathmatch command
+ // line parameter.
//!
// @category net
// @vanilla
//
- // Start a deathmatch 2.0 game. Weapons do not stay in place and
+ // Start a deathmatch game. Weapons do not stay in place and
// all items respawn after 30 seconds.
//
diff --git a/src/strife/d_net.c b/src/strife/d_net.c
index 656d1393..021bbf91 100644
--- a/src/strife/d_net.c
+++ b/src/strife/d_net.c
@@ -278,8 +278,17 @@ void D_CheckNetGame (void)
LoadGameSettings(&settings, &connect_data);
- DEH_printf("startskill %i deathmatch: %i startmap: %i startepisode: %i\n",
- startskill, deathmatch, startmap, startepisode);
+ // Strife netgames are *always* deathmatch,
+ // specifically altdeath mode.
+
+ if (netgame)
+ {
+ deathmatch = 2;
+ }
+
+ DEH_printf("startmap: %i, skill: %i, enemies: %i, random: %i\n",
+ startmap, startskill, !nomonsters, 0 /* ??? */);
+
DEH_printf("player %i of %i (%i nodes)\n",
consoleplayer+1, settings.num_players, settings.num_players);
@@ -304,3 +313,4 @@ void D_CheckNetGame (void)
}
}
}
+