[quake3-commits] r1577 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Jun 22 20:45:07 EDT 2009
Author: thilo
Date: 2009-06-22 20:45:07 -0400 (Mon, 22 Jun 2009)
New Revision: 1577
Modified:
trunk/code/qcommon/net_ip.c
trunk/code/qcommon/qcommon.h
Log:
Move these definitions over for other files to use in preparation of the next commit
Modified: trunk/code/qcommon/net_ip.c
===================================================================
--- trunk/code/qcommon/net_ip.c 2009-06-23 00:19:08 UTC (rev 1576)
+++ trunk/code/qcommon/net_ip.c 2009-06-23 00:45:07 UTC (rev 1577)
@@ -92,13 +92,6 @@
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;
Modified: trunk/code/qcommon/qcommon.h
===================================================================
--- trunk/code/qcommon/qcommon.h 2009-06-23 00:19:08 UTC (rev 1576)
+++ trunk/code/qcommon/qcommon.h 2009-06-23 00:45:07 UTC (rev 1577)
@@ -121,6 +121,14 @@
==============================================================
*/
+#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)
More information about the quake3-commits
mailing list