summaryrefslogtreecommitdiff
path: root/src/emap/struct
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/struct
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/struct')
-rw-r--r--src/emap/struct/walldata2.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/emap/struct/walldata2.h b/src/emap/struct/walldata2.h
new file mode 100644
index 0000000..781ebb3
--- /dev/null
+++ b/src/emap/struct/walldata2.h
@@ -0,0 +1,18 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 - 2015 Evol developers
+
+#ifndef EVOL_MAP_WALLDATA
+#define EVOL_MAP_WALLDATA
+
+struct WallData
+{
+ char name[50];
+ int x1;
+ int y1;
+ int x2;
+ int y2;
+ int mask;
+ int m;
+};
+
+#endif // EVOL_MAP_WALLDATA