diff options
author | Asheraf <acheraf1998@gmail.com> | 2018-04-17 02:43:16 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-04-19 03:36:02 +0100 |
commit | be90f6c69b6ac54ee83878f603cb9bf733d29d04 (patch) | |
tree | 8ac8294e5b692800bc08853bc55c32dad7b4e478 /src/map/mob.h | |
parent | 7b097da8b433ea3b768b6c306c12801f7ddef0a5 (diff) | |
download | hercules-be90f6c69b6ac54ee83878f603cb9bf733d29d04.tar.gz hercules-be90f6c69b6ac54ee83878f603cb9bf733d29d04.tar.bz2 hercules-be90f6c69b6ac54ee83878f603cb9bf733d29d04.tar.xz hercules-be90f6c69b6ac54ee83878f603cb9bf733d29d04.zip |
Convert mob_skill_db into libconf format
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 2a1a729de..c4469c2fa 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -535,13 +535,15 @@ struct mob_interface { int (*read_randommonster) (void); bool (*parse_row_chatdb) (char **str, const char *source, int line, int *last_msg_id); void (*readchatdb) (void); - bool (*parse_row_mobskilldb) (char **str, int columns, int current); void (*readskilldb) (void); bool (*readdb_race2) (char *fields[], int columns, int current); bool (*readdb_itemratio) (char *str[], int columns, int current); void (*load) (bool minimal); void (*clear_spawninfo) (void); void (*destroy_mob_db) (int index); + bool (*skill_db_libconfig) (const char *filename, bool ignore_missing); + bool (*skill_db_libconfig_sub) (struct config_setting_t *it, int n); + bool (*skill_db_libconfig_sub_skill) (struct config_setting_t *it, int n, int mob_id); }; #ifdef HERCULES_CORE |