summaryrefslogtreecommitdiff
path: root/src/doom/doomdef.h
diff options
context:
space:
mode:
authorSimon Howard2011-10-19 18:10:11 +0000
committerSimon Howard2011-10-19 18:10:11 +0000
commita4567e04c7f90f12ae7e2bedf840d80e14409283 (patch)
tree69d568d90f309472ce4e20cb508f3a42183ae840 /src/doom/doomdef.h
parente5806af05eb31c18250bf74c9b8ae052a0666b6b (diff)
downloadchocolate-doom-a4567e04c7f90f12ae7e2bedf840d80e14409283.tar.gz
chocolate-doom-a4567e04c7f90f12ae7e2bedf840d80e14409283.tar.bz2
chocolate-doom-a4567e04c7f90f12ae7e2bedf840d80e14409283.zip
Change MAXPLAYERS to NET_MAXPLAYERS and add back individual MAXPLAYERS
defines for each game. Refactor "waiting screen" data code. Subversion-branch: /branches/v2-branch Subversion-revision: 2441
Diffstat (limited to 'src/doom/doomdef.h')
-rw-r--r--src/doom/doomdef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/doom/doomdef.h b/src/doom/doomdef.h
index e911f886..049ba9e3 100644
--- a/src/doom/doomdef.h
+++ b/src/doom/doomdef.h
@@ -49,6 +49,9 @@
// most parameter validation debugging code will not be compiled
#define RANGECHECK
+// The maximum number of players, multiplayer/networking.
+#define MAXPLAYERS 4
+
// The current state of the game: whether we are
// playing, gazing at the intermission screen,
// the game final animation, or a demo.
@@ -171,4 +174,3 @@ typedef enum
} powerduration_t;
#endif // __DOOMDEF__
-