mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
Move these definitions over for other files to use in preparation of the next commit
This commit is contained in:
parent
fb5f2a40ad
commit
78254a626f
2 changed files with 8 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue