summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2019-08-30 23:31:35 +0100
committerAsheraf <acheraf1998@gmail.com>2019-08-31 13:32:15 +0100
commite66f69797332dcaa0ca948287f4f58aad48f66f9 (patch)
treedc21d9029ce21328d4e70c74395db5d3f74da2eb /src/map/itemdb.h
parent307248a5eefca196660c75e06cb6d4d0b84e2c43 (diff)
downloadhercules-e66f69797332dcaa0ca948287f4f58aad48f66f9.tar.gz
hercules-e66f69797332dcaa0ca948287f4f58aad48f66f9.tar.bz2
hercules-e66f69797332dcaa0ca948287f4f58aad48f66f9.tar.xz
hercules-e66f69797332dcaa0ca948287f4f58aad48f66f9.zip
Convert item combo db to use libconfig
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index f66abe066..099a591af 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -666,8 +666,8 @@ struct itemdb_interface {
int (*isrestricted) (struct item *item, int gmlv, int gmlv2, int(*func)(struct item_data *, int, int));
int (*isidentified) (int nameid);
int (*isidentified2) (struct item_data *data);
- int (*combo_split_atoi) (char *str, int *val);
- void (*read_combos) (void);
+ bool (*read_combodb_libconfig) (void);
+ bool (*read_combodb_libconfig_sub) (struct config_setting_t *it, int idx, const char *source);
int (*gendercheck) (struct item_data *id);
int (*validate_entry) (struct item_data *entry, int n, const char *source);
void (*readdb_options_additional_fields) (struct itemdb_option *ito, struct config_setting_t *t, const char *source);