summaryrefslogtreecommitdiff
path: root/src/resources/emotedb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-11 23:26:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-11 23:26:03 +0300
commita79a1e6ac086355639fcbf995e1c6399199e4476 (patch)
tree51c6285f18fcafaa0908764cc3f3336dbacac447 /src/resources/emotedb.h
parenteb3cee0bc68ee576ed0eb429d22c6031f27def07 (diff)
downloadmv-a79a1e6ac086355639fcbf995e1c6399199e4476.tar.gz
mv-a79a1e6ac086355639fcbf995e1c6399199e4476.tar.bz2
mv-a79a1e6ac086355639fcbf995e1c6399199e4476.tar.xz
mv-a79a1e6ac086355639fcbf995e1c6399199e4476.zip
Add alt emotes id support.
Limit tmw emotes.
Diffstat (limited to 'src/resources/emotedb.h')
-rw-r--r--src/resources/emotedb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/emotedb.h b/src/resources/emotedb.h
index 24ceb40db..847f3f0ee 100644
--- a/src/resources/emotedb.h
+++ b/src/resources/emotedb.h
@@ -42,6 +42,7 @@ struct EmoteInfo
};
typedef std::map<int, EmoteInfo*> EmoteInfos;
+typedef std::map<int, int> EmoteToEmote;
/**
* Emote information database.
@@ -56,6 +57,8 @@ namespace EmoteDB
const AnimatedSprite *getAnimation(int id, bool allowNull = false);
+ const AnimatedSprite *getAnimation2(int id, bool allowNull = false);
+
const EmoteSprite *getSprite(int id, bool allowNull = false);
const int &getLast();