diff options
| author | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-06-23 00:45:07 +0000 | 
|---|---|---|
| committer | thilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-06-23 00:45:07 +0000 | 
| commit | d19f5c00e3d1eb1de800cdcfb36dc0bb77f61cbd (patch) | |
| tree | 8b4889c8a8bb53b443cf33ea5e22ae81adeb9a23 | |
| parent | d12dcd1d6dfbcc57926f5caae0a88cc5cc2be330 (diff) | |
| download | ioquake3-aero-d19f5c00e3d1eb1de800cdcfb36dc0bb77f61cbd.tar.gz ioquake3-aero-d19f5c00e3d1eb1de800cdcfb36dc0bb77f61cbd.zip  | |
Move these definitions over for other files to use in preparation of the next commit
git-svn-id: svn://svn.icculus.org/quake3/trunk@1577 edf5b092-35ff-0310-97b2-ce42778d08ea
| -rw-r--r-- | code/qcommon/net_ip.c | 7 | ||||
| -rw-r--r-- | code/qcommon/qcommon.h | 8 | 
2 files changed, 8 insertions, 7 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c index 725ca35..5647414 100644 --- a/code/qcommon/net_ip.c +++ b/code/qcommon/net_ip.c @@ -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; diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 5282de5..e9b9037 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -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)  | 
