summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index 1987d5b8..754c163a 100644
--- a/src/being.h
+++ b/src/being.h
@@ -436,9 +436,9 @@ class Being : public Sprite
// Target cursor being used by the being
Image *mTargetCursor;
- static int getHairColorsNr();
+ static int getHairColorCount();
- static int getHairStylesNr();
+ static int getHairStyleCount();
static std::string getHairColor(int index);
@@ -501,6 +501,8 @@ class Being : public Sprite
/** Engine-related infos about weapon. */
const ItemInfo* mEquippedWeapon;
+ static std::vector<std::string> hairColors;
+ static int mNumberOfHairColors; /** Number of hair colors in use */
static int mNumberOfHairstyles; /** Number of hair styles in use */
Path mPath;
@@ -522,6 +524,8 @@ class Being : public Sprite
ParticleList mChildParticleEffects;
private:
+ static void initializeHair();
+
/**
* Calculates the offset in the given directions.
* If walking in direction 'neg' the value is negated.