summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorjacksonmj <mj-pt@jacksonmj.co.uk>2012-06-15 12:45:55 (GMT)
committer jacksonmj <mj-pt@jacksonmj.co.uk>2012-06-15 12:45:55 (GMT)
commit36de2f19f57ff056166ae268404f1f3851ea3077 (patch)
tree8cdd41b07b8a037bc26cf5dbde6aa8f43fa7cc82 /includes
parente7fabd8601d75cf3dd85219eafbcb00400ff0502 (diff)
downloadpowder-36de2f19f57ff056166ae268404f1f3851ea3077.zip
powder-36de2f19f57ff056166ae268404f1f3851ea3077.tar.gz
Move INST flood fill into a separate function
Since there were so many if statements for INST in flood_parts. Also, allow INST inside walls to be sparked.
Diffstat (limited to 'includes')
-rw-r--r--includes/powder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/powder.h b/includes/powder.h
index cbab5a2..411d537 100644
--- a/includes/powder.h
+++ b/includes/powder.h
@@ -834,6 +834,8 @@ void create_box(int x1, int y1, int x2, int y2, int c, int flags);
int flood_parts(int x, int y, int c, int cm, int bm, int flags);
+int flood_INST(int x, int y, int fullc, int cm);
+
int create_parts(int x, int y, int rx, int ry, int c, int flags, int fill);
void create_line(int x1, int y1, int x2, int y2, int rx, int ry, int c, int flags);