diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h index a2d5e5a7..b0c5b49e 100644 --- a/src/being.h +++ b/src/being.h @@ -38,8 +38,6 @@ #include "resources/colordb.h" -#define NR_HAIR_STYLES 10 - #define FIRST_IGNORE_EMOTE 14 class AnimatedSprite; @@ -200,6 +198,11 @@ class Being : public Sprite { return mHairStyle; } /** + * Get the number of hairstyles implemented + */ + static int getNumOfHairstyles() { return mNumberOfHairstyles; } + + /** * Sets the hair style and color for this being. */ virtual void setHairStyle(int style, int color); @@ -398,6 +401,8 @@ class Being : public Sprite /** Engine-related infos about weapon. */ const ItemInfo* mEquippedWeapon; + static int mNumberOfHairstyles; /** Number of hair styles in use */ + Path mPath; std::string mSpeech; Text *mText; |