summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-01-18 19:20:34 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-02-02 15:31:41 +0100
commitf5de9ae444f1bca1f6ba6969214e9a8cacb15f68 (patch)
treef9b9c699c52d279cdc4d93b09f48dd3b24403f5b /src/being.h
parent7cc504d993fa948ae2e10848993f4552b2d6daaa (diff)
downloadmana-f5de9ae444f1bca1f6ba6969214e9a8cacb15f68.tar.gz
mana-f5de9ae444f1bca1f6ba6969214e9a8cacb15f68.tar.bz2
mana-f5de9ae444f1bca1f6ba6969214e9a8cacb15f68.tar.xz
mana-f5de9ae444f1bca1f6ba6969214e9a8cacb15f68.zip
Fix to the hair colors and styles handling.
- I made the charCreatedialog handle a possible max permitted color Id and a minimum hair style id for tA. - Added a foundation to later load the styles and colors from the same file, to handle the Mana-issue #224 for manaserv. - Support for non-contiguous hair color and style ids has also been added. - I also replaced the < and > arrow signs with images. Reviewed-by: Ben Longbons, Thorbjørn Lindeijer
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/being.h b/src/being.h
index 8d2ae1b0..6464090c 100644
--- a/src/being.h
+++ b/src/being.h
@@ -269,12 +269,6 @@ class Being : public ActorSprite, public EventListener
void setSpriteColor(unsigned int slot, const std::string &color = "");
/**
- * Get the number of hairstyles implemented
- */
- static int getNumOfHairstyles()
- { return mNumberOfHairstyles; }
-
- /**
* Get the number of layers used to draw the being
*/
int getNumberOfLayers() const;
@@ -400,8 +394,6 @@ class Being : public ActorSprite, public EventListener
*/
const Path &getPath() const { return mPath; }
- static void load();
-
void flashName(int time);
int getDamageTaken() const
@@ -500,8 +492,6 @@ class Being : public ActorSprite, public EventListener
/** Engine-related infos about weapon. */
const ItemInfo *mEquippedWeapon;
- static int mNumberOfHairstyles; /** Number of hair styles in use */
-
Path mPath;
std::string mSpeech;
Text *mText;