From d6a0337fb1d80010eb0bb19623d52beef49eeee6 Mon Sep 17 00:00:00 2001 From: "Tony J. White" Date: Sat, 3 Oct 2009 11:45:48 +0000 Subject: * add variable width to emoticons support. In addition to being a .tga in the /emoticons/ dir of fs_game, emoticon file names need to end with "_{WIDTH}x1.tga". For example, /emoticons/dretch_1x1.tga (square) or /emoticons/rifle_2x1.tga (double-wide) --- src/ui/ui_shared.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/ui_shared.h') diff --git a/src/ui/ui_shared.h b/src/ui/ui_shared.h index fe9b03fe..48bf78cd 100644 --- a/src/ui/ui_shared.h +++ b/src/ui/ui_shared.h @@ -343,6 +343,7 @@ typedef struct qboolean fontRegistered; char emoticons[ MAX_EMOTICONS ][ MAX_EMOTICON_NAME_LEN ]; qhandle_t emoticonShaders[ MAX_EMOTICONS ]; + int emoticonWidths[ MAX_EMOTICONS ]; int emoticonCount; } cachedAssets_t; -- cgit