diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-18 20:18:28 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-18 20:18:28 +0000 |
commit | 7a4efbb335f5dae02f4ae033d47622acac865149 (patch) | |
tree | abf67031aa7880b5ec3aaf4ddf65b0c6c2cd2461 /src/resources/iteminfo.h | |
parent | 220bae4d7871a5f9ce6a129d48aaf2bb0eb69d86 (diff) | |
download | mana-7a4efbb335f5dae02f4ae033d47622acac865149.tar.gz mana-7a4efbb335f5dae02f4ae033d47622acac865149.tar.bz2 mana-7a4efbb335f5dae02f4ae033d47622acac865149.tar.xz mana-7a4efbb335f5dae02f4ae033d47622acac865149.zip |
Removed unused slot field.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r-- | src/resources/iteminfo.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index 4cab66fa..d6c43198 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -54,7 +54,6 @@ class ItemInfo mType(0), mWeight(0), mView(0), - mSlot(0), mAttackType(ACTION_DEFAULT) { } @@ -102,12 +101,6 @@ class ItemInfo void setView(int view) { mView = view; } - void setSlot(char slot) - { mSlot = slot; } - - char getSlot() const - { return mSlot; } - void setSprite(const std::string &animationFile, int gender) { mAnimationFiles[gender] = animationFile; } @@ -134,12 +127,11 @@ class ItemInfo std::string mName; std::string mDescription; /**< Short description. */ std::string mEffect; /**< Description of effects. */ - short mType; /**< Item type (never used). */ + char mType; /**< Item type. */ short mWeight; /**< Weight in grams. */ int mView; /**< Item ID of how this item looks. */ // Equipment related members - char mSlot; /**< Equipment slot. */ SpriteAction mAttackType; /**< Attack type, in case of weapon. */ /** Maps gender to sprite filenames. */ |