From 98abaa24e6ba46aaa44a0d458a0f4f2208ace21d Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Wed, 14 Oct 2009 19:22:04 +0000 Subject: * (bug 4306) Fix display formatting between different types of chat text * Support parsing /say_area out of /say * General cleanups/refactors to messaging code --- src/qcommon/q_shared.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/qcommon') 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 -- cgit