summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 20:18:38 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 21:45:47 +0300
commit95227e7c07251c8f59164050543c3c134aff238f (patch)
tree1b45789ca770f7251a557281da22892923470a68 /src/being/being.h
parentae351c43eca44c532404deb9f10bf3e4b97406bf (diff)
downloadmanaplus-95227e7c07251c8f59164050543c3c134aff238f.tar.gz
manaplus-95227e7c07251c8f59164050543c3c134aff238f.tar.bz2
manaplus-95227e7c07251c8f59164050543c3c134aff238f.tar.xz
manaplus-95227e7c07251c8f59164050543c3c134aff238f.zip
Add support for items with cards in charcreation.xml
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h6
1 files changed, 6 insertions, 0 deletions
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; }