summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-16 12:10:25 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-16 12:13:54 -0600
commitb04dd091b9f9e2ff366fc3a5882289df72e2efd9 (patch)
tree7033bc4ffc8bbe9f3d0c887198a3c6fe067f1a21 /src/resources/itemdb.h
parent255c491375005abb1d2de22fa5aa1a821ac3a4f6 (diff)
downloadmana-b04dd091b9f9e2ff366fc3a5882289df72e2efd9.tar.gz
mana-b04dd091b9f9e2ff366fc3a5882289df72e2efd9.tar.bz2
mana-b04dd091b9f9e2ff366fc3a5882289df72e2efd9.tar.xz
mana-b04dd091b9f9e2ff366fc3a5882289df72e2efd9.zip
Remove last support #ifdef in the resource code
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;