summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorChristopher Schwarz <lakitu7@gmail.com>2009-10-14 19:22:04 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:16:50 +0000
commit98abaa24e6ba46aaa44a0d458a0f4f2208ace21d (patch)
tree08abc66855538bf031036a91fdd28377886a5a4b /src/qcommon
parent7615d380395b6bfc33a8819810433ebf94990a09 (diff)
* (bug 4306) Fix display formatting between different types of chat text
* Support parsing /say_area out of /say * General cleanups/refactors to messaging code
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/q_shared.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h
index 0cf4ca91..8cdc5ae6 100644
--- a/src/qcommon/q_shared.h
+++ b/src/qcommon/q_shared.h
@@ -1379,8 +1379,16 @@ typedef enum {
#define MAX_PINGREQUESTS 32
#define MAX_SERVERSTATUSREQUESTS 16
-#define SAY_ALL 0
-#define SAY_TEAM 1
+typedef enum {
+ SAY_ALL,
+ SAY_TEAM,
+ SAY_PRIVMSG,
+ SAY_TPRIVMSG,
+ SAY_AREA,
+ SAY_ADMINS,
+ SAY_ADMINS_PUBLIC,
+ SAY_RAW
+} saymode_t;
#define MAX_EMOTICON_NAME_LEN 16
#define MAX_EMOTICONS 64