summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2006-08-14 08:36:16 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2006-08-14 08:36:16 +0000
commitc79bf8c82f0a38b574b83be2484eb347852cd833 (patch)
treebf13ca5f0ff3f0413bab52f89ba95e705ffce745 /src/being.h
parent9e6862623370f53d1b78e4bd167152b840e28884 (diff)
downloadmana-c79bf8c82f0a38b574b83be2484eb347852cd833.tar.gz
mana-c79bf8c82f0a38b574b83be2484eb347852cd833.tar.bz2
mana-c79bf8c82f0a38b574b83be2484eb347852cd833.tar.xz
mana-c79bf8c82f0a38b574b83be2484eb347852cd833.zip
Completed porting of character creation/deletion, fixed some issues with network code.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h
index 0735efe9..055ea0d4 100644
--- a/src/being.h
+++ b/src/being.h
@@ -98,6 +98,8 @@ class Being : public Sprite
static const char UP = 4;
static const char RIGHT = 8;
+ std::string mName; /**< Name of character */
+ Uint8 mSex; /**< Character's gender */
Uint16 mJob; /**< Job (player job, npc, monster, ) */
Uint16 mX, mY; /**< Tile coordinates */
Uint8 mDirection; /**< Facing direction */
@@ -358,14 +360,12 @@ class Being : public Sprite
Uint16 mWeapon; /**< Weapon picture id */
Uint16 mWalkSpeed; /**< Walking speed */
Map *mMap; /**< Map on which this being resides */
- std::string mName; /**< Name of character */
SpriteIterator mSpriteIterator;
Path mPath;
std::string mSpeech;
std::string mDamage;
Uint16 mHairStyle, mHairColor;
- Uint8 mSex;
Uint32 mSpeechTime;
Uint32 mDamageTime;
bool mShowSpeech, mShowDamage;