From 8a75ae8f815a7e2067a8ebf19f20b39948d748ab Mon Sep 17 00:00:00 2001 From: "M. Kristall" Date: Thu, 25 Feb 2010 16:18:33 +0000 Subject: * Refactor emoticon code * Remove some redundant code * Make an error non-fatal * Formatting fixes --- src/qcommon/q_shared.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/qcommon') 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 -- cgit