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.
This commit is contained in:
jacksonmj
2012-06-15 13:45:55 +01:00
parent e7fabd8601
commit 36de2f19f5
3 changed files with 152 additions and 97 deletions

View File

@@ -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);