summaryrefslogtreecommitdiff
path: root/src/emap/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-16 00:01:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-16 00:02:53 +0300
commit42cd207c4c5f0be387f85f4c89bdcf21929a7f84 (patch)
tree59c38e8d75180a252419af867d747191faa361a2 /src/emap/map.h
parentab731862f899dd87b84613ebf12a82cdc73e094f (diff)
downloadevol-hercules-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.tar.gz
evol-hercules-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.tar.bz2
evol-hercules-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.tar.xz
evol-hercules-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.zip
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"
Diffstat (limited to 'src/emap/map.h')
-rw-r--r--src/emap/map.h13
1 files changed, 13 insertions, 0 deletions
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