summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.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/resources/itemdb.h
parent76bc1a5c994b46d8a4486a1226f681f7a4982f1c (diff)
downloadplus-311783bebbe2bed366dca5097697ce34c690292d.tar.gz
plus-311783bebbe2bed366dca5097697ce34c690292d.tar.bz2
plus-311783bebbe2bed366dca5097697ce34c690292d.tar.xz
plus-311783bebbe2bed366dca5097697ce34c690292d.zip
Add draw filter (incomplete)
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r--src/resources/itemdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h
index 54e8ceb33..19e36889e 100644
--- a/src/resources/itemdb.h
+++ b/src/resources/itemdb.h
@@ -50,7 +50,7 @@ namespace ItemDB
*/
void unload();
- std::vector<std::string> &getTags();
+ const std::vector<std::string> &getTags();
bool exists(int id);
@@ -63,6 +63,7 @@ namespace ItemDB
const std::map<int, ItemInfo*> &getItemInfos();
+ int getTagId(std::string tagName);
struct Stat
{
Stat(const std::string &tag,