From 7f4c1d68907d33b9e34ae22079e72b0a21f3fb1e Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Mon, 14 Jul 2014 00:50:56 +0200 Subject: implement part 2 of the multi-protocol functionality: pk3 control this contains a simple method to control the serving of alternate pk3 files to clients using the alternate-2 protocol (69); there's also a fixup for the VoIP part the new fs_pk3PrefixPairs cvar has the format "P1&A1|P2&A2|...", where, for each i, Pi and Ai are corresponding primary and alternate pk3 filename prefixes, one of which one may be empty (eg. "P1&|&A2|...") to denote no correspondence --- src/qcommon/q_shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qcommon/q_shared.h') diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index 6d6aa461..1ec69f44 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -959,6 +959,7 @@ default values. #define CVAR_SERVER_CREATED 0x0800 // cvar was created by a server the client connected to. #define CVAR_VM_CREATED 0x1000 // cvar was created exclusively in one of the VMs. #define CVAR_PROTECTED 0x2000 // prevent modifying this var from VMs or the server +#define CVAR_ALTERNATE_SYSTEMINFO 0x1000000 // These flags are only returned by the Cvar_Flags() function #define CVAR_MODIFIED 0x40000000 // Cvar was modified #define CVAR_NONEXISTENT 0x80000000 // Cvar doesn't exist. -- cgit