diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-03 16:47:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-03 16:47:05 +0300 |
commit | a829088c61f04645794bf829a62aa8e3c06a7aa2 (patch) | |
tree | 52f0b1bf9ea4a629db8ad5caa58f79cb9e7d70e9 /src/map/skill.h | |
parent | 2d4789d60861e498e11aca0f22ebb61014c488f1 (diff) | |
download | hercules-a829088c61f04645794bf829a62aa8e3c06a7aa2.tar.gz hercules-a829088c61f04645794bf829a62aa8e3c06a7aa2.tar.bz2 hercules-a829088c61f04645794bf829a62aa8e3c06a7aa2.tar.xz hercules-a829088c61f04645794bf829a62aa8e3c06a7aa2.zip |
Add some missing functions in skill.c into interface.
Diffstat (limited to 'src/map/skill.h')
-rw-r--r-- | src/map/skill.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/skill.h b/src/map/skill.h index c37f9ec41..c7761b082 100644 --- a/src/map/skill.h +++ b/src/map/skill.h @@ -2056,6 +2056,9 @@ struct skill_interface { void (*validate_unit_flag) (struct config_setting_t *conf, struct s_skill_db *sk); void (*validate_additional_fields) (struct config_setting_t *conf, struct s_skill_db *sk); bool (*validate_skilldb) (struct s_skill_db *skt, const char *source); + int (*validate_weapontype_sub) (const char *type, bool on, struct s_skill_db *sk); + int (*validate_ammotype_sub) (const char *type, bool on, struct s_skill_db *sk); + int (*validate_unit_flag_sub) (const char *type, bool on, struct s_skill_db *sk); bool (*read_skilldb) (const char *filename); void (*config_set_level) (struct config_setting_t *conf, int *arr); void (*level_set_value) (int *arr, int value); |