summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorAsheraf <acheraf1998@gmail.com>2019-08-26 14:15:03 +0100
committerAsheraf <acheraf1998@gmail.com>2019-08-28 02:04:38 +0100
commit7c88915931bd0ff80bba2db07848519cce92d514 (patch)
treed9ecaeaea557a4a7bd0a847cfd8b12fd1e5ad15d /src/map/status.h
parent307248a5eefca196660c75e06cb6d4d0b84e2c43 (diff)
downloadhercules-7c88915931bd0ff80bba2db07848519cce92d514.tar.gz
hercules-7c88915931bd0ff80bba2db07848519cce92d514.tar.bz2
hercules-7c88915931bd0ff80bba2db07848519cce92d514.tar.xz
hercules-7c88915931bd0ff80bba2db07848519cce92d514.zip
Convert sc_config to use libconfig
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/status.h b/src/map/status.h
index dc7629dea..536003d04 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -50,7 +50,7 @@ struct pet_data;
/**
* SC configuration type
- * @see db/sc_config.txt for more information
+ * @see db/sc_config.conf for more information
**/
typedef enum sc_conf_type {
SC_NO_REM_DEATH = 0x001,
@@ -2387,7 +2387,10 @@ struct status_interface {
int (*natural_heal_timer) (int tid, int64 tick, int id, intptr_t data);
bool (*readdb_job2) (char *fields[], int columns, int current);
bool (*readdb_sizefix) (char *fields[], int columns, int current);
- bool (*readdb_scconfig) (char *fields[], int columns, int current);
+ bool (*read_scdb_libconfig) (void);
+ bool (*read_scdb_libconfig_sub) (struct config_setting_t *it, int idx, const char *source);
+ bool (*read_scdb_libconfig_sub_flag) (struct config_setting_t *it, int type, const char *source);
+ bool (*read_scdb_libconfig_sub_flag_additional) (struct config_setting_t *it, int type, const char *source);
void (*read_job_db) (void);
void (*read_job_db_sub) (int idx, const char *name, struct config_setting_t *jdb);
void (*set_sc) (uint16 skill_id, sc_type sc, int icon, unsigned int flag);