From 95227e7c07251c8f59164050543c3c134aff238f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Jun 2016 20:18:38 +0300 Subject: Add support for items with cards in charcreation.xml --- src/being/being.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 376c180d5..bf05d091b 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -842,6 +842,9 @@ class Being notfinal : public ActorSprite, int getSpriteID(const int slot) const restrict2 A_WARN_UNUSED; + const BeingSlot &getSpriteSlot(const int slot) const + restrict2 A_WARN_UNUSED; + ItemColor getSpriteColor(const int slot) const restrict2 A_WARN_UNUSED; void setHairStyle(const unsigned int slot, @@ -853,6 +856,9 @@ class Being notfinal : public ActorSprite, void setHairColor(const ItemColor color) restrict2 noexcept2 { mHairColor = color; } + void setSpriteSlot(const unsigned int slot, + const BeingSlot &beingSlot); + ItemColor getHairColor() const noexcept2 A_WARN_UNUSED { return mHairColor; } -- cgit v1.2.3-60-g2f50