summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.h
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2009-10-03 11:45:20 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:18 +0000
commit412d3c9c3479012d687139f891d14cfe18b6e6ee (patch)
treec8ca701ac8e4ef8cac3a35fbe8460b058e25bbda /src/cgame/cg_local.h
parenta60e24850d73f8d807bab40f256a3e017219f17e (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/cgame/cg_local.h')
-rw-r--r--src/cgame/cg_local.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h
index f090e928..9bdcb3b9 100644
--- a/src/cgame/cg_local.h
+++ b/src/cgame/cg_local.h
@@ -1533,6 +1533,8 @@ extern vmCvar_t cg_projectileNudge;
extern vmCvar_t cg_voice;
+extern vmCvar_t cg_emoticons;
+
//
// cg_main.c
//