diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-19 12:27:11 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-04-19 12:27:11 +0000 |
commit | 4f92acafbe35fb0ad9d5d0e03b3cbbf7967a7019 (patch) | |
tree | 9e0a31b30f08b5d54444c74527f5ce1a3bdfb5d6 /src/being.h | |
parent | 7a92c4c076cefc2463347190f50b9bddf8d4ef6b (diff) | |
download | mana-client-4f92acafbe35fb0ad9d5d0e03b3cbbf7967a7019.tar.gz mana-client-4f92acafbe35fb0ad9d5d0e03b3cbbf7967a7019.tar.bz2 mana-client-4f92acafbe35fb0ad9d5d0e03b3cbbf7967a7019.tar.xz mana-client-4f92acafbe35fb0ad9d5d0e03b3cbbf7967a7019.zip |
Improving hair management
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h index 173b1d3c..9e65793d 100644 --- a/src/being.h +++ b/src/being.h @@ -42,6 +42,7 @@ class Being { std::list<PATH_NODE> path; std::string speech; std::string damage; + unsigned short hairStyle, hairColor; public: unsigned int id; @@ -58,7 +59,7 @@ class Being { unsigned char emotion; unsigned char emotion_time; unsigned int text_x, text_y; // temp solution to fix speech position - unsigned short hair_style, hair_color; + unsigned short weapon; char name[24]; unsigned int speech_time; @@ -120,6 +121,16 @@ class Being { * Sets the hair style for this being. */ void setHairStyle(int style); + + /** + * Gets the hair color for this being. + */ + unsigned short getHairColor(); + + /** + * Gets the hair style for this being. + */ + unsigned short getHairStyle(); /** * Makes this being take the next step of his path. |