diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-02 19:06:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-02 19:06:39 +0300 |
commit | 1fc6228436311da0d70f14176fe47f3e37f6faa6 (patch) | |
tree | 9434c90ab44ac55200daa199f524fa11f3168678 /src/emap/map.h | |
parent | 00d1b8bf9fc3648730904b6f86696417f4445037 (diff) | |
download | evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.gz evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.bz2 evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.tar.xz evol-hercules-1fc6228436311da0d70f14176fe47f3e37f6faa6.zip |
Update function hook prototypes for support new hercules.
Diffstat (limited to 'src/emap/map.h')
-rw-r--r-- | src/emap/map.h | 55 |
1 files changed, 29 insertions, 26 deletions
diff --git a/src/emap/map.h b/src/emap/map.h index 6906af3..fb6d740 100644 --- a/src/emap/map.h +++ b/src/emap/map.h @@ -7,32 +7,35 @@ int emap_addflooritem_post(int retVal, const struct block_list *bl, struct item *item, - int *amount, - int16 *m, - int16 *x, - int16 *y, - int *first_charid, - int *second_charid, - int *third_charid, - int *flags); + int amount, + int16 m, + int16 x, + int16 y, + int first_charid, + int second_charid, + int third_charid, + int flags); void emap_online_list(int fd); -int emap_getcellp(struct map_data* m, - const struct block_list *bl, - int16 *xPtr, int16 *yPtr, - cell_chk *cellchkPtr); -struct mapcell emap_gat2cell(int *gatPtr); -int emap_cell2gat(struct mapcell *cellPtr); -void emap_setgatcell(int16 *mPtr, - int16 *xPtr, int16 *yPtr, - int *gatPtr); -bool emap_iwall_set(int16 *m, - int16 *x, int16 *y, - int *size, - int8 *dir, - bool *shootable, - const char* wall_name); -void emap_iwall_get(struct map_session_data *sd); -void emap_iwall_remove(const char *name); +int emap_getcellp_pre(struct map_data **mPtr, + const struct block_list **blPtr, + int16 *xPtr, + int16 *yPtr, + cell_chk *cellchkPtr); +struct mapcell emap_gat2cell_pre(int *gatPtr); +int emap_cell2gat_pre(struct mapcell *cellPtr); +void emap_setgatcell_pre(int16 *mPtr, + int16 *xPtr, + int16 *yPtr, + int *gatPtr); +bool emap_iwall_set_pre(int16 *m, + int16 *x, + int16 *y, + int *size, + int8 *dir, + bool *shootable, + const char **wall_namePtr); +void emap_iwall_get_pre(struct map_session_data **sdPtr); +void emap_iwall_remove_pre(const char **namePtr); bool emap_iwall_set2(int m, int layer, int x1, int y1, @@ -43,7 +46,7 @@ void map_alwaysVisible_add(const struct block_list *bl); void map_alwaysVisible_delete(const struct block_list *bl); bool map_alwaysVisible_find(const struct block_list *bl); void map_alwaysVisible_send(TBL_PC *sd); -void edo_final_maps(void); +void edo_final_maps_pre(void); void map_clear_data(void); #endif // EVOL_MAP_MAP |