diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-16 00:01:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-16 00:02:53 +0300 |
commit | 42cd207c4c5f0be387f85f4c89bdcf21929a7f84 (patch) | |
tree | 59c38e8d75180a252419af867d747191faa361a2 /src/emap/map.h | |
parent | ab731862f899dd87b84613ebf12a82cdc73e094f (diff) | |
download | plugin-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.tar.gz plugin-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.tar.bz2 plugin-42cd207c4c5f0be387f85f4c89bdcf21929a7f84.tar.xz plugin-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.h | 13 |
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 |