summaryrefslogtreecommitdiff
path: root/src/net_defs.h
diff options
context:
space:
mode:
authorSimon Howard2008-09-10 18:45:53 +0000
committerSimon Howard2008-09-10 18:45:53 +0000
commit154d9d8024ffad9027981eb586913d14c6c50d60 (patch)
treeb01a4e3f4d46b2fe8ae3a209aad5b7c0f151e87c /src/net_defs.h
parent580372cddbb04538da69a3936f670f7128765c4b (diff)
downloadchocolate-doom-154d9d8024ffad9027981eb586913d14c6c50d60.tar.gz
chocolate-doom-154d9d8024ffad9027981eb586913d14c6c50d60.tar.bz2
chocolate-doom-154d9d8024ffad9027981eb586913d14c6c50d60.zip
Split off game mode/mission/version definitions into common code, along
with various netgame constants. Subversion-branch: /branches/raven-branch Subversion-revision: 1218
Diffstat (limited to 'src/net_defs.h')
-rw-r--r--src/net_defs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net_defs.h b/src/net_defs.h
index 5fc90401..bc7d985b 100644
--- a/src/net_defs.h
+++ b/src/net_defs.h
@@ -29,10 +29,20 @@
#include "doomtype.h"
#include "d_ticcmd.h"
+// Absolute maximum number of "nodes" in the game. This is different to
+// MAXPLAYERS, as there may be observers that are not participating
+// (eg. left/right monitors)
+
+#define MAXNETNODES 16
+
// The maximum number of players, multiplayer/networking.
#define MAXPLAYERS 4
+// Networking and tick handling related.
+
+#define BACKUPTICS 128
+
typedef struct _net_module_s net_module_t;
typedef struct _net_packet_s net_packet_t;
typedef struct _net_addr_s net_addr_t;