summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking.Defs.inc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-11 15:29:27 +0100
committerHaru <haru@dotalux.com>2016-08-19 21:32:19 +0200
commit654bfa03503da8c5ec86fa0b67baab0e534232a3 (patch)
treec656cb4361c40a4cfbb3443c5ee7a800eb7e25fc /src/plugins/HPMHooking/HPMHooking.Defs.inc
parent86dde2472e4752b44a14e1d37a9b6288c06f3c00 (diff)
downloadhercules-654bfa03503da8c5ec86fa0b67baab0e534232a3.tar.gz
hercules-654bfa03503da8c5ec86fa0b67baab0e534232a3.tar.bz2
hercules-654bfa03503da8c5ec86fa0b67baab0e534232a3.tar.xz
hercules-654bfa03503da8c5ec86fa0b67baab0e534232a3.zip
HPM Hooks Update
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking.Defs.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking.Defs.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking.Defs.inc b/src/plugins/HPMHooking/HPMHooking.Defs.inc
index 4440950a3..3c470e736 100644
--- a/src/plugins/HPMHooking/HPMHooking.Defs.inc
+++ b/src/plugins/HPMHooking/HPMHooking.Defs.inc
@@ -3966,8 +3966,8 @@ typedef int (*HPMHOOK_pre_map_random_dir) (struct block_list **bl, short **x, sh
typedef int (*HPMHOOK_post_map_random_dir) (int retVal___, struct block_list *bl, short *x, short *y);
typedef int (*HPMHOOK_pre_map_cleanup_sub) (struct block_list **bl, va_list ap);
typedef int (*HPMHOOK_post_map_cleanup_sub) (int retVal___, struct block_list *bl, va_list ap);
-typedef int (*HPMHOOK_pre_map_delmap) (char **mapname);
-typedef int (*HPMHOOK_post_map_delmap) (int retVal___, char *mapname);
+typedef int (*HPMHOOK_pre_map_delmap) (const char **mapname);
+typedef int (*HPMHOOK_post_map_delmap) (int retVal___, const char *mapname);
typedef void (*HPMHOOK_pre_map_flags_init) (void);
typedef void (*HPMHOOK_post_map_flags_init) (void);
typedef bool (*HPMHOOK_pre_map_iwall_set) (int16 *m, int16 *x, int16 *y, int *size, int8 *dir, bool *shootable, const char **wall_name);
@@ -4038,8 +4038,6 @@ typedef int (*HPMHOOK_pre_map_readallmaps) (void);
typedef int (*HPMHOOK_post_map_readallmaps) (int retVal___);
typedef bool (*HPMHOOK_pre_map_config_read) (const char **filename, bool *imported);
typedef bool (*HPMHOOK_post_map_config_read) (bool retVal___, const char *filename, bool imported);
-typedef bool (*HPMHOOK_pre_map_config_read_sub) (char **filename);
-typedef bool (*HPMHOOK_post_map_config_read_sub) (bool retVal___, char *filename);
typedef void (*HPMHOOK_pre_map_reloadnpc_sub) (char **cfgName);
typedef void (*HPMHOOK_post_map_reloadnpc_sub) (char *cfgName);
typedef bool (*HPMHOOK_pre_map_inter_config_read) (const char **filename, bool *imported);