summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2010-02-25 16:18:33 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:27 +0000
commit8a75ae8f815a7e2067a8ebf19f20b39948d748ab (patch)
treebac6fca807a8311011991ae9d261c3f3605add34 /src/qcommon
parent69f3a7fece69a9eee18e74f43b898a333d4969c6 (diff)
* Refactor emoticon code
* Remove some redundant code * Make an error non-fatal * Formatting fixes
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/q_shared.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qcommon/q_shared.h b/src/qcommon/q_shared.h
index f11c3565..44685582 100644
--- a/src/qcommon/q_shared.h
+++ b/src/qcommon/q_shared.h
@@ -1394,6 +1394,15 @@ typedef enum {
#define MAX_EMOTICON_NAME_LEN 16
#define MAX_EMOTICONS 64
+typedef struct
+{
+ char name[ MAX_EMOTICON_NAME_LEN ];
+#ifndef GAME
+ int width;
+ qhandle_t shader;
+#endif
+} emoticon_t;
+
// flags for com_downloadPrompt
#define DLP_TYPE_MASK 0x0f
#define DLP_IGNORE 0x01 // don't download anything