From 42cd207c4c5f0be387f85f4c89bdcf21929a7f84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 Oct 2015 00:01:32 +0300 Subject: Add script function and packet to set group of cells to given mask (gat value) New script function: setcells "map name", x1, y1, x2, y2, mask, "wall name" --- src/emap/map.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/emap/map.h') diff --git a/src/emap/map.h b/src/emap/map.h index 8f03cf9..f0bf8d5 100644 --- a/src/emap/map.h +++ b/src/emap/map.h @@ -25,5 +25,18 @@ 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); +bool emap_iwall_set2(int m, + int x1, int y1, + int x2, int y2, + int mask, + const char *name); #endif // EVOL_MAP_MAP -- cgit v1.2.3-60-g2f50