diff options
author | Tony J. White <tjw@tjw.org> | 2009-10-03 11:45:20 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:15:18 +0000 |
commit | 412d3c9c3479012d687139f891d14cfe18b6e6ee (patch) | |
tree | c8ca701ac8e4ef8cac3a35fbe8460b058e25bbda /src/qcommon | |
parent | a60e24850d73f8d807bab40f256a3e017219f17e (diff) |
* 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
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/q_shared.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |