summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-01-04 00:31:44 +0200
committerAndrei Karas <akaras@inbox.ru>2011-01-04 00:31:44 +0200
commit311783bebbe2bed366dca5097697ce34c690292d (patch)
tree0533581ca605f773a67739efccf75472a4d35dd7 /src/item.h
parent76bc1a5c994b46d8a4486a1226f681f7a4982f1c (diff)
downloadmv-311783bebbe2bed366dca5097697ce34c690292d.tar.gz
mv-311783bebbe2bed366dca5097697ce34c690292d.tar.bz2
mv-311783bebbe2bed366dca5097697ce34c690292d.tar.xz
mv-311783bebbe2bed366dca5097697ce34c690292d.zip
Add draw filter (incomplete)
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index 520028f8f..de19b2937 100644
--- a/src/item.h
+++ b/src/item.h
@@ -24,6 +24,8 @@
#include "resources/itemdb.h"
+#include <map>
+
class Image;
/**
@@ -152,6 +154,8 @@ class Item
static Image *getImage(int id);
+ bool isHaveTag(int tagId);
+
protected:
int mId; /**< Item type id. */
Image *mImage; /**< Item image. */
@@ -162,6 +166,7 @@ class Item
bool mInEquipment; /**< Item is in equipment */
int mRefine; /**< Item refine level. */
int mInvIndex; /**< Inventory index. */
+ std::map <int, int> mTags;
};
#endif