From 3fcb1c09898094cd3ecb555ad3ba913065d0fd17 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sat, 3 Oct 2009 13:04:54 +0000 Subject: * Automatically prompt the user for what to do when files are needed from the server and cl_allowDownload=0. (bug 3038) (Risujin, kevlarman) --- src/qcommon/q_shared.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/qcommon') diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index dc1d2058..622d71fe 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -1357,4 +1357,13 @@ typedef enum { #define MAX_EMOTICON_NAME_LEN 16 #define MAX_EMOTICONS 64 +// flags for com_downloadPrompt +#define DLP_TYPE_MASK 0x0f +#define DLP_IGNORE 0x01 // don't download anything +#define DLP_CURL 0x02 // download via HTTP redirect +#define DLP_UDP 0x04 // download from server +#define DLP_SHOW 0x10 // prompt needs to be shown +#define DLP_PROMPTED 0x20 // prompt has been processed by client +#define DLP_STALE 0x40 // prompt is not being shown by UI VM + #endif // __Q_SHARED_H -- cgit