diff options
Diffstat (limited to 'src/net_defs.h')
-rw-r--r-- | src/net_defs.h | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/src/net_defs.h b/src/net_defs.h index 66b17c77..a5fddc4d 100644 --- a/src/net_defs.h +++ b/src/net_defs.h @@ -26,10 +26,25 @@ #ifndef NET_DEFS_H #define NET_DEFS_H -#include "doomdef.h" +#include <stdio.h> + #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; @@ -137,6 +152,8 @@ typedef struct #define NET_TICDIFF_BUTTONS (1 << 3) #define NET_TICDIFF_CONSISTANCY (1 << 4) #define NET_TICDIFF_CHATCHAR (1 << 5) +#define NET_TICDIFF_LOOKFLY (1 << 6) +#define NET_TICDIFF_ARTIFACT (1 << 7) typedef struct { |