From 3a54cf61c4ea127a16ca11c515906a5f419b97df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 31 Jan 2013 15:36:56 +0300 Subject: Add default avatars support for npcs. --- src/resources/beinginfo.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/resources/beinginfo.h') diff --git a/src/resources/beinginfo.h b/src/resources/beinginfo.h index 0e544a3b6..f1b978543 100644 --- a/src/resources/beinginfo.h +++ b/src/resources/beinginfo.h @@ -187,6 +187,12 @@ class BeingInfo final void setDeadSortOffsetY(const int n) { mDeadSortOffsetY = n; } + uint16_t getAvatarId() const A_WARN_UNUSED + { return mAvatarId; } + + void setAvatarId(const uint16_t id) + { mAvatarId = id; } + static void init(); static void clear(); @@ -207,6 +213,7 @@ class BeingInfo final bool mTargetSelection; int mSortOffsetY; int mDeadSortOffsetY; + uint16_t mAvatarId; }; typedef std::map BeingInfos; -- cgit v1.2.3-70-g09d2