summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorFate <fate.tmw@googlemail.com>2008-11-01 23:45:48 +0000
committerFate <fate.tmw@googlemail.com>2008-11-01 23:45:48 +0000
commit8f1bf397990729c3a807bbbe0b643bc97446c923 (patch)
treeb2a531da277eeb9b48d3f0342dd96a4963b275d1 /src/being.h
parent4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf (diff)
downloadmana-client-8f1bf397990729c3a807bbbe0b643bc97446c923.tar.gz
mana-client-8f1bf397990729c3a807bbbe0b643bc97446c923.tar.bz2
mana-client-8f1bf397990729c3a807bbbe0b643bc97446c923.tar.xz
mana-client-8f1bf397990729c3a807bbbe0b643bc97446c923.zip
* Use hair.xml to determine hair colours (#514)
* Auto-detect number of hair styles available (#514)
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/being.h b/src/being.h
index d5fe7790..76317797 100644
--- a/src/being.h
+++ b/src/being.h
@@ -34,9 +34,6 @@
#include "map.h"
#include "animatedsprite.h"
-#define NR_HAIR_STYLES 8
-#define NR_HAIR_COLORS 10
-
#define FIRST_IGNORE_EMOTE 14
class AnimatedSprite;
@@ -370,6 +367,13 @@ class Being : public Sprite
const std::auto_ptr<Equipment> mEquipment;
+
+ static int getHairColorsNr(void);
+
+ static int getHairStylesNr(void);
+
+ static std::string getHairColor(int index);
+
protected:
/**
* Sets the new path for this being.