diff options
author | Asheraf <acheraf1998@gmail.com> | 2018-03-21 14:49:50 +0000 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-04-07 17:59:36 +0100 |
commit | 5490645ca9f1f2759e5b38c405340480be362b0f (patch) | |
tree | 7b526407fcaf6a999b66fd4b39777b567af7da41 /src/map/pet.h | |
parent | 6e0a40288326495b97e6e5a1435a624defb8ed92 (diff) | |
download | hercules-5490645ca9f1f2759e5b38c405340480be362b0f.tar.gz hercules-5490645ca9f1f2759e5b38c405340480be362b0f.tar.bz2 hercules-5490645ca9f1f2759e5b38c405340480be362b0f.tar.xz hercules-5490645ca9f1f2759e5b38c405340480be362b0f.zip |
Convert Pet db to Libconfig
Diffstat (limited to 'src/map/pet.h')
-rw-r--r-- | src/map/pet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/pet.h b/src/map/pet.h index 9a0287b42..19e524c16 100644 --- a/src/map/pet.h +++ b/src/map/pet.h @@ -166,7 +166,12 @@ struct pet_interface { int (*skill_bonus_timer) (int tid, int64 tick, int id, intptr_t data); int (*recovery_timer) (int tid, int64 tick, int id, intptr_t data); int (*skill_support_timer) (int tid, int64 tick, int id, intptr_t data); - int (*read_db) (void); + + void (*read_db) (void); + int (*read_db_libconfig) (const char *filename, bool ignore_missing); + int (*read_db_sub) (struct config_setting_t *it, int n, const char *source); + bool (*read_db_sub_intimacy) (int idx, struct config_setting_t *t); + void (*read_db_clear) (void); }; #ifdef HERCULES_CORE |