summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 4e78f7eb9..8c1fc81f9 100644
--- a/src/being.h
+++ b/src/being.h
@@ -821,6 +821,17 @@ class Being : public ActorSprite, public ConfigListener
int getSpriteID(const int slot) const;
+ void setHairStyle(const unsigned int slot, const int id);
+
+ void setHairColor(const unsigned int slot,
+ const unsigned char color);
+
+ void setHairColor(const unsigned char color)
+ { mHairColor = color; }
+
+ unsigned char getHairColor() const
+ { return mHairColor; }
+
void recalcSpritesOrder();
static uint8_t genderToInt(const Gender sex);
@@ -911,6 +922,8 @@ class Being : public ActorSprite, public ConfigListener
std::vector<int> &slotRemap,
const int val) const;
+ void dumpSprites();
+
const Type mType;
/** Speech Bubble components */
@@ -971,6 +984,7 @@ class Being : public ActorSprite, public ConfigListener
bool mAway;
bool mInactive;
unsigned mNumber;
+ unsigned char mHairColor;
};
extern std::list<BeingCacheEntry*> beingInfoCache;