From 0a18932056e2a72f41cdd14c831344ad80cfb35b Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 15 Jan 2009 19:48:00 -0700 Subject: Added emote database, which is loosely based off of the NPC database. Also changed all emotes to be animated sprites now, and to load from emotes.xml. This gives us a bit more flexibility to not only add more emotes in the future, but allowing them to be animated as well. NOTE: This commit, unlike the previous emote commits, breaks emotes if you don't have the xml file. This will be available on Aethyra soon, but is not rolled into an update at the moment. Signed-off-by: Ira Rice --- src/being.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 54c9d717..4534b1ea 100644 --- a/src/being.h +++ b/src/being.h @@ -431,8 +431,8 @@ class Being : public Sprite // Speech Bubble components SpeechBubble *mSpeechBubble; - static int instances; /**< Number of Being instances */ - static ImageSet *emotionSet; /**< Emoticons used by beings */ + static int instances; /**< Number of Being instances */ + static std::vector emotionSet; /**< Emoticons used by beings */ }; #endif -- cgit v1.2.3-70-g09d2