summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-04-16 21:15:38 +0200
committerPhilipp Sehmisch <crush@themanaworld.org>2009-04-16 21:15:38 +0200
commit3fb7414240a4dd48e39f840dc766e2bb29fad41d (patch)
treec7bed086d1c8821d843ae0867dd47b71c74447c3 /src/resources/itemdb.h
parentdac1c9d9b9558053ab9fc96eac8772604b8eedf2 (diff)
parent19469fdabf9f66348da8e10a7187f634d0c0a7b7 (diff)
downloadMana-3fb7414240a4dd48e39f840dc766e2bb29fad41d.tar.gz
Mana-3fb7414240a4dd48e39f840dc766e2bb29fad41d.tar.bz2
Mana-3fb7414240a4dd48e39f840dc766e2bb29fad41d.tar.xz
Mana-3fb7414240a4dd48e39f840dc766e2bb29fad41d.zip
Merge branch 'master' of git@gitorious.org:tmw/mainline
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r--src/resources/itemdb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h
index aa5edab5..2a76eecd 100644
--- a/src/resources/itemdb.h
+++ b/src/resources/itemdb.h
@@ -22,6 +22,7 @@
#ifndef ITEM_MANAGER_H
#define ITEM_MANAGER_H
+#include <list>
#include <map>
#include <string>
@@ -45,6 +46,13 @@ namespace ItemDB
const ItemInfo &get(int id);
const ItemInfo &get(const std::string &name);
+ struct Stat {
+ std::string tag;
+ std::string format;
+ };
+
+ void setStatsList(std::list<Stat*> stats);
+
// Items database
typedef std::map<int, ItemInfo*> ItemInfos;
typedef std::map<std::string, ItemInfo*> NamedItemInfos;