summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-03 13:04:54 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:27 +0000
commit3fcb1c09898094cd3ecb555ad3ba913065d0fd17 (patch)
tree02fbe64e8dcc4cbe68e13d386cf35dd852f85a66 /src/qcommon
parenta285ef54f04940e66563bc2761da7005db35ec4e (diff)
* Automatically prompt the user for what to do when files are needed from the server and cl_allowDownload=0. (bug 3038) (Risujin, kevlarman)
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/q_shared.h9
1 files changed, 9 insertions, 0 deletions
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