summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-19 13:18:23 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-23 02:23:32 +0300
commit6bac8acf3a2a50835465a702b2712634b7fa4c80 (patch)
treea082aa5f878c118e02ff55fbeeca7870514ae5b3 /src/map/itemdb.h
parent32a86ea5bb527ff34d0452d0fe4ede34bde9cde5 (diff)
downloadhercules-6bac8acf3a2a50835465a702b2712634b7fa4c80.tar.gz
hercules-6bac8acf3a2a50835465a702b2712634b7fa4c80.tar.bz2
hercules-6bac8acf3a2a50835465a702b2712634b7fa4c80.tar.xz
hercules-6bac8acf3a2a50835465a702b2712634b7fa4c80.zip
Allow use constants in item_db.conf for int fields.
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index 9a72c64ac..902e6e5e9 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -616,6 +616,7 @@ struct itemdb_interface {
void (*clear) (bool total);
struct item_combo * (*id2combo) (unsigned short id);
bool (*is_item_usable) (struct item_data *item);
+ bool (*lookup_const) (const config_setting_t *it, const char *name, int *value);
};
struct itemdb_interface *itemdb;