From 412d3c9c3479012d687139f891d14cfe18b6e6ee Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Sat, 3 Oct 2009 11:45:20 +0000 Subject: * UI_Text_* emoticon drawing support (e.g. [dretch] draws /emoticons/dretch.tga inline with text) * emoticons are square .tga images placed in the /emoticons dir of fs_game * emoticons should probably be 64x64 to look nice * g_emoticonsAllowedInNames (default ON) is an optional server setting to prevent players from using them in names * emoticons can be escaped by prefixing with an additional [ * cvars ui_emoticons and cg_emoticons can be set to 0 to disable drawing of emoticons in ui or cgame contexts respectively * fix color code continuation on wrapped lines * prefix all wrapped lines with a space to prevent chat shenanigans --- src/qcommon/q_shared.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qcommon') diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h index 232982f5..84e2c2b4 100644 --- a/src/qcommon/q_shared.h +++ b/src/qcommon/q_shared.h @@ -1326,4 +1326,7 @@ typedef enum { #define SAY_TEAM 1 #define SAY_TELL 2 +#define MAX_EMOTICON_NAME_LEN 16 +#define MAX_EMOTICONS 64 + #endif // __Q_SHARED_H -- cgit