diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-26 10:12:14 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2006-11-26 10:12:14 +0000 |
commit | 78f7e290e46e6084bc51023ae3c8619b0695b7b6 (patch) | |
tree | 86c72dc0e278ba3a49565284d8d58755ed61b31f /src/being.h | |
parent | eb6a3dfd09f88414ba1bae9ffe1cf4440db7565d (diff) | |
download | mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.gz mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.bz2 mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.tar.xz mana-client-78f7e290e46e6084bc51023ae3c8619b0695b7b6.zip |
Equipment database namespace and support for gender specific equipment sprites
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.h b/src/being.h index 362fa393..3c497b75 100644 --- a/src/being.h +++ b/src/being.h @@ -189,7 +189,7 @@ class Being : public Sprite * Sets visible equipments for this being. */ virtual void - setVisibleEquipment(Uint8 slot, Uint8 id); + setVisibleEquipment(Uint8 slot, int id); /** * Sets the sex for this being. @@ -333,7 +333,6 @@ class Being : public Sprite getYOffset() const { return getOffset(UP, DOWN); } std::auto_ptr<Equipment> mEquipment; - int mVisibleEquipment[6]; /**< Visible equipments */ protected: /** @@ -372,6 +371,7 @@ class Being : public Sprite Sint32 mPx, mPy; /**< Pixel coordinates */ std::vector<AnimatedSprite*> mSprites; + std::vector<int> mEquipmentSpriteIDs; }; #endif |