mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user