From cfe4c893ba4ba30379919636d3c508ebf1594e23 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Apr 2013 01:44:57 +0300 Subject: add owned show time to each emote type. --- src/resources/emotedb.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/resources/emotedb.h') diff --git a/src/resources/emotedb.h b/src/resources/emotedb.h index 6a6463dfb..d8edb99ec 100644 --- a/src/resources/emotedb.h +++ b/src/resources/emotedb.h @@ -55,6 +55,7 @@ struct EmoteInfo final std::list sprites; StringVect particles; + int time; }; typedef std::map EmoteInfos; @@ -72,15 +73,7 @@ namespace EmoteDB const EmoteInfo *get(const int id, const bool allowNull = false) A_WARN_UNUSED; - const AnimatedSprite *getAnimation(const int id, - const bool allowNull = false) - A_WARN_UNUSED; - - const AnimatedSprite *getAnimation2(int id, - const bool allowNull = false) - A_WARN_UNUSED; - - AnimatedSprite *getClone(const int id, const bool allowNull); + const EmoteInfo *get2(int id, const bool allowNull = false) A_WARN_UNUSED; const EmoteSprite *getSprite(const int id, const bool allowNull = false) A_WARN_UNUSED; -- cgit v1.2.3-70-g09d2