Move these definitions over for other files to use in preparation of the next commit

This commit is contained in:
Thilo Schulz 2009-06-23 00:45:07 +00:00
parent fb5f2a40ad
commit 78254a626f
2 changed files with 8 additions and 7 deletions

View file

@ -92,13 +92,6 @@ typedef int SOCKET;
static qboolean usingSocks = qfalse;
static int networkingEnabled = 0;
#define NET_ENABLEV4 0x01
#define NET_ENABLEV6 0x02
// if this flag is set, always attempt ipv6 connections instead of ipv4 if a v6 address is found.
#define NET_PRIOV6 0x04
// disables ipv6 multicast support if set.
#define NET_DISABLEMCAST 0x08
static cvar_t *net_enabled;
static cvar_t *net_socksEnabled;

View file

@ -121,6 +121,14 @@ NET
==============================================================
*/
#define NET_ENABLEV4 0x01
#define NET_ENABLEV6 0x02
// if this flag is set, always attempt ipv6 connections instead of ipv4 if a v6 address is found.
#define NET_PRIOV6 0x04
// disables ipv6 multicast support if set.
#define NET_DISABLEMCAST 0x08
#define PACKET_BACKUP 32 // number of old messages that must be kept on client and
// server for delta comrpession and ping estimation
#define PACKET_MASK (PACKET_BACKUP-1)